CentOS
From Chaehyun
(Difference between revisions)
(→easy_install 설치하기) |
(→easy_install 설치하기) |
||
Line 8: | Line 8: | ||
** wget http://peak.telecommunity.com/dist/ez_setup.py | ** wget http://peak.telecommunity.com/dist/ez_setup.py | ||
** sudo python ez_setup.py | ** sudo python ez_setup.py | ||
+ | |||
+ | == php5 설치하기 == | ||
+ | * wget http://dev.centos.org/centos/5/CentOS-Testing.repo | ||
+ | * mv CentOS-Testing.repo /etc/yum.repos.d/ | ||
+ | * yum --enablerepo=c5-testing update php | ||
+ | |||
+ | * 이럴게 했는데 안될때 | ||
+ | ** /etc/yum.repos.d/CentOS-Base.repo | ||
+ | 추가 | ||
+ | --------------------------------------------- | ||
+ | [utterramblings] | ||
+ | name=Jason's Utter Ramblings Repo | ||
+ | baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ | ||
+ | enabled=1 | ||
+ | gpgcheck=1 | ||
+ | gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka | ||
+ | ----------------------------------------------------------- | ||
+ | ** yum update php |
Revision as of 03:29, 5 October 2012
centOS 에서 python 2.6 설치하기
- sudo rpm -ivvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
- sudo yum install python26 python26-tools python26-devel.x86_64
easy_install 설치하기
- sudo rpm -ivh http://pypi.python.org/packages/any/s/setuptools/setuptools-0.6c11-1.src.rpm
- 안될 경우
- wget http://peak.telecommunity.com/dist/ez_setup.py
- sudo python ez_setup.py
php5 설치하기
- wget http://dev.centos.org/centos/5/CentOS-Testing.repo
- mv CentOS-Testing.repo /etc/yum.repos.d/
- yum --enablerepo=c5-testing update php
- 이럴게 했는데 안될때
- /etc/yum.repos.d/CentOS-Base.repo
추가
[utterramblings] name=Jason's Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
- yum update php