본문 바로가기

etc

ubuntu 10.10

반응형

순서 참조 : http://www.ordinarycouple.net/8


1. Essential 설치
sudo apt-get install build-essential

2. JDK  INSTALL
http://cdcsman.tistory.com/tag/sun-java6-jdk%20%EC%84%A4%EC%B9%98
"/etc/apt/sources.list" 파일에서 확인 할수 있다.
그러고 나서 업데이트후 설치를 하면 끝 ~

$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk

우선 순위 확인
sudo update-alternatives --config java

 /usr/lib/jvm/java-6-sun/jre/bin/java 

4. APR 
apr-aprutil-apache-jdk-tomcat-connector- tomcat - maven
http://blog.naver.com/PostView.nhn?blogId=aj0518&logNo=70038577370

5. APXS 설치
apt-get install apache2-threaded-dev

+Apache  설치
http://www.starhost.co.kr/xe/blog/textyle/155916
http://scroogy.tistory.com/tag/우분투 apache
>참고:http://wiki.kldp.org/wiki.php/Apache2Tomcat5Howto

./configure --prefix=/root/app/apache-2.2.17 --with-mpm=prefork --with-z  --enable-module=so --enable-info=shared --enable-rewrite=shared --enable-expires=shared --enable-headers=shared --enable-status=shared --enable-proxy=shared --enable-proxy-http=shared

./configure --prefix=/usr/local/apache-2.2.17 --with-mpm=prefork --with-z --enable-module=so --enable-info=shared --enable-rewrite=shared --enable-expires=shared --enable-headers=shared --enable-status=shared --enable-proxy=shared --enable-proxy-http=shared --with-included-apr --with-apr=/usr/local/apr

make
make install


(apache 전용 계정 설정)

가상서버 모듈 설정



-apache 삭제
sudo apt-get remove --purge apache2.2-common && apt-get install apache2.2-common

:Hangul setting
http://dorm.tistory.com/3
아파치-apxs
sudo apt-get install apache2-prefork-dev 

+tomcat 6

pwd : /var/lib/tomcat6/conf

+tomcat Connector 설치
./configure --with-apxs=/usr/bin/apxs2
# make
# make install 하면 
mod_jk.so 파일이 /usr/local/apache/modules 에 생성됨 , 만약 없으면 컴파일한 곳에서 
복사해서 apache/modules 디렉토리로 복사함. 이 mod_jk.so 파일 하나만 필요함.
http://www.ysy2080.com/uribury/1423

export JAVA_HOME=/usr/lib/jvm/java-6-sun
export CATALINA_HOME=/home/shannon/app/tomcat
export PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin
export CLASSPATH=.:$JAVA_HOME/jre/lib/ext:$JAVA_HOME/lib/tools.jar:$CATAINA_HOME/lib/jsp-ap.jar:$CATALINA_HOME/lib/servlet-api.jar



openssl 설치 ㅠㅠb
http://blog.daum.net/_blog/BlogTypeView.do?blogid=05q6N&articleno=3002802&categoryId=159208&regdt=20050811115830#ajax_history_home


Tomcat  Native - APR 설치
http://www.gurubee.net/pages/viewpage.action?pageId=3902222&
sudo apt-get install libtcnative-1

./configure  --prefix=$CATALINA_HOME --with-apr=/usr/local/apr-1.4.2/bin/apr-1-config   --with-java-home=$JAVA_HOME

Maven install

http://www.mkyong.com/maven/how-to-install-maven-in-ubuntu/


0. etc 

* 패키지 명령어
http://cheonbi.egloos.com/4148380

* 우분투 서버 종료 및 재부팅

- 종료
sudo init 0

- 재시작
sudo init 6
apache 실행 안될때 , 0.0.0.0:80
http://blog.naver.com/PostView.nhn?blogId=inho1213&logNo=80122806550&viewDate=&currentPage=1&listtype=0
* svn server install : 
http://hulryung.tistory.com/97
http://koko8829.tistory.com/317

반응형

'etc' 카테고리의 다른 글

위장전문 병원 블로그  (0) 2011.02.14
자바 역 컴파일  (0) 2011.02.12
conference : Graph mining  (0) 2011.02.10
graph-mining system  (0) 2011.02.10
svn disconnect ; linux  (0) 2011.02.10