The Root password is missing!
Okay, now we have cracked the previous password, and the friends on the sidelines must be excited again. What is so exciting? linux servers are in the IDC, unless you move them apart, what else can you do outside the
Operating System: Centos6.5 Latest Version
Mysql version: mysql-5.5.36-linux2.6-i686.tar.gz: Http://mirrors.sohu.com/mysql/MySQL-5.5/
This file is compiled and can be used directly.
1. Install Mysql
Groupadd mysqlUseradd-r-g mysqlCd/homeTar-zxvf
The following describes some of the most common LINUX shortcut keys.
* Open the main menu = Alt + F1 * run = Alt + F2* Display desktop = Ctrl + Alt + d* Minimize the current window = Alt + F9* Maximize the current window = Alt + F10* Close the
Iptables is a good firewall software in Linux, this article describes how to install iptables, add and clear rules, open specified ports, and shield basic applications of iptables in CentOS, such as specified ip addresses and ip segments.
1. Install
After CentOS 6 is installed by default, IPv6 is automatically enabled, but IPv6 is not widely used yet. We recommend that you disable the IPv6 module. The following describes how to disable the function.
Note: Blue = command name
Light Green =
Enter the centos graphical interfaceTo directly access the Console interface when Linux is started, you can use vi to edit the/etc/inittab file. Find the line id: 3: initdefault: and change it to id: 5: initdefault: And then restart the system. We
You can use commands to quickly Replace text when editing files using vi. The following describes some of its modes.
Replace the first OLD value of the current row with NEW: s/OLD/NEW, and replace the OLD value with NEW: s/OLD/NEW. replace all OLD
Start vim to open multiple files and display them on a split screen:
Vim-on file1 file2o is a lowercase letter, with upper and lower scores. n indicates the number of split screens. The subsequent file vim-On file1 file2O is a capital letter, with
Df Command help informationUsage: df [Option]... [file]...Displays information about each file system. By default, all file systems are displayed.Long Options are required when short options are used.Option-A, -- all includes a file system with a
File (folder)View class commands
Ls -- display the content in the specified directory
Note: The ls display results are distinguished by different colors. Blue indicates the directory, gray indicates normal files, Green indicates executable files,
If the sub-swap partition of the installation host is not too large
Create a swap file
Mkdir/var/swap # create a folder to store swap partition files, and decide chmod700/var/swap # modify swap partition folder Permissions
Describes how to use
The configuration file/etc/ssh/sshd_config contains this series of single-line statements. Each line Declaration starts with a keyword (Case Insensitive), followed by a space, and finally a parameter (case sensitive ). To make these changes take
Route
Function Description: The route command in linux can be used to display and operate IP route tables. It is mainly used to create a static route for a specified host or network to pass through a network interface, such as eth0. When the "add"
There are three common methods to view the linux kernel version and system information:
Uname-a; more/etc/issue; cat/proc/version;
2. View apache version information. if the version is installed using yum or rpm, you can use rpm-qa | gerp httpd
I recently started to learn Linux and installed CentOS 6.4 in VMware Player. In order to make it easier for others, we sorted out common Linux commands and shortcut keys.
Common commands:
Files And Directories:
# Go To The '/home' directory on
The wc (Word Count) command is used to Count the file content, including the number of lines and characters.[Python] view plaincopy
# Display file content information. The output information is the number of lines, number of words, number of
Drwxr-xr-x Usage Details:
The first value indicates the file type. D is a directory file, l is a link file,-is a common file, p is a pipeline
The second-to-second digit indicates the owner of the file has the permission. r indicates read, w
When configuring multiple servers, you often need to synchronize the time between each server. If the server has an Internet environment, you can directly update the time at the same time as the external server. You can use the rdate command to
1. pam Introduction
Linux-PAM (the pluggable authentication module in linux) is a shared library that allows local system administrators to select the authentication method of programs at will. in other words, you can change the authentication
I installed centos 6.5 on the server. UEFI is used by default. I didn't pay attention to using GRUB only. Then the problem occurs, I installed another hard disk with grub boot system on the server,
After the hard disk is started, if the hard disk is
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