linux_og_unix:centos
Differences
This shows you the differences between two versions of the page.
— | linux_og_unix:centos [2023/10/21 19:19] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | [[linux_og_unix: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== CENTOS ===== | ||
+ | |||
+ | Efter en Centos minimal installation ønsker man nok at gøre flg. | ||
+ | |||
+ | < | ||
+ | # ifup eth0 | ||
+ | # vi / | ||
+ | # yum install deltarpm | ||
+ | # yum groupinstall base | ||
+ | # yum update | ||
+ | |||
+ | # ## RHEL/CentOS 6 32-Bit ## | ||
+ | # wget http:// | ||
+ | # rpm -ivh epel-release-6-8.noarch.rpm | ||
+ | |||
+ | ## RHEL/CentOS 6 64-Bit ## | ||
+ | # wget http:// | ||
+ | # 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 ' | ||
+ | </ | ||
+ | |||
+ | |||
+ | Desktop CentOS: | ||
+ | < | ||
+ | # yum -y groupinstall " | ||
+ | # yum -y groupinstall " | ||
+ | # yum -y groupinstall " | ||
+ | # yum -y groupinstall " | ||
+ | # yum -y groupinstall " | ||
+ | # yum -y groupinstall " | ||
+ | </ | ||
+ | |||
+ | Tilføj Chrome til CentOS: | ||
+ | |||
+ | < | ||
+ | cat >/ | ||
+ | [google64] | ||
+ | name=Google - x86_64 | ||
+ | baseurl=http:// | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | gpgkey=https:// | ||
+ | EOT | ||
+ | yum install google-chrome-stable | ||
+ | </ | ||
+ | |||
+ | Tilføj Nginx til CentOS: | ||
+ | |||
+ | < | ||
+ | cat >/ | ||
+ | [nginx] | ||
+ | name=nginx repo | ||
+ | baseurl=http:// | ||
+ | gpgcheck=0 | ||
+ | enabled=1 | ||
+ | EOT | ||
+ | yum install nginx | ||
+ | </ | ||