CentOS System Installation

Source: Internet
Author: User

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 (DHCP
Modify 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

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.