Q: After backup in the recovery system, the NIC number becomes eth1 instead of eth0A: Modify the Udev rules file, delete the 70-persistent-net.rules file under the/ETC/UDEV/RULE.D directory, and then restartFor some special applications, such as a
Disk partitioningBefore I thought, for the Windows System of the partition of the disk we will be more or less point, point to the next step. and the way to divide the character interface form of Linux is not as simple as the next step of Windows
We know that the computer's operating system has Windows, Linux, Unix ... What we're going to talk about is the installation of the Linux operating system. The Linux operating system is open source and it differs from Windows. The operation of Linux
Workaround for problems encountered in useWhen you first use screen, you will get an error, which is related to the user's permissions.
[Email protected] ~]$ screen
Cannot open your terminal '/DEV/PTS/4 '-please check.
A new test account, SU after using the Visudo command, found not available, quit Putty, directly with the root login, you can use, small white,Visudo can only be executed with root , simply write down the Visudo command itVisudo to get the format
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
1, when the power on any One Direction key, enter the interface, select the Linux system, press the E key to enter2, then use the upper and lower key to select the Kerner (kernel) that line, press the E key to enter the editing interface, the last
ShellShell We called shell, we know that the operating system is the bottom of a kernel kernel, the kernel is used to implement all the upper-level services, all the upper command, the upper application needs some basic functions, such as network
ReproducedLinux common commands How to create and change users and groups"1" Groupadd: Used to create a new group.语法:groupadd [-option] 用户名;其常用参数有:-ggroupadd -g 555 team:创建一个GID为555的群组。"2" Groupdel: Used to delete a group that already exists. Note:
Linux telnet to Windows 7Set the IP subnet mask and gateway for Linux650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/6B/E0/wKiom1U4prfz9fyRAAInWPrnB8c626.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiom1u4prfz9fyraainwprnb8c626.jpg "/
Common linux commands (1) grep and common linux commands grep
Grep is used to find strings.
For example, if the user name is whuang, How can I obtain his home directory?
grep "^whuang:" /etc/passwd |awk -F : {'print $6'}
grep "^whuang:"
Linux tips and tips
1. view the size of each file and directory in the folder.
Annotation: view the space occupied by all files and directories in the current folder with a depth of 2.
Du-h -- max-depth = 22. Set scheduled tasks
A) open a
How to install and configure DHCP servers in CentOS
DHCP (Dynamic Host Configuration Protocol) is a service for centralized management of network information such as IP addresses. Build a Linux host in the LAN as the DHCP server, and set other hosts
CentOS7.1 Nic settings
Today, I installed CentOS7.1, and found that it was very different from that before 6. The command changed a lot and the network configuration was not as good as that.
Next I will introduce the NIC configuration in 7,
Use the crontab command in CentOS to regularly execute tasks
The crontab command is used to allow users to execute programs at a fixed time or interval. In other words, it is similar to the user's time table. -U user is used to set the time table of
Quick query of common Git commands
I. Quick query of common Git commands
Git branch: view all local branchesGit status to view the current statusGit commit submitGit branch-a view all branchesGit branch-r view all remote branchesGit commit-am "init"
Solve the LNMP environment 404Filenotfound on CentOS7.1.
Set the LNMP runtime environment built on CentOS 7 and 7.1 to/srv/www/default in the root directory of the PHP website.
When you start php-fpm with systemctl, the browser reports a 404 error.
Ubuntu installation on Hard Disk
Preparation materials: Ubuntu Image
ISO image software: UltraISO, Baidu search and download
If there is an empty hard disk space of about 20-30 GB, no matter how you create the space, simply delete the partition at
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