chmod: Change file 9 propertiesThere are two ways to set up Linux file attributes, one is a number and one is a symbol.Linux files have the basic permissions of nine, respectively, owner/group/others three identities each have their own
First, the development process of Linux1. The world's first computer, born in 1946, was during the Second World War.2, the Linux kernel version is composed of three parts, namely the main version number, minor version number, the minor version
1, CENTOS7 modified hostname[[email protected] ~]$ hostnamectl set-hostname centos7.l # using this command will take effect immediately and reboot will take effect [[email protected] ~]$ hostname #
When we need to pull the remote server code to the local server, we first have to make sure that the correct git account has been configured, from the ~/.gitconfig file (for hidden files, need to use Ls-a view), and ~/.ssh under Id_ Rsa.pub to
The previous chapter mainly studied the Linux command base, and network collocation, continue to learn below.First, build NTP time serverNTP server is used for LAN server time synchronization, can ensure that the LAN all the server and time server
Everything in Linux is a file; Directory Description:
Bin:binary abbreviation, which means "binary file", contains the execution program used by all users
Boot: "Start" with files that are closely related to Linux boot
Dev:device,
Linux---Tail commandTail command---in linux for viewing file contentsThe most basic are cat, more and less.1. If you want to see only the first 5 lines of the file, you can use the Head command, such as:Head-5/etc/passwd2. If you want to view the
1. Set boot boot sequence to start CD-ROM drive2. Select Rescue Install System3, select the language, keep the default 中文版, select OK4, select the keyboard type, keep the default us5. Select the type of rescue6, whether to start the network, select
cd, pwd, lsmkdir, rmdir, treemkdir [Options]/path/to/somewhere-P: exists in no error, and can automatically create the required directories;-V: Show more information-M MODE: Specify permissions directly when creating a directory;Tree-D: Show only
1. after unpacking the JDK, view the current JDK version number in the bin directoryCommand: ./java-version 2. Edit Modify Configuration1. Modify the profile fileEnter command: vi/etc/profile What to modify: (Shift + G jumps to the last line )
Linux Delete Folder commandLinux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the RM-RF command.Direct RM is available, but add two
Linux system installation of the main three ways:1, RPM, a bit similar. msi andAn. exe is similar, the installation path and file name of the package (which is equivalent to all files for a program in Windows) are basically fixed, but he does not
To change the Linux Yum Source method:First step: Enter the Yum profile directory:cd/etc/yum.repos.d/Step two: Back up the configuration file (you can recover if there is a problem later):MV Centos-base.repo Centos-base.repo.bakStep three: Download
Recently just to the notebook installed UBUNTU+WIN10 dual system, but ubuntu16.04 did not bring their own Chinese input method, so after some online experience search integration, sharing the Chinese input method to install the experience. This
Often encounter some problems is that the host is clearly online but the ping does not work, the other party may have opened the Forbidden Ping modeSometimes for security concerns, we need to disable ping for our Linux servers.Turn off ICMP protocol
View information for all groups: (Information is saved in the/etc/group file)
Each of these pieces of information is divided by: the meaning of each paragraph is as follows: User name Group name: password: User group ID: User group contains
Ubuntu upgrades Python from default 2.7 to version 3. *
Ubuntu upgrades Python from the default version 2.7 to version 3. * (we recommend that you use the Python version of the original system for Python Development)
Because many underlying
Centos7-bash: command not found, centos7-bashPreface I have recently re-installed the Virtual Machine. As a result, I found that "various commands cannot be found" during use ". Problem 1.vim: command not found input command rpm-qa | grep vim if the
Sharing common Optimization Methods for linux kernels and optimizing linux kernels
Common Optimization Methods for Linux Kernel
Some basic optimization operations are required for newly deployed machines to change the performance problems caused by
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