Centos-6.3-x86_64minimal mini edition installation notes-system initialization

Source: Internet
Author: User
Tags install openssl
Centosminimal features: small, pure, fast to install, fast to start, suitable for automatic server installation deployment download Image: http: wwwcentosorg1, modify the host name vietcsysconfignetworking = yesHOSTNAME = wwwGATEWAY = 19216
Centos minimal features: small, pure, fast to install, fast to start, suitable for automatic deployment and download of servers: http://www.centos.org/1 Modify the host name # vi/etc/sysconfig/networkNETWORKING = yesHOSTNAME = wwwGATEWAY = 192.168.3.1 note: NETWORKING indicates whether the system uses the network, which is generally set to yes. If it is set to no, the network cannot be used, and many system service programs will not start 2, modify hosts # vi/etc/hosts3, modify the Nic # vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = "eth0" BOOTPROTO =" static "HWADDR = ...... ONBOOT = "yes" UUID = ...... IPADDR = 192.168.1.102NETMASK = 255.255.255.0GATEWAY = 192.168.1.1DNS1 = 202.102.192.68DNS2 = 8.8.8.8 restart the NIC: # service network restart or #/etc/init. d/network restart will automatically update/etc/resolv after the NIC is restarted. conf if the ifcfg-eth0 is not configured with DNS, you need to manually set DNS # vi/etc/resolv. conf Nameserver 8.8.8.8nameserver 8.8.4.4 if it is a cloned virtual machine, due to mac address problems, you need to solve "Device eth0 does not seem to be present, delaying initialization .". # Sudo rm-fr/etc/udev/rules. d/70-persistent-net.rules # sudo reboot # sudo vi/etc/sysconfig/network-scripts/ifcfg-eth0 modify the mac address in the NIC (note the case and/etc/udev/rules. mac consistency in d/70-persistent-net.rules) # sudo service network restart4, automatic synchronization time View # date-R setting time zone # cp-f/usr/share/zoneinfo/Asia/Shanghai/etc/localtime setting time # date-s "00:00:00" synchronization time # sudo ntpdate us.pool.ntp.org # crontab-e0-59/10 ***/usr/sbin /Ntpdate us.pool.ntp.org | logger-t NTP # sudo service crond restart5, update system # yum update-y6, install common software and development libraries (based on your needs) yum install gcc-c ++ make automake autoconf213 autoconf bison ncurses cmake libtool bison flex perl git subversion mercurial python-setuptools-yyum install openssl-devel pcre-devel zlib-devel libjpeg-devel libpng-devel freetype-devel ImageMagick-devel boost-devel libevent-devel libuuid -Devel readline-devel bzip2-devel libxml2-devel libxslt-devel openssl-devel kernel-devel pcre-devel boost-devel python-devel libpcap-devel sqlite-devel ncurses-devel libaio-yyum install wget vim lsof tcpdump screen p7zip unrar unzip sudo redhat-lsb ntpdate traceroute-y7 add user # useradd web # passwd # visudo-f/etc/sudoers add new users in the following line, x save! Root ALL = (ALL) ALLweb ALL = (ALL) ALL test is successful, "root" indicates that the command is successful # sudo whoami8. modify the preset waiting time for CentoOS GRUB to start up # sudo vim/boot/grub/menu. lsttimeout = 5 to timeout = 09. wget screen flushing problem fixed # yum install gettext-y # msgunfmt/usr/share/locale/zh_CN/LC_MESSAGES/wget.mo-o-| sed's /eta (central UK time) /ETA/'| msgfmt--o/tmp/zh_CN.mo # cp/tmp/zh_CN.mo/usr/share/locale/zh_CN/LC_MESSAGES/wget. mo10. restart the system # reboot
 
(End)
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.