Centos minimal installation notes

Source: Internet
Author: User

The latest centos version is 6.2, which provides the ISO image for minimal installation (32-bit 285 M, 64-bit 322 m), the previous 5. version X is not provided separately. It is a good news for us to develop these products. Whether it is download or installation, it saves a lot of time and saves a lot of storage space.

After 64-bit installation, wmware (7.1.4) is used for installation. All the way down, except for the lack of GCC, kernel-devel, make, and other packages (to minimize the installation version, there are fewer packages, normally, select "continue" to skip). The installation is quite smooth and fully automated.

Note: If you want to use a graphical installation interface during installation, the memory setting must be greater than 652 MB.

Http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.2 has a detailed description.

The installer needs at least 392 MB of memory to work. Text mode will automatically be used if the system has less than 652 MB of memory.

After the installation is complete, the system restarts automatically. The system prompts the following information:

Installing VMware Tools, please wait...
Mount: special device/dev/hda does not exist
Mount: block device/dev/sr0 is write-protected, mounting read-only
./Run_upgrade.sh: line 21: file: Command not found

I thought about it carefully and did not see any errors during the installation process. I verified the hash of the ISO file. Correct, the installation package is complete.

After a Google attack, I couldn't find the relevant information, so I had to do it myself...

After re-checking the settings, we found that a CD/DVD (IDE) was added to the hardware settings and autoinst was loaded. ISO, another CD/DVD 2 (IDE) mounted the installation image CentOS-6.2-x86_64-minimal.iso, re-built a virtual machine, found that there is a prompt "centos 64-bit detected. this operating system will use easy install. ", I guess the problem may be caused by this quick installation (because the currently installed image is a minimal installation version, not the full version ).

I guess it's just a matter of practice. Therefore, a new virtual machine is created. Select "I will install the operating system later" in the installation image. ", after the creation, the installation image is set in the hardware settings and manually installed all the way, which is a little slower than the automatic installation. After the installation is complete, manually restart and start successfully, it seems that the guess is correct.

It is best to configure the network during the installation process, because this minimal version does not contain the network setting tool for the graphic interface, manual configuration is not very convenient, the following is my above Configuration:

VI/etc/sysconfig/network-scripts/ifcfg-eth0
Device = eth0
Nm_controlled = Yes
Onboot = Yes
Hwaddr = 00: 0C: 29: 5b: 1c: de
Type = Ethernet
Bootproto = none
Ipaddr = 192.168.1.223
Netmask = 255.255.255.0
Prefix = 24
Gateway = 192.168.1.1
Dns1 = 192.168.1.1
Defroute = Yes
20174_failure_fatal = Yes
Ipv6init = No
Name = "system eth0"
UUID = 5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
Userctl = No

VI/etc/sysconfig/Network
Networking = Yes
Hostname = localhost. localdomain

VI/etc/resolv. conf
Nameserver 192.168.1.1

After the network is configured, you can use Yum to install some common software:
Yum install Vim
Yum install wget
Yum install zip
Yum install unzip
Yum install man
Yum install gcc
Yum install make
Yum install setuptool
Yum install system-config-Network-tui
Yum install system-config-firewall-tui
......

Install gnome Gui:
Yum groupinstall "X Window System"
Yum groupinstall "desktop"
Yum groupinstall "Chinese support"
After the installation is complete, use "init 5" to start the GUI.

Related links:
Centos Official Website: http://www.centos.org/
Image provided by Beijing University of Technology: http://mirror.bit.edu.cn/centos/

Related Article

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.