본문 바로가기

centos10

CentOS5 에서 yum으로 php 5.2 설치하기 php 5.2 설치 # wget http://dev.centos.org/centos/5/CentOS-Testing.repo # mv CentOS-Testing.repo /etc/yum.repos.d/ # yum --enablerepo=c5-testing update php php관련 파일 인스톨 혹은 업데이트하기# yum --enablerepo=c5-testing install php-mysql # yum --enablerepo=c5-testing install php-devel # yum --enablerepo=c5-testing install php-gd # yum --enablerepo=c5-testing install php-mbstring # yum --enablerepo=c5-testing i.. 2011. 3. 7.
CentOS iptables 80번 포트 해제 1. CentOS 다운로드 - http://centos.org 2. CentOS 설치 (설치내용 생략) 3. yum 을 통한 apm 설치 (CentOS는 기본적으로 apm이 탑재되어있음. 기존 apm을 삭제시키지 않고 yum install 명령으로 설치할 경우 update를 자동으로 함) yum install httpd php mysql mysql-server php-mysql system-config-httpd 4. 설치후 아래 명령을 입력하면 아파치 웹서버가 실행됨 service httpd start 5. 외부에서 접근할 수 있도록 80포트 해제 iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/rc.d/.. 2011. 3. 7.
CentOS yum으로 APM 간편 설치 CentOS는 RedHat Enterprise의 클론 리눅스다. 무료로 RHEL의 검증되고 안정된 서버를 구축할 수 있다는 장점을 가지고 있다. 서버용으로 설치한다고는 해도 설치과정은 GUI로 할 수 있으니 파티션 잡는 것만 잘 넘어간다면 어려운 것은 없으니 언급하지 않겠다. 기회가 되면 이것도 한번 다뤄보는 것도 좋을 듯 싶기도 하고.. 참고로 좀 안다 싶은 사람들을 위한 것이 아닌 본인처럼 완전 개초보를 위한 글이므로 이 글을 읽는 사람 중에 이건 아니다 싶은 사람은 미련 없이 "GET OFF!!"하기 바란다. 사실 APM설치에 대해 인터넷에서 검색해보면 굉장히 많은 자료가 나오고 그 자료 마다 컴파일 하는데 있어서의 방법 등에 있어서 상당히 다른 방법을 제시하는 경우가 많다. 그들을 무시 하는 것은.. 2011. 3. 7.
Centos 5.5 - Apache 2.x + PHP 5.2 + MySQL-5.1 && 이하 라이브러리 설치하기 제목: Centos 5.5 - Apache 2.x + PHP 5.2 + MySQL-5.1 && 이하 라이브러리 설치하기 1. CentOS 5.5 yum 업데이트 (시간 좀 걸림) # yum -y update 2. 필요없는 서비스 제거 및 사용자 제거 /etc/inittab 3,4,5,6 주석처리 # vi /etc/inittab # Run gettys in standard runlevels 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 #3:2345:respawn:/sbin/mingetty tty3 #4:2345:respawn:/sbin/mingetty tty4 #5:2345:respawn:/sbin/mingetty tty5 #.. 2010. 8. 25.