Common examples of iptables in Linux

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

VPS Linux System installation memcached steps

First go to the official under the latest version of Memcached (memcached-1.4.22.tar.gz) and dependent package libevent (libevent-2.0.21-stable.tar.gz): http://www.memcached.org/files/ http://libevent.org/ There are two more PHP expansion packs:

Automatically sync updates to Web site directory after SVN submits files in Linux

Sometimes it can be cumbersome to upload to a server for multiple files, but if you use the SVN hook script it is easy to implement the local SVN submission, automatically synchronize the code files to the remote server's Web site directory without

Linux iptables startup script

Before we look at the code, we're going to get some commands. Iptables Open and close 1) effective after reboot The code is as follows Copy Code Open: Chkconfig iptables onClose: Chkconfig iptables off 2)

View Linux version information commands detailed

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

Linux under the DF command to use the detailed

The DF command is used to view the system's space and inode usage, and is also one of the common commands in System management and shipping dimension. -a,–all displays all file systems, including local and mounted network file systems-b,–block-size=

Linux view the port is occupied process

Sometimes, there is no problem on the server, but the site is not open, or the MySQL service is started, but not connected, restart in accordance with the still. This is the time to consider whether the port is occupied, or because of software

Linux shutdown and restart command detailed

Linux CentOS reboot Command: The code is as follows Copy Code 1, reboot2. shutdown-r now reboot (root user)3, Shutdown-r 10 over 10 minutes automatic restart (root user use)4, Shutdown-r 20:35 reboot at 20:35 time (root

How to use the Linux stat command

Stat displays inode content in text format.SyntaxStat [file or directory]InstanceTo view the inode content of the testfile, run the following command:# Stat testfileRun the preceding command to output the result:# Stat testfile # enter the

How to use the Linux quota command

Run the quota command to query the disk space limit and learn how much space is used.SyntaxQuota [-quvV] [user name...] or quota [-gqvV] [group name...]Parameter description: -G is used to list the disk space limits of a group. -Q: A Concise

How to use the Linux mkdir command

The Linux mkdir command is used to create a subdirectory named dirName.SyntaxMkdir [-p] dirNameParameter description: -P: make sure that the directory name exists. If the directory name does not exist, create one.InstanceCreate a subdirectory

How to use the Linux edquota command

By default, edquota uses vi to edit the disk quota settings of users or groups.SyntaxEdquota [-p ] [-ug] [user or group name...]OrEdquota [-ug]-tParameters: -U sets the user's disk quota, which is a preset parameter. -G: Set the disk quota of

Linux wc command details how to use Linux wc command

The wc command can be used to calculate the number of bytes, number of words, or number of columns of a file. If the file name is not specified, or the given file name is "-", the wc command reads data from the standard input device.SyntaxWc [-clw] [

How to use the Linux mtype command

Mtype is the mtools tool directive that simulates the type directive of the MS-DOS to display the content of the MS-DOS file.SyntaxMtype [-st] [file]Parameter description: -S removes the first bit of the 8-bit ASCII code set and makes it

Linux gzip command details how to use Linux gzip command

The pnux gzip command is used to compress files.Gzip is a widely used compression program. After a file is compressed, its name will be followed by an extension of ". gz.SyntaxGzip [-acdfhlLnNqrtvV] [-S ] [-] [-- best/fast] [file...] or gzip

How to use the Linux mtools command

Total Pages: 5467 1 .... 3996 3997 3998 3999 4000 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.