Efter en Centos minimal installation ønsker man nok at gøre flg.
# ifup eth0 # vi /etc/sysconfig/network-scripts/ifcfg-eth0 # yum install deltarpm # yum groupinstall base # yum update # ## RHEL/CentOS 6 32-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm ## RHEL/CentOS 6 64-Bit ## # wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm # rpm -ivh epel-release-6-8.noarch.rpm
Hvis man skal kompilerer nogle programmer, kan man gøre flg. for at installere diverse værktøjer:
# yum groupinstall 'Development Tools'
Desktop CentOS:
# yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" # yum -y groupinstall "Graphical Administration Tools" # yum -y groupinstall "Internet Browser" # yum -y groupinstall "General Purpose Desktop" # yum -y groupinstall "Office Suite and Productivity" # yum -y groupinstall "Graphics Creation Tools"
Tilføj Chrome til CentOS:
cat >/etc/yum.repos.d/google.repo <<EOT [google64] name=Google - x86_64 baseurl=http://dl.google.com/linux/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub EOT yum install google-chrome-stable
Tilføj Nginx til CentOS:
cat >/etc/yum.repos.d/nginx.repo <<EOT [nginx] name=nginx repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=0 enabled=1 EOT yum install nginx