First of all, we seem to have a common feeling about website publishing: Just three or four steps, just a few points, it's easy to remember.However, after clicking OK, success is successful, but not successful. We don't seem to have any way, try again or again the same as usual.Here is a little unsuccessful solution, at least on my machine is to solve the problem.Necessary conditions:To enable IIS on the machine (in the "Turn Windows feature on or off
The programs we write may require a large number of database operations. Databases are often the cause of bottlenecks.
Opening query statement caching is also a strategy to optimize MySQL.
MySQL is a common database for our development programs. It has the ability to cache common query statements in memory, so that when a given query statement is invoked again, MySQL will immediately return it from the cache. However, in most MySQL, this feature is disabled by default. To
The example in this article summarizes how the C # implementation enables and disables the local network. Share to everyone for your reference, specific as follows:
1) using Hnetcfg.dll
Using Add Reference, import Hnetcfg.dll into the project, generate 3 references, mainly using Netconlib.
In the project to be using Netconlib;
Here is the implementation code:
Netsharingmanagerclass netsharingmgr = new Netsharingmanagerclass ();
inetsharingeveryconnectioncollection connections = netsh
Enable automatic backup feature
The database may become unusable due to a large number of hardware or software failures. Automatic database backup reduces DBA database backup management tasks, and it always ensures that the database performs the most recent full backup when needed, and it is necessary to note that automatic backups are full, not incremental or differential.
We then enable automatic backup
Note: Enable Swift before adding a zone and secondary storage.
Find global settings after logging into the admin console search in search: Swift
Then edit to change the value of false to true and restart the service for the Management Server
Add the area again yesterday: Enable the Swift button:
Provide Swift's account number:
This article is from the "Shadow Knight" blog, please be sure to keep
Try:
The memcache_compressed compression option in the Phpmemcache_set () function is enabled, and Memcache_get () can automatically decompress the compressed cache object during subsequent reads.
Effect:
Test, for the current application of blog bus, to enable compression, the same capacity (2G) storage of the number of objects increased by about one times, cache hit rate from about 50%, raised to about 60%. Further improve the hit rate hardware i
disable firewall and install iptables via yum:
Systemctil disable Firewalld
yum install-y iptables-services
start Iptables
Systemctl start iptables
You can view the status by Systemctl status Iptables after startup. Change the iptables rule to back up the Iptables file:
Cp-a/etc/sysconfig/iptables/etc/sysconfig/iptables.bakSet INPUT direction all requests are rejected
Iptables-p INPUT DROPRelease the desired port
Iptables-i input-p TCP--dport 80-m State--state new-j ACCEPT
iptables-i input-p
We all know that SQL Server has two types of logon authentication, SQL Server authentication and Windows authentication, but SQL Server defaults to how Windows logon authentication works, how do we enable SQL How does the server and Windows hybrid validate and log in successfully? The following will be announced.steps to readTools/Materials
SQL Server 2008
Steps/Methods
1Open and log on to SQL Server 2008 with the default Windows aut
Tags: transaction prompt ACK Directory status complete Alter shouldhttp://blog.csdn.net/mss359681091/article/details/51726823 The problem encountered last night also knows that the notifications service relies on the underlying Service broker. I thought it was only possible to execute the following script to enable Service Broker for the database. ALTER DATABASE DBNAME set Enable_broker However, after execution, the script has been in the execution st
1. PrefaceWe originally used LNMP to configure a Linux + nginx + mysql + PHP + Apache operating environment.The MySQL version information we use here is: 5.5.42In the foreign key operation, we know that the default MyISAM is not supported. Need to use InnoDB.2. Turn on the InnoDB engineOnline, MySQL 5.6 default engine has become InnoDB, but the previous use of MyISAM as the default engine.show engines;It can be found that there is a INNODB field, but support is no, indicating the need to configu
$ php composer.phar install loading composer Repositories with package informationinstalling dependencies (including require -dev) from lock file warning:the lock file is date with the latest changes in
Composer.json. Getting outdated dependencies. Run update to update them. Your requirements could not being resolved to an installable set of packages. Problem 1 -The requested PHP extension ext-pdo_sqlite * is missing from your system. Install or
Recently engaged in a VPS, with Putty landing every time to enter the root account password, more trouble, so the internet to find the SSH certificate method.In fact, this should be the Putty recommended authentication method.1. Generate the key using the Putty SSH key generation tool Puttygen.exe.Generated key type and number of bits by default, SSH-2 rsa,1024 bitSave the private key to local, you will be prompted to save the private key to set a password, no password more convenient.2. Configu
Today, when testing the PS script, it occurred to me that the script should be executed automatically every day, because before having done bat's experience, I thought, this is not simple, directlyDo you want to create a task in a scheduled task in Windows? So it was a test, and it turned out to be tragic, the PS1 suffix script cannot be executed directly in the scheduled taskWell, only to find the mother of the horse, so find this method, their own record1: My side wrote a simple script to get
@EnableXXX: Can be used to replace some configuration in the XML configuration, the annotated class, where the method is @bean labeled, generally used to return and enablexxx XXX related bean,bean generally have XXX related annotationsAt the same time, more advanced, spring generally has a xxxconfigurer interface, in the annotated class @enablexxx, implement the interface, rewrite interface Chinese law (Xxxregistrar xxxregistror), can achieve more powerful registration functionSpring Annotations
Code by Shaoyongyangpackage mainimport ("FMT" "Time") Func say (s string) {Fmt.Println (s)}func main () {go say ("Who is?") Go say ("Who is You?1") fmt. PRINTLN (2) time. Sleep (1E9)}Well, I've been thinking about why there is no output in the Say method, and after a lot of data is found, it is because the program has finished running and the thread that started is still running. Add the thread sleep time to the last face.Enable a thread just go say ("See I am New thread"), just use the GO keywo
mode (about permissive mode is described below)If you want to resume running SELinux, you can run1This command will set SELinux to enforcing mode.2. Permanently set SELinux to permissive modeHere you need to tell the difference between the permissive and enforcing modes. SELinux has three modes: enforcing, Permissive and Disable.Enforcing mode is the policy that is set by SELinux, and all rules that violate policy will be rejected by SELinux.The difference between permissive and enforcing is th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.