First speaking LinuxFirst, installationVMware virtual MachinesCentOS 7...isoVirtual machine New Linux-centos virtual machineAdding ISO discs to the virtual machine CD driveStart the installation* Minimum (NO)* Minimum Network Service (recommended)*
NetFilter Iptables Application ExampleOne filter table case1 Requirements: For the filter table only, the default input chain drop, the other two links accept, and then forThe 192.169.188.0/24 opens 22 ports and opens 80 ports and 21 ports for all
First, iptables filter table CaseRequirements: Release 80, 20, 21 ports, specify a specific IP for 22 portsHere's how to do it:vim/usr/local/sbin/iptables.sh//Add the following:#! /bin/bashipt= "/usr/sbin/iptables"//define a variable, write iptables
First, configure the software warehouse1.yum IntroductionInstallation and deployment mechanism based on RPM software packageautomatically resolves dependencies for packagesNeed to configure the Software warehouse first2. Configure the Local software
rw-r--r--file Type: U owner, G belongs to Group, o others 3 letters a group, R read W write x execute. (-D is a directory file, and L is a soft link file).-rw-r--r--. 1 root root 9.8K November 21:39 Install.log.syslog Example: 1 refers to the number
1. After installing the Putty tool, open the Putty tool, set the host Name (that is, the hostname IP address), then save, the last point open2. Then appear, click Yes3. Enter the password after the successful login, if login as the wrong account or
1. Demand ScenarioWhen you enter a Linux command, you want the character interface to display a table-like layout.2. Syntax description用法: column [选项] [文件 ...]选项: -c, --columns 输出宽度(字符数) -t, --table 创建表格 -s, --separator 可用的表格分隔符
Https://www.cnblogs.com/bugutian/p/6138880.htmlCPU Total Cores = number of physical CPUs * Number of cores per physical CPUTotal logical CPUs = number of physical CPUs * Number of cores per physical CPU * Number of hyper-threadsView CPU information (
Reprinted from: http://blog.csdn.net/fengeh/article/details/16819563Leadership needs, need to create users, and allow their additions and deletions, but also require that they only in their own access to the directory, can not go elsewhere. After
Seven Week class (March 19)10.1 Using W to view system load10.2 vmstat Command10.3 Top Command10.4 SAR Command10.5 nload Command10.1 Using W to view system loadThe main view is the system load value.10.2 vmstat CommandDisplayed once per second.
Installation of Nginx download, unzipDownload the installation package from Nginx, I am under nginx-1.8.0.tar.gz . The extracted directories are:[[email protected] third_package]# tar -zxf nginx-1.8.0.tar.gz [[email protected] third_package]# ll
1, only the bottom button is not full (can display part of the word): You can use the TAB key to the next step2, only about half of the interface: with ALT + left mouse button to move the installation interface3, about the Linux partition: If you
The PCI device has many address configuration registers, which are initialized to configure the device's bus address, and the CPU can access the resources of the device when it is configured. (Refine: Configure bus address) (1) 256-byte PCI
I believe everyone is familiar with netstat command, this is the main use of this command. Online DDoS Deflate tool is the use of IP number to count the number of external connections, and then combined with iptables method to achieve an IP
Linux High-end operations learning requires a large number of commands and related tools, read through the Bash man page, master VIM Use, understand SSH is the Linux high-end operations engineers must work , mastering the Linux High-end operational
In linux, set the program to the systemctl service and start the system.
Take the nexus service as an example:
Enter/usr/lib/systemd/system, create the nexus. service file, and write the following content. For field descriptions, refer to the
How to Set up ss (single-user and multi-user) on a VPS server )?, Vpsss
My environment is CentOS6. The commands of the CentOS7 firewall are different from those of CentOS6.
Install shadowsocks
yum updatewget --no-check-certificate
Common shell commands,
Directory
I. Directory operations
A) ls --View files/Directory:
Common: ls-l view detailed file list
B) pwd --View the current directory:
C) cd --Change the working directory:
Common ①: cd ../jump to the upper-level
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