Starting the system as fast as possible is very important for automation equipment. The system is able to start at a time that the user cannot perceive, which means that the power supply can be completely disconnected when no work is needed, rather
Jpegotim compression jpg pictureInstall JpegotimIf you have a epel yum source, use the following command
The code is as follows:
# yum Install Jpegoptim
Compress picture Commands
The code is as follows:
#
History
The history command can be used to display commands that have been executed, or to perform the required commands according to the treatment shown
N shows n recent records-A Add records-R reads records but does not add content records-W
The steps are as follows:
1:yum install-y Subversion2:svnserve–version3:
[Root@singledb ~]# MKDIR/U02/SVN[Root@singledb ~]# svnadmin create/u02/svn/repos2–davesvn for version library name
4: Configure these 3 files, all to configure!
After you
PHP in these environments under Linux has also been a lot of times, every reload to find these documents, memory is not good, or to organize their own.
Nginx Installation
# yum-y Install gcc* pcre glib2-devel openssl-devel pcre-devel bzip2-devel
Let's take a look at free
[Root@localhost ~]# Free-mTotal used free shared buffers Cachedmem:32160 14212 17947 0 216 12096-/+ buffers/cache:1899 30260swap:8189 0 8189
32G of memory, but only the allocation of 8G swap, in the actual production
Installing Samba
Yum Install samba*
Modify Samba Configuration
Vim/etc/samba/smb.conf
#在homes后添加 (explain that the web in the Web is also the name that was later mapped in Win7)
[web]Path =/databrowseable = yeswritable = yes
Add Samba user SMB
The simplest indicator of the recent abrupt cleanup of idle servers is, of course, the number of servers that have not been logged in recently. When you log on to the server, init, TTY, and so on will log login and logout information to
viewing disksDf-hView the size of the file folder under the current directory.Du-sh *
viewing system CPUsTop then press "1": you can see how many nuclear CPUs there areFree-m See how much memory there is.
View 2743 thread-occupied handles/usr/sbin/
If you are logged in as root, modify the root password. Just enter
The code is as follows
Copy Code
passwdwill appear:New Password:Retype new Password:
Press the prompt to confirm the password.If you want to
One, the partition mounts, the following operation will divide the data disk into a partition to use.
The code is as follows
Copy Code
1, view the data disk
You cannot see the data disk until
Several concepts:
1. Regular expressions extended by basic regular expressions (composed of ordinary characters + metacharacters)2. Wildcard (composed of ordinary characters + meta characters)3. Meta character
Note: The meaning of the
Deletes the specified file in the specified directory
Find the directory name-name. SVN |xargs RM-RF
Delete a file or folder with the specified name: Find-type d | grep. svn$ | Xargs Rm-r
Analysis:
Find-type D | grep. svn$ This command to find
1, adduser add users. Root permission is required to perform OH.
1. Role
The Useradd command is used to establish user accounts and create a user's starting directory, which is superuser.
2. Format
Useradd [-D home] [-s Shell] [-c comment] [-m
VI is divided into three modes, namely "General mode", "edit mode" and "Command line command mode".
L General mode: VI processing files, the first entry to the file is a general mode. In this mode, you can use the "up or down" key to move the
Let's take a look at the load map.
For half a day. Some optimizations are made:The number of visits is not that high when the optimization is complete. So I don't know what the effect is. Let's see how it works.[Root@localhost ~]# Netstat-an | grep
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