1. Install Iptables
Many Linux have been installed by default iptables, you can use the following view command to test whether to installCentos/redhat under Execution:
Yum install Iptablesdebian/ubuntu under execution:
Apt-get Install Iptables
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit, you can replace, delete, add, select and other specific work.
Grammar
sed [-options] ' command ' filenameOptions
-N: Use Quiet (silent) mode. In
In the Linux server deployment timing tasks, often use crontab, mainly for the execution of Web site timing scripts, system maintenance, backup timing tasks, this article describes crontab deployment tasks and commands
The Linux system uses crontab
Many of the packaged Web applications have the shadow of SVN, which is left in many directories with an. svn file. Although these files are not intended to affect the normal functioning of the web, it is best to remove this like. svn file to prevent
The following is how to view the kernel version, kernel specific information, Linux version information.
Cat/proc/version
Lsb_release-a
Uname-a
Cat/etc/issue
Cat/etc/redhat-release
1, Cat/proc/version
Linux version 2.6.18-194.el5
The top command is a commonly used performance analysis tool under Linux to display the resource consumption status of each process in real time, similar to the Task Manager of Windows. The following is a detailed description of how it is used.
Shutdown command:
1, halt immediately shut down the machine2, Poweroff immediately shut down the machine3, Shutdown-h now shut down immediately (root user use)4, shutdown-h 10 10 minutes after automatic shutdownIf you are setting the shutdown via
1. Query the database character set firstSql> Select Userenv (' language ') from dual; USERENV (' LANGUAGE ')----------------------------------------------------American_america. Al32utf8sql> exitLearn from the above that the database character set
RPM Package Naming rules:Example: httpd-2.2.15-15.el6.centos.i686.rpmHTTPD Package Name2.2.15 software version15 Number of software releasesEl6.centos the right Linux platformi686 the right hardware platformRPM Package Expansion NameRPM Command
Comrade Ronaldinho wrote well, get a list. Linux learning CentOS (36)--ftp Service principle and VSFPTD installation and configurationxiaoluo501395377 2013-06-09 01:04 read: 5665 comments: 8Linux learning CentOS (35)--Configure domains from DNS
Linux basic commandsCommands are case sensitiveUse the TAB key to complete the remaining parts of the commandUsing the Help manual: Find--helpWhether program files or shell scripts can be executed regardless of file name extension, related to file
1 read-only permission, R (Read): Can read the file or list the contents of the directory2 writable permission, W = (write): can delete files or directories3 executable permissions, denoted by X (execute): Executable files can be executed; access to
Reprint Description:FirstOriginal address: http://www.cnblogs.com/autum/archive/2012/10/12/linuxmalloc.htmlWhy do I need to use virtual memoryAs you all know, the code and data that the process needs to use are in memory, much faster than in
When executed, you can add & to the background to execute it at the end of the command, but its output is still displayed, and its run is bound to the current shell.If the script is already running, you can use Ctrl-z to pause, then use BG to move
(1) File search: Find-name according to the file name, * matches any character,? Single character-iname based on file name, case insensitive-size based on file size lookup (+ greater-than-less) (-A and-O or)-user based on owner lookup-group based on
What is the difference between a system and a four-position system? 1. different design intentions:the first-level system is considered as a normal user design;the system is for scientific operations and large operations. 2. Configure differentthe
1. Remote Tools2. File permissionsCommon such as-rw-r--r--drw-r--r--, the first representation of file type (-file, D directory, l soft link file)Back three represents U G O,u owner, G belongs to group, o other person R Read W write X Execute3.
Previously described under Linux SendMail and SendEmail mail system environment deployment, today describes the environment deployment process using Mutt to send mail.Mutt This software, it is a text-based interface of the mail client, is a powerful
Linux naming:1 No more than 255 characters2 Strict case sensitivity3 except/Outside, the other characters are legalNOTE: 1) Avoid the first character of the file name using +-. (Avoid and hide file confusion)2) Avoid file names using spaces, tabs,
Redhat7.3 configure the 163 yum source and redhat7.20.3yum Source
The redhat update package only takes effect for registered users, so we need to manually change it to the CentOS update package. CentOS is almost the same as redhat, so we don't have
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