The firewall is divided into kernel State and user state:Iptables is a user-stateThe NetFilter is a kernel-stateIptables Integrated Language method:IPTABLES-T table name [ options ] link name condition -j ActionIptables-t
Linux TelnetThe Linux system is a remote login function implemented via the SSH service. The default SSH service opens Port 22, and when the system is installed, the service is installed and started on boot. So no additional configuration is
Assuming you already have sudo access to the user account, below, formally start the installation.First step, install git :For Ubuntu or Debian$ sudo apt-get install gitfor Centos 更新一下 yum 源yum list git 查看可安装版本yum install git 安装The second step is to
1. Function: Copy files or directories2. Usage:CP [OPTION] ... [-T] SOURCE DEST Copy the file to another file;CP [OPTION] ... SOURCE ... Directory to copy files to the directoryCP [OPTION] ...-t DIRECTORY SOURCE:3. Parameters:-A,--archive, quite
To forget the password for the root of the Linux system Superuser, you need to enter the standalone mode:
Restart the system, while reading the second, press E to enter grub mode;
Select Current system, press E to edit, you can see as shown:
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
There are many shortcut keys on the Linux command line, such as ctrl+l can clear the screen, CTRL + C can interrupt the command, CTRL + Z can pause the command and so on, after mastering these shortcuts, you will find it easier and easier to use the
von Neumann system 1 input device -"2 memory (memory)-"3 Operator -"4 controller -"5 output deviceLinux Common environment variables:( same environment variable name for different users but different content )1. Path command search paths Export
Linux system dual NIC binding:Be sure to back up the configuration file before you do a dual NIC binding!Linux system NIC configuration file location:Cd/etc/sysconfig/network-scriptsCP Ifcfg-eth0 IFCFG-BOND0For example, we need to bind the NIC is
Linux Management of logsLOG: Records almost all of your operating records, for the system audit, troubleshooting. Log files are permanently stored in the log directory, and the system log is stored in/var/logRsyslog all logs to the/var/log directory
Pre-deployment preparation;Nginx Installation Reference Other blog postsThis article is for mysql+php onlyIptables and SELinux do not configure, turn offSystem CD as Yum source, configure Yum fileGet the source package from the network, the IP
1. ctrl+alt+enter: You can make the virtual machine full screen.2. Tab key : command and directory completion. Click Auto-Complete, and double-click to list all commands or directories that you can complete.3. CD: change DirectorySimplified:CD ~ (or
Preparation before installation:This article does not set iptables and SELinux, turn offEnsure that the agent hosts the internetDownload Source Package squid-3.4.6.tar.gzEnvironment Introduction192.168.100.150 for proxy Server, 192.168.100.151 for
There are two possibilities for Linux to view disk space consumption through the command df-h, in fact, to view the disk block occupied by the file (block) Df-ih View index node occupancy (inodes) One, facing the disk full, the following command to
In Learning computer knowledge, we know a lot of operating systems, common such as Windows,ios,android,linux,With the depth of learning we are now starting the study of Linux, because it is not very familiar with this aspect, so we should start from
changing the root password sometimes occurs when you forget the root password, and again we can reset the root password by entering single user mode and then restarting the login. Specific process: 1. Log in to the root user (the password is known),
1, in the Linux environment has a variety of different colors of the file, which usually represents the following meanings:1) Blue indicates directory2) green indicates executable file3) light blue indicates linked file4) gray means other files5)
Linux Shell Environment is very useful, very convenient. Can you continue this usage on Windows?1. command line tool preparationgit for Windows from Http://www.git-scm.com/download/win, after installation extract everything (directory
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