Iptables detailed configuration tutorial in CentOS

If you do not know the basic knowledge about IPTABLES, we recommend that you first check it out. configure a filter table firewall. (1) view the settings of IPTABLES on the local machine [root @ tp ~] # Iptables-L-nChainINPUT (policyACCEPT)

Configure iptables to open port 80

Iptables-F // clear rules iptables-AINPUT-ptcp -- dport22-jACCEPT/* allow packets from port 22 into */iptables-AOUTPUT-ptcp -- sport22-mstate -- stateESTABLISHED-jACCEPT/* allow from 22 port entry package return */iptables-AOUT Iptables-F // clear

Use of Vim advanced commands

[Keywords] Vims command g command file format encoding method [abstract] This article summarizes Vim's s command and g command, as well as file line feed format and edit format conversion command. 1. s command if a text editor does not support

How to automatically mount Windows partitions in Ubuntu

The following describes how to automatically mount windows partitions under ubuntu5.10: after each boot, the system automatically mounts windows partitions. (Take my system as an example) first, run the command on the terminal:

Ubuntu Mobile OS image and text

What does this "Black Rabbit" look like? What does Ubuntu mean by entering the smartphone market? What functions will Ubuntu bring to mobile phones? What is the difference between this and UbuntuforAndroid? The Ubuntu system developer Canonical

Configure the PHP environment and install LNMP in CentOS6.4 system

1. download rmpforge from pkgs.org. Rpmforge is a third-party yum source. Select a version to download and install. // After the installation is successful, clear yumlist and obtain [root @ pangouDesktop] # yumcleanallLoadedplugins: fastestmirror,

Linuxbash array variable reading method

We recommend that you use $ {array} to read the variable www.2cto. comeg. declare-aarray [3] array [1] qarray [2] warray [3] e directly execute echo $ array [1] and the result is [1] echo $ {array [1]} The result is q. For the linux bash array

Recent linux commands grep, awk, cut, uniq, wc Practical Application examples

Recently, the linux commands grep, awk, cut, uniq, wc are used to calculate the number of players who use commands every day. comgzip-c-dnohup.out. 'date + % Y % m % d '*. gz | grep/web/api/logic/logicDispatcher | awk & amp; #39; {FS & quot; &

Clone creation of linux processes and threads

Linux process and thread clone create Java code www.2cto.com [B] Linux process and thread creation are achieved through clone. the clone function is powerful and has many parameters. clone allows you to selectively inherit the resources of the

Modify the root password of Ubuntu and allow only certificate login settings

Ubuntu: change the root password and allow only certificate login settings 1. modify the root password www.2cto. comJava code 1. sudopasswd2.Password: 3. EnternewUNIXpassword: 4. RetypenewUNIXpassword: 5. pa... Ubuntu allows you to change the root

Concept of disk IOPS and calculation of IOPS

The concept of disk IOPS and the concept of IOPS (Input/OutputPerSecond) is the Input output per second (or read/write count), which is one of the main indicators to measure disk performance. IOPS refers to the number of I/O requests that the system

Set the timeout value for ssh

Ssh timeout settings solution: 1. modify the etc/ssh/sshd_configClientAliveInterval60 # The server sends a request to the client every 60 seconds, and then the client responds to the request, so as to keep the connection to www.2cto.

How to mount a Synology NFS shared folder on Centos

How to mount an NFS shared folder of Synology on Centos? why do we need to Mount NFS of Synology? we don't want to use Rsync for synchronous backup. The current configuration of www.2cto.com is to mount an NFS shared folder of Synology on Centos,

How to mount the optical drive and ISO files on AIX

How to mount an optical drive and an ISO file to an optical drive on AIX: mount-rvcdrfs/dev/cd0/mntwww.2cto.com to an old system to mount an ISO File: First, create a bare device of the same size as the iso file. # Mklv-yis0_lvdatavg10 second: Use

Development Environment setup in Linux

Linux development environment setup recently, the younger brother tried to download the Linux development environment and set up the Linux commands. this really makes setting up the Linux environment easier. next I will introduce some simple

Common commands for viewing logs in Linux

Common commands for viewing logs in Linux systems because in daily work, it is the habit of every administrator to view logs when a problem occurs. as a beginner, for future needs, I will share the following command to www.2cto today. description of

/Dev/null2> & amp; 1 details

/Dev/null2 & gt; & amp; 1 today, a friend suddenly saw the following content in his own Linux maintained:/var/spool/cron/root: www.2cto. com3019 ***/usr/bin/** dcon. sh & gt;/dev/null2 & gt; & amp; 15923 ** 1-7/home /... /Dev/null 2> & 1 details

Tcpdump and wireshark

In Linux, the packet capture tool tcpdump and the analysis package tool wiresharkTcpdump are used. (1) The first type of keyword mainly includes host and net, port such as host210.27.48.2, indicating that 210.27.48.2 is a host, net202.0.0.0

Crontab and the server synchronization time every 15 minutes

Crontab: crontab permission: syntax of the root user and the owner of the crontab file: crontab [-e [UserName] |-l [UserName] |-r [UserName] |-v [UserName] | File... crontab: crontab permission: syntax of the root user and the owner of the crontab

DNS service/etc/rndc. keywasfound solution

DNS service/etc/rndc. keywasfound solution after the dns service is configured in RHEL6, the following problems may occur. rndc cannot find the key, and the named service runs normally. In fact, it can also be used, however, based on the principle

Total Pages: 2732 1 .... 328 329 330 331 332 .... 2732 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.