installation CentOS System:
Define host Name
set a password
Create a custom layout first partition select boot , EXT4 , Min 100MB fixed size
swap swap partition memory size 2 Span style= "font-size:12px;font-family: ' The song Body '; Color:rgb (33,20,253);" > times (if 1g The 2048MB etc.)
All remaining partitions are assigned to root / , EXT4
next What type of action Desktop is installed (the default is minimal ) Custom installed tools (development tools and development tools) next start the installation process
config centos system ip address:
first enter
with view address
automatically get IP Command dhclient
Edit Network card access Vi/etc/sysconfig/network-scripts/ifcfg-eth0
with smallago to edit----set the network card to start automaticallyOnboot=no (Change intoYes) Command Auto-substitution keyALT + Tab
BOOTPROTO=DHCP (DHCPModify to static address acquisitionstatic)
Ipaddr=
netmask=
gateway=
dns1=
dns2=
esc exit edit mode, save with: save and exit) restart Nic (
Stop or Open eth0 method of:
ifup eth0 turn on the NIC
Ifdown eth0 switch off the NIC
Add a network card address
[[Email protected]]# cd/etc/sysconfig/network-scripts/
[[email protected] network-scripts]# ls
Ifcfg-eth0 ifdown-isdn ifup-aliases Ifup-plusb Init.ipv6-global
Ifcfg-lo ifdown-post  IFUP-BNEP ifup-post net.hotplug /span>
Ifdown IFDOWN-PPP ifup-eth  IFUP-PPP NETWORK-FU Nctions
IFDOWN-BNEP ifdown-routes ifup-ippp ifup-routes Network-functions-ipv6
Ifdown-eth ifdown-sit Ifup-ipv6 Ifup-sit
IFDOWN-IPPP Ifdown-tunnel ifup-isdn Ifup-tunnel
Ifdown-ipv6 ifup Ifup-plip ifup-wireless
[email protected] network-scripts]# CP Ifcfg-eth0 ifcfg-eth0\:1
[Email protected] network-scripts]# vim ifcfg-eth0\:1
Device=eth0 : 1
hwaddr=00:0c:29:87:00:94
Type=ethernet
uuid=a84aa7fe-40de-4b4d-8aea-10eacff7d20d
Onboot=yes
Nm_controlled=yes
Bootproto=static
ipaddr=192.168.1.120
netmask=255.255.255.0
gateway=192.168.1.1
[[email protected] network-scripts]#/etc/init.d/network restart restart
This article is from "Linux rookie" blog, please be sure to keep this source http://490617581.blog.51cto.com/11186315/1757374
CentOS System Installation