Outline 1. installation 2. enable Nic 3. modify the host name (web.test.com) 4. modify DNS (8.8.8.8) 5. configure 163yum source 6. disable SElinux 7. disable firewall (ipv4 and ipv6) note: The 64-bit CentOS6.4 system is installed in the minimal
1. View apache connections psaux | grephttpd | wc-l2, real-time monitoring of apache connections watch-n1-d & quot; pgrephttpd | wc-l & quot; 3. view the server network status netstat-n | & n 1. view the number of apache connections
Ps aux | grep
To improve the high availability of the system, we can bind two or more NICs to a virtual Nic and use the same IP address to ensure that a link is disconnected, another link can be started at any time to improve system stability. When you enable the
SSH is short for SecureShell, developed by the IETF Network team (NetworkWorkingGroup). SSH is a security protocol built on the application layer and transport layer. Traditional network service programs, such as FTP, POP, and Telnet, are inherently
Command name: chmod permission: Usage of all users: chmod [-cfvR] [-- help] [-- version] modefile... note: The file calling permissions for Linux/Unix are divided into three levels: file owner, group, and others. Chmod can be used to control how
The netstat command displays network connection, route table, and network interface information, allowing you to know which network connections are in operation. In daily work, we usually use two parameters: netstat? An, as shown below: [root @
Tr-d delete matched characters-s delete the same consecutive characters & #39; [string1] & #39; & #39; [string2] & #39; replace string 1 with string 2cut-b in byte, letters and spaces, and Chinese characters in three bytes: 1-3 (first three bytes)
When a CentOS5.6 machine needs to upgrade the memory to 6 GB, the system is found to be 32-bit, so the search can enable the 32-bit system to support 4 GB memory or above. How does one make linux/Centos32-bit support 8 GB memory? The kernel-based
Two Linux machines log on to each other using ssh without A password. assume that user user1. On HostA, run ssh-keygen to generate the private key id_rsa and public key id_rsa.pub as user1, and then run the command ssh-copy-iduser1 @ HostB to copy
Use the mv command to rename a file or directory or move the file from one directory to another. This command is equivalent to the combination of The ren and move commands in the DOS system. The permission is granted to all users. Format: mv
Yum is a background program used to manage rpm packages. it is written in python and can easily solve rpm dependencies. After the yum server is created, the yum client can obtain the software package through http and ftp, and directly manage and
In linux, some common shutdown/restart commands include shutdown, halt, reboot, and init, which can be used to restart the system. However, the internal working process of each command is different, through the introduction in this article, we hope
The deep sleep of centos may occur because the screen is closed and there is no operation for a long time. in this case, you can only force the restart by using the power key. You can modify the X11 configuration to disable sleep. the configuration
Currently, many websites can assign users a custom second-level domain name, for example, myname.netingcn.com. but the actual access address may be www.netingcn.com/user.php? Uid = myname. To make it work properly, configure wildcard domain name
In centos, you can run the command hostname or uname-n to view the current host name. if it is not set, it is set to localhost by default. for details, see the startup script:/etc/rc. d/rc. sysinit. To modify the host name, you can change the
VPS is a type of virtualization, but it only has an independent system, and the root virtual machine is quite different. this blog uses VPS as an example. because the VPS system is selected by you, but how to install it is not controlled by you, you
First open the terminal, and then enter: route-e in the terminal to display the current route table of the host. at this time, if you want to add a destination network that is 10.0.2.0/24, the next hop IP address (Gateway) for Route table entry 10.0.
PS: sometimes you find that you cannot modify a file with the root permission, most of the reason is that you used the chattr command to lock the file. The chattr command has a great role. some of the functions are supported by the linux kernel
1. acpi-support-you 'd better set the running level in S to "X. 2. acpid-acpi daemon. These two are used for power management and are important for laptops and desktops, so they are enabled. 3. alsa-if you use the alsa sound subsystem, yes, enable
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