You have never used Windows, never contacted Unix, only know to drag a file to drag, only know that the hard disk is c:d: E: But never study the excessive area table, may use VC programming, very accustomed to its integrated environment ....
One
1, the use of emergency disk Group for maintenance
The first Aid disk group (also known as the Boot/root Disk group) is an essential tool for system administrators. It allows you to start and run a complete Linux system independently. In fact, there
Objective
----
This article comes from the 29A Virus magazine, it has a comprehensive elaboration to the Linux shell virus technology, I do not want to translate it, I take its that article as the template
Write this article in Chinese, the code
I. View a newly added disk
[root@localhost/]# fdisk-l
disk/dev/sda:53.7 GB, 53687091200 bytes, 104.8576 million sectors
Units = Sector of 1 * the bytes
sector size (logical/Physical): 512 Bytes/512 bytes
I/o size (min/best): 512 Bytes/5
First, modify the/etc/profile file This method is recommended when this machine is used only as a development use, because all user's shell has the right to use these environment variables in this configuration, which may bring security problems to
Objective
After 8 RC versions, the Linux 4.9 version of the kernel on December 11, 2016 as scheduled to meet with you. According to Linux founder Linus Torvalds, the Linux Kernel 4.9 branch will be a major version update, with 8 research and
Objective
For execution of long time commands, such as large file transports, to keep it from terminating, a remote login session window will be opened to run such commands alone. During this time, you cannot close the Telnet session window or
In recent times, there is always someone to reflect the company's one test server access speed is very slow, half a day can not open. At the beginning, it was thought to be the result of a new deployment of the test program for the two days.
Think
1. Man provides help for commands you are familiar with or unfamiliar with. Eg:man LS allows you to view LS-related usage
2. LS View directory or file
3. CP Copy File
4. RM Delete files and directories
5. MV Remove the catalogue or change
There are many commands under Linux to view the hardware information of the machine.
Here's a way to view information such as the number of bars in memory.
Hardware information, only for Ubuntu series distributions:
Lshw
View the number of
QCOW2 and Row Difference
In a KVM virtual machine, you need to select a format for the disk image, usually with two options, one in raw mirror format and one in QCOW2 format.
RAW format is the original image , will be directly as a block device to
In a Linux system, you can use the Dmidecode command to view the number of memory bars and the size of each memory.
As follows:
#dmidecode | Grep-a16 "Memory device$"
Output results:
Memory Device #存储设备 Array handle:0x1000 #阵列处理
The main use of Nginx and vsftpd.Installation can be directly from the Nginx official online download, or ...
Copy Code code as follows:
Yum Install Nginx
If you do not have a Yum source, you need to add install.
Summary
FTP is one of the commonly used software under Liunx.
1. Switch the user to root:su - ;
2. Check if the machine has been installedftp:rpm -qa|grep vsftpd;
If no results are returned, the installation is not installed, and if the package
The test environment is shown in the following illustration:
Server ip:192.168.0.1
Test requirements: The Linux DHCP server is required to implement IP addresses assigned to Linux clients.
Server package: Dhcp-3.0.1-12_el. I386 (of course other
installing MySQL on LinuxEnvironment: Windows7Virtual machine: Oracle VmvirtualboxLinux:ubuntukylin-14.04.1-amd64.isomysql:5.7.12
I. Environmental preparedness Step1: Installing virtual machinesStep2: Modifying the host BIOS configuration
The Linux under grep instructions and find instructions as strong, found the main search file, and grep is content, the two complement each other, take advantage of the weekend, their good summed up a!
1. RoleThe grep command in a Linux system is
In this article we will use some examples to discuss the working mechanism behind the make command.
How make is workingFor those who do not know the underlying mechanism, the make command receives the target as if it were a command line parameter.
ProblemSuppose the user name is: AliIf the username does not have superuser privileges, when you enter the sudo + command, the system prompts:
Copy Code code as follows:
Ali is isn't in the sudoers file. This incident would be
Number of SSH connections per minute using iptables now
#允许本地环回接口访问
Iptables-a input-i lo-j ACCEPT
#对已经建立的所有链接都放行
Iptables-a input-m state–state established-j ACCEPT
#每分钟对ssh的新连接只允许两个, established connections are not restricted
Copy
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