SEARCH
TOOLBOX
LANGUAGES
CentOS

CentOS

From Chaehyun

(Difference between revisions)
Jump to: navigation, search
(lsyncd를 이용하여 실시간 백업하기)
(easy_install 설치하기)
 
Line 9: Line 9:
** sudo python ez_setup.py
** sudo python ez_setup.py
* sudo easy_install mysql-python  
* sudo easy_install mysql-python  
-
* sudo easy_install beautifulsoup
+
* sudo easy_install beautifulsoup4
* wget http://soupselect.googlecode.com/svn/trunk/soupselect.py
* wget http://soupselect.googlecode.com/svn/trunk/soupselect.py

Latest revision as of 08:03, 31 January 2013

Contents

centOS 에서 python 2.6 설치하기

easy_install 설치하기

php5 설치하기 (설치 안됨)

  • 이럴게 했는데 안될때
    • vim /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

lsyncd를 이용하여 실시간 백업하기

  • sudo yum install lsyncd
  • sudo vim /etc/lsyncd.conf
settings = {
    statusFile="/tmp/lsyncd.stat",
    statusInterval=1,
}
sync{
    default.rsync,
    source="/mnt/submit",
    target="codesprint.reople.com:/mnt/submit",
    rsyncOps="-az",
}
Retrieved from "http://chaehyun.kr/w/CentOS"