ant 설치하기.
ITWeb/서버관리 2011. 9. 7. 13:45# 다운로드
http://ant.apache.org/bindownload.cgi
# 압축풀기
tar -xvzf apache-ant-1.8.2-bin.tar.gz
# configure & make
cd /home/계정/app
mkdir ant
cd ant
mv -f /home/계정/dist/apache-ant-1.8.2/* .
'ITWeb/서버관리'에 해당되는 글 125건ant 설치하기.ITWeb/서버관리 2011. 9. 7. 13:45# 다운로드 http://ant.apache.org/bindownload.cgi
# 압축풀기 tar -xvzf apache-ant-1.8.2-bin.tar.gz
# configure & make cd /home/계정/app mkdir ant cd ant mv -f /home/계정/dist/apache-ant-1.8.2/* . tomcat 설치하기.ITWeb/서버관리 2011. 9. 7. 13:44# 다운로드 http://tomcat.apache.org/download-60.cgi
# 압축풀기 tar -xvzf apache-tomcat-6.0.32.tar.gz
# configure & make cd /home/계정/app mkdir tomcat-6.0.32 cd tomcat-6.0.32 mv -f /home/계정/dist/apache-tomcat-6.0.32/* . ln -s /home/계정/app/tomcat-6.0.32 tomcat
# 환경변수 설정 vi .bash_profile JAVA_HOME=/home/계정/app/java/jdk export PATH JDK 설치하기.ITWeb/서버관리 2011. 9. 7. 13:43# 다운로드 http://www.oracle.com/technetwork/java/javase/downloads/index.html
# 실행 퍼미션 지정 chmod 744 jdk-6u25-linux-i586.bin or x68
# configure & make cd /home/계정/app mkdir java cd java mv -f /home/계정/dist/jdk1.6.0_25 . ln -s /home/계정/app/java/jdk1.6.0_25 jdk yum remove java-1.4.2-gcj-compat.x86_64 yum remove java-1.6.0-openjdk.x86_64
# 사용자 환경변수 설정 vi .bash_profile JAVA_HOME=/home/계정/app/java/jdk export PATH tomcat connector 소스설치하기ITWeb/서버관리 2011. 9. 7. 13:42# 다운로드 http://tomcat.apache.org/download-connectors.cgi
# 압축풀기 tar -xvzf tomcat-connectors-1.2.31-src.tar.gz
# configure & make cd tomcat-connectors-1.2.31-src/native # buildconf 실행 시 오류 발생
이런 경우 yum -y install libtool 설치
./configure --with-apxs=/home/계정/app/httpd/bin/apxs make make install mysql server 소스설치하기ITWeb/서버관리 2011. 9. 7. 13:40# XEN VM 설치 시 adsec 으로 설치를 했다면.. my-small.cnf 를 my.cnf 로 복사 ./mysql_install_db --user=계정 (일반적으로는 mysql 계정임) /var/log/mysqld.log 권한 변경, /var/run/mysqld 권한 변경 (계정을 변경했을 경우)
# 다운로드 http://www.mysql.com/downloads/mysql/
# 압축풀기 tar -xvzf mysql-5.1.56.tar.gz
# configure & make cd mysql-5.1.56 ./configure --prefix=/home/계정/db/mysql --localstatedir=/home/계정/db/mysql/var --sysconfdir=/home/계정/db/mysql/etc --datadir=/home/계정/db/mysql/share --with-charset=utf8 --with-mysqld-user=계정 --enable-thread-safe-client --enable-shared --enable-profiling --enable-local-infile --with-plugins=innobase,myisam,csv,partition --enable-largefile --with-pic --with-big-tables --with-extra-charsets=all # 에러발생
이와 같은 에러 발생 시 아래 SW 설치 필요 # root 로 설치 yum -y install ncurses-devel # 계정 설치 make make install
# my.cnf 생성 cd /home/계정/db/mysql mkdir etc cp ./share/mysql/my-huge.cnf ./etc/my.cnf
# DB 생성 cd /home/계정/db/mysql/bin ./mysql_install_db # mysql_install_db 실행 시 오류 발생 5.1 버전 부터는 with-plugins 옵션이 추가 되어서 inndb 와 myisam 에 대한 지정이 필요하다. --with-plugins=innobase,myisam
# MySQL start/stop
qdbm & gdbm 소스설치하기.ITWeb/서버관리 2011. 9. 7. 13:37# 다운로드 http://www.filewatcher.com/m/qdbm-1.8.77.tgz.599617.0.0.html
# 압축풀기 tar -xvzf qdbm-1.8.77.tar.gz
# configure & make cd qdbm-1.8.77 ./configure --prefix=/home/계정/app/qdbm make make install # 다운로드 http://mirror.yongbok.net/gnu/gdbm/
# 압축풀기 tar -xvzf gdbm-1.8.3.tar.gz
# configure & make cd gdbm-1.8.3 ./configure --prefix=/home/계정/app/gdbm make make installfreetype 소스설치하기ITWeb/서버관리 2011. 9. 7. 13:37# 다운로드 http://sourceforge.net/projects/freetype/files/
# 압축풀기 tar -xvzf freetype-2.4.3.tar.gz
# configure & make cd freetype-2.4.3 ./configure --prefix=/home/계정/app/freetype make make install mhach 소스설치.ITWeb/서버관리 2011. 9. 7. 13:36# 다운로드 http://sourceforge.net/projects/mhash/files/
tar -xvzf mhash-0.9.9.tar.gz
# configure & make cd mhash-0.9.9 ./configure --prefix=/home/계정/app/mhash make make install libmcrypt 소스설치.ITWeb/서버관리 2011. 9. 7. 13:35# 다운로드 http://sourceforge.net/projects/mcrypt/files/
# 압축풀기 tar -xvzf libmcrypt-2.5.8.tar.gz
# configure & make cd libmcrypt-2.5.8 ./configure --prefix=/home/계정/app/libmcrypt make make install zlib 소스설치ITWeb/서버관리 2011. 9. 7. 13:35요즘은 yum 으로 기본 설치 하는게 더 좋습니다.
# 다운로드
# 설치 root 로 설치
# 압축풀기 tar -xvzf zlib-1.2.7.tar.gz
# configure & make cd zlib-1.2.7 ./configure --shared --prefix=/usr/local/zlib --libdir=/usr/lib --includedir=/usr/include make make install
# ld.so.conf 수정 vi /etc/ld.so.conf 파일 하단에 아래 내용 추가 include /usr/local/zlib
# lib load /sbin/ldconfig 실행 |