CentOS 6.4 Minimal 설치

1. 업데이트 및 주요 유틸리티 설치

[root@localhost ~] # yum -y update
[root@localhost ~] # yum -y install ntsysv system-config-network-tui setuptool bind-utils unzip wget rdate rsync crontabs make gcc gcc-c++ patch autoconf parted sudo

[root@localhost ~] #

2. Selinux & 방화벽 비활성화



[root@localhost ~] # vi /etc/selinux/config
~
SELINUX=disabled
~

[root@localhost ~] # iptables -F
[root@localhost ~] # /etc/init.d/iptables save

[root@localhost ~] #

3. APM(Apache, PHP, Mysql) 설치

[root@localhost ~] # yum -y install httpd php mysql mysql-server php-mysql

[root@localhost ~] #

4. 라이브러리 설치

[root@localhost ~] # yum -y install zlib zlib-devel freetype freetype-devel freetype-utils gd gd-devel libjpeg libjpeg-devel libpng libpng-devel php-gd php-xml php-mbstring

5. 서비스 시작

 

 

 


[root@localhost ~] # service httpd restart; service mysqld restart

6. RHEL Repository 추가

 

[root@localhost ~] # cd /usr/src
[root@localhost src] #
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
[root@localhost src] # wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
[root@localhost src] # rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
[root@localhost src] # ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo

7. php-mcrypt 외 설치

[root@localhost ~] # yum -y install libmcrypt libmcrypt-devel php-mcrypt

[root@localhost ~] #

참조 : http://www.rackspace.com/knowledge_center/article/installing-rhel-epel-repo-on-centos-5x-or-6x

8. ntsysv 설정

출처 : http://marin577.dothome.co.kr/wordpress/?p=55

 


+ Recent posts