After the CentOS system is installed, it cannot be immediately used in the production environment. It usually needs to be optimized by our O & M personnel. Here are some basic optimization operations for Linux system installation. Note: This
Main projects and parameters in the Kickstart file:
Each project is identified by a keyword. A keyword can be followed by one or more parameters. If an option is followed by an equal sign (=), it must be followed by a value.
Install
Network configuration commands in Linux
The network structure in Linux is very complex, but the basic user space network configuration is not very difficult. If your Linux system still does not have a network or the connection to the network is
In Linux, you can set multiple IP addresses for NICs under RHEL5. To solve some network access problems, you sometimes need to configure multiple IP addresses for one Nic. In some documents, it is called "Adds aliases for Device! ". The following
Ifconfig command for basic network configuration in Linux1. The network configurations in Linux include: Network IP configuration, Gateway route configuration, host DNS configuration, and host name configuration. This article focuses on the network
In linux, a single Nic is bound to multiple IP addresses. Note: A single Nic is bound to two IP addresses, including China Telecom and China Unicom. The purpose is to ensure that China Unicom works normally when China Telecom fails. System IP
How to change the machine name and IP address in linux: use vi to edit/etc/sysconfig/network and/etc/sysconfig/network-scripts/ifcfg-eth0 1) /etc/sysconfig/networkNETWORKING = yesFORWARD_IPV4 = yesHOSTNAME = xxxx.com # Your host name GATEWAY = 123.12
Practical UNIX management script 1. Force the login user to be kicked off in Linux 1) view the user logged on to the Machine [root @ sunsyk ~] # W 16:29:02 up 2 days, 5 users, load average: 0.03, 0.05, 0.01 user tty from login @ idle jcpu pcpu what
Note:
In the actual production environment, the CentOS 5.x series is still the preferred system for many server loaders.
The latest version of CentOS 5.x is CentOS 5.10. The following describes how to install and configure CentOS 5.10.
The server
File:/etc/sysconfig/network-scripts/ifcfg-eth0
The following values are common in all basic configuration files:* DEVICE = name. Here, name is the name of the physical DEVICE (except for the dynamically allocated ppp device,Its name is "logical name
In redhat, ssh, telnet, and ftp services, the Linux Command Line permanently modifies the IP address, gateway, and DNS. 1. Modify the IP address www.2cto.com. First, check the number and name of your host Nic. The related information is
CentOS IP configuration
After the system is started, ping the Internet or other machines in the LAN.
If you select the NAT Internet access mode When configuring the virtual machine, you need to configure a fixed IP address later. For more
1. Open the command mode of the terminal:
Click application in the upper left corner, click the System Tools drop-down menu, and then click Terminal in the expanded drop-down menu to open a command mode.
2. Find the full path of the command
Linux Nic Configuration
[Body]
Linux: CentOS 6.5
Linux: CentOS 7
Previously, we used the remote tool SecureCRT and assigned linux an IP address through the "ifconfig eth0 + specific IP Address" command (refer to myself: use of the remote logon
CentOS6.5 Network Configuration1 Nic description 1) Two NICs:The first Nic is configured with the Internet: eth0The second Nic is configured with the Intranet: eth1 (the Intranet should also be configured on the second Nic for machines without the
Before giving you a detailed introduction to the server, first let everyone know about the Ubuntu server, and then give a comprehensive introduction to the Ubuntu server, hoping to be useful to everyone. The Ubuntu team makes a public commitment to
ArticleDirectory
1. Modify the IP address of centos
3. Modify DNS in centos
4. Restart Network Configuration
1. Modify the IP address of centos
Modify the configuration file of the corresponding Nic IP Address
Linux basic network configuration
1.View Network Interface Information
Ifconfig view Network Interface Information (/sbin/ifconfig)
Ifconfig [network interface]
Ifconfig-A: View information of all network interfaces in the system
2.View gateway
Grep-V "#"/etc/httpd/CONF/httpd. conf
ServerTokens OS returns server: Apache/2.0.41 (UNIX)
ServerTokens command
: Configure the HTTP Server Response Header. This command controls whether the response header field sent back from the server to the
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.