Chkconfig Installation
In the beginning, because of the raspbian reason, the system is not brought chkconfig this command,
root@raspberrypi:~# Chkconfig-bash:chkconfig:command not found
So you have to install it manually.
Installation is very
WordPress University in the last few days the server environment is not very stable, CPU occupancy is always 100%, toss several times did not find the reason, had to consider the reconfiguration of the environment, considering the configuration and
The current network often encounters all rows that match to a keyword and merge to the same line, again matching to the relevant keywords and the following merge, examples are as follows:
# line1AB# line2CDE# Line3FWant to become:
# line1 A B#
Nginx's default virtual host takes effect when a user accesses through IP or through a domain name that is not set (such as when someone points his own domain name to your IP).
For example, when someone accesses your website via IP or unknown
Linux Default login mode is the account and password login, if you change to use a key to log in will be relatively safe, but the key to landing a good and bad, want to login VPS must carry a key file, if modified the default root username also need
Install Tcpdump
The code is as follows
Copy Code
# yum Install tcpdump
There is a comment #diy in the script, which means that the next line needs to be custom modified.The scripts are placed in the home
When we publish a version, we usually start with a label in the repository, so that we have the only one that determines the time of the tag. Whenever you take a label version, you take the historical version of the label moment. Therefore, the
Nginx is actually just a reverse proxy server that receives the request to see if the current request is a. php file and, if so, to the php-fpm for processing, and then to the user after the result is obtained. So there are two permissions to
In the process of helping customers maintain the site environment, often need to back up the original data, the faster way is directly through SSH transfer files to other FTP space, note the method steps:
Suppose the directory to be backed up
1. Add disk to view disk status
The code is as follows
Copy Code
[ROOT@DB1/]# Fdisk-l disk/dev/sda:10.7 GB, 10737418240 bytes 255 heads, Sectors/track, 1305 cylinders Units = Cylinders of 16065 * 8225280 bytes Device
The difference between Yum and rpm
RPM is a package management method developed by Red Hat Company, we can easily install, inquire, uninstall and upgrade the software by using RPM. But the problem of dependency between RPM packages is often
Requirements: Content on a server, scheduled daily backup to remote disaster-tolerant server. To save space and improve transmission efficiency, use incremental backups.Expansion requirements: Two servers in real time one-way, bidirectional
Delete folder: RM-RF [Folderdir]
Copy folder: CP-RF [Srcdir] [Dstdir]
Linux Delete files, the folder is mainly used in the command is RM, the following will be a simple introduction to the Linux RM command.
Grammar:
RM [Options] DirName
The
Modify Linux VPS ssh 22 port to unlock the annoyance of SSH explosion, check the log will find a lot of
The Linux login log is in the following directory:
Cd/var/log
To view the login log for an SSH user:
Less secure
Linux Log Management
If a
Whereis find specific files for system commands
1. Command format
WHEREIS-BMSU search string-b:binary only binary files-m:manual Search for manuals-related files only-s:source only search the original code files-u:unusual A special file, this
Today to the Company by convention to check the status of all servers, found that the memory of a server is much larger than usual, the following figure
Immediately QQ asked the next program development whether the last 1-2 days changed something,
The MV command is the abbreviation for move, which can be used to move files or rename files (rename), which is a common command under Linux, often used to back up files or directories.1 command format:MV [option] original file or directory
1. How can I know what version of linux I am using? The following methods will give you the answer!1. Run the following command to view the kernel version:1) [root @ q1test01 ~] # Cat/proc/versionLinux version 2.6.9-22. ELsmp
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service