These days in the installed Apache httpd Service, start the HTTPD service, the error is as follows: Starting httpd:httpd:Could not reliably determine the server ' s fully qualified In name, using 0.0.0.0 for ServerName(13) Permission
After we upgrade the system with Yum, we hope to keep the old kernel files for us so that we can go back to the old kernel files when there is a hardware or software conflict, and if we want to safely delete the old kernel files, we could follow the
Currently, most of the operating systems used in the implementation of the company's projects are Linux, so in order to increase the understanding of Linux, quickly familiar with the common Linux commands, special write this document.
1. File
Since I contacted Linux, has been installed, uninstalled the N times Linux. Uninstalling Linux is easy, as long as you remove the Linux partition, but for boot grub is in the Linux partition, but also to modify the hard disk MBR, otherwise remove
Example: see which application is occupied by port 80:
First gets the PID that occupies the process, using the command: lsof-i:80
Next look at the process, using the command: PS-EF | grep
The difference between process and thread:
Process is
If the disk is a normal partition, such as: NTFS, EXT3, etc., you can use MOUNT-T to develop file system types to mount, but sometimes the disk is a partition of the LVM volume used, to mount such a disk, you should follow the following ways:
A.
Directories in Linux
Path: That is, the directory (folder) in Linux has an absolute path and a relative pathRoot directory:/User home directory: In the/home directory, when a user logs onWorking directory (working directory): current
The previous article on Linux under the common commands, in the embedded writing basic code to have an editor ah, this time to write the basic Linux VI usage. (All of the operations are in the virtual machine in the Linux) VI introduction
The most
Previously installed on Windows based on the Ubuntu system 16.04, now want to delete it.
Step One:Do not remove Linux first. First of all solve the problem of the Linux grub boot, and then installed the Linux,grub directly cover the Windows guide,
useradd [option] USERNAME-U UID (>=500)-G GID (Basic group, also known as default group, must already exist group)-G GID (additional group, also a group that must already exist, can have multiple additional groups, separated by commas)-C "COMMENT"
1. Installing Samba
12345
sudo apt-get install Sambasudo apt-get install smbclient
2. Modify the configuration filesudo vi/etc/samba/smb.confAdd the following [share] at the end of the file (equivalent to adding a new
1. Remote management of Linux configuration IPIf the network is different, you need to configure the network card, the command is as follows:VI/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENP0S3 EnterIn the presence of a network environmentModify the
1. Tar compressionTAR-ZCVF cm-11.tar.gz cm-11Compress the Cm-11 folder into cm-11.tar.gzTAR-JCVF cm-11.tar.gz cm-11Compress the Cm-11 folder into cm-11.tar.bz22. SegmentationThe compressed file is too large to divide cm-11.tar.gz into n files of a
The first step is to open the terminalCreate File command touch file name. suffixOpen File command vi file name. suffix name (after entering TXT file for general mode, you cannot add and revise files) after pressing I or a or O can be inserted a
CTRL + C: Ends (terminates) the current command. If you enter a large string of characters, but do not want to run, you can press CTRL + C key combination, the cursor will jump into the next line.Tab: Implements auto-complete functionality. This key
MV command is the abbreviation for move, commonly used to file, directory, 1): Mobile, 2): renaming1. UsageMV [Options] [parameters:]2. Command options-B When the file exists, before overwriting, create a backup for it;-F,--force not ask before
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