CentOS5.3 installation

 

 

 

 

 

 

 

 

 

 

 

 

 

1, directly enter the boot back into the graphical installation interface.

2, the rear boot Linux test input text installation proceeds.

3. Press F2 more selected installation, as shown below:

 

This interface is used to detect the optical disc and choose to skip skip. (Tested once generally takes ten to twenty minutes)

 

 

 

 

1, delete all partitions on the selected disk and create a default partition structure: the hard disk will be used by the entire Linux, and Removing all hard disk partitions inside to default installer to re-create the partition

2, delete the Linux partitions on selected drives and create the default partition structure: In this dish, only Linux partitions will be deleted, then by default the installer to re-create the partition

3, using the free space in the selected drive and create default layout: the default partition created in the free space within the disk

4, the establishment of a custom partition structure: the use of partitioning the way we need to deal with (recommended in this way)

 

 

 

 

 

 

 

 

 

 

 

kdump kernel is when an error has occurred, whether you want to write at the time of memory information to a file, the file can be studied why the downtime to developers.

Because we are not kernel developers, and the data in the file is too large, it is generally not recommended to turn on this feature

 

 

 

nat card configuration

(First check whether a virtual machine has been added to the card):
vim /etc/sysconfig/network-scripts/ifcfg-eth0 
DEVICE=eth0
HWADDR=00:0c:29:22:72:17
TYPE=Ethernet
UUID=d23e38aa-3f7e-4341-a1bf-54a238f4efe2
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
IPADDR=192.168.247.33
GATEWAY=192.168.247.2
DNS1=192.168.247.2
DNS2=8.8.8.8
 
vim /etc/udev/rules.d/70-persistent-net.rules 
# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0c:29:22:72:1
7", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
 
vim /etc/sysconfig/network
NETWORKING=yes
GATEWAY=192.168.247.2
HOSTNAME=MySQL33
 
vim /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.247.2
nameserver 8.8.8.8
~                                                                               
修改主机名(CentOS5/CentOS6):
vi /etc/sysconfig/network
vi /etc/hosts
 
修改主机名(CentOS7):
vi /etc/hostname
或是:
hostnamectl set-hostname

最小化安装图形化界面:

1.yum upgrade -2.yum groupinstall "X Window System" 回车(注意有引号)
3.yum grouplist 
4.yum groupinstall "GNOME Desktop" "Graphical Administration Tools"-y
5.startx 
6.设置默认启动图形化界面:systemctl set-default graphical.target

Guess you like

Origin www.cnblogs.com/tanshouke/p/12190422.html