중급자를 위한 리눅스 서버 세팅 순서와 자동 설치 스크립트 소스 - 부분 2

· 19년 전 · 3224
설치시 소스는 최신 버젼을 사용하시고, 스크립트 작성시에도 소스의 버젼을 정확하게 기입하세요

1. OpenSSL-0.9.7d :

wget http://www.openssl.org/source/openssl-0.9.7d.tar.gz &&
tar xzvf openssl-0.9.7d.tar.gz &&
cd openssl-0.9.7d &&
./config &&
make &&
make install &&
ln -sf /usr/local/ssl/bin/openssl /usr/local/bin/openssl &&
ll /usr/local &&
ll /usr/local/bin

**설치 완료 후 확인 : ls /usr/local/ssl




2. JAVA Install :

bzip2 -cd jdk118_v3-glibc-2.1.3.tar.bz2 | tar xvf - &&
bzip2 -cd jre118_v3-glibc-2.1.3.tar.tar |tar -xvf - &&
mv jdk118_v3 /usr/local &&
mv jre118_v3 /usr/local &&
cd /usr/local &&
ln -sf /usr/local/jdk118_v3 /usr/local/java &&
ln -sf /usr/local/jre118_v3 /usr/local/jre &&
ll /usr/local

** ln -sf : 파일 및 디렉토리 링크걸기




3. 그래픽관련 패키지 :
http://www.gzip.org/zlib/

tar -xvzf zlib-1.2.1.tar.gz &&
cd zlib-1.2.1 &&
./configure -s --prefix=/usr/local &&
make &&
./configure --prefix=/usr/local &&
make test &&
make install &&
ll /usr/local/lib/libz.a

** ./configure -s // libz.so 동적모듈생성
** ./configure // libz.a 정적모듈생성



4. http://curl.haxx.se/download.html

tar -xzvf curl-7.12.0.tar.gz &&
cd curl-7.12.0 &&
./configure \
--prefix=/usr/local \
--enable-httpd \
--enable-ftp \
--enable-file \
--enable-dict \
--enable-gopher \
--enable-thread \
--enable-libgcc \
--disable-debug \
--disable-manual \
--with-ssl=/usr/local/ssl \
--with-zlib=/usr/local \
--with-gnu-ld \
--with-pic &&
make &&
make install

** 위 항목들을 지원가능하게 하거나 지원하지 않도록 하는 부분이다.




5. mhash
http://sourceforge.net/project/showfiles.php?group_id=4286

tar -xzvf mhash-0.9.1.tar.gz &&
cd mhash-0.9.1 &&
./configure \
--prefix=/usr/local \
--with-CC \
--with-CFLAGS \
--with-CPPFLAGS \
--with-LDFLAGS \
--with-gnu-ld \
--with-pic &&
make &&
make install &&
ll /usr/local/lib




6. libmcrypt
http://wiretapped.securax.org/security/cryptography/libraries/mcrypt/libmcrypt/

tar -xvzf libmcrypt-2.5.7.tar.gz &&
cd libmcrypt-2.5.7 &&
./configure \
--prefix=/usr/local \
--enable-dynamic-loading \
--with-gnu-ld \
--with-pic &&
make &&
make install &&
ll /usr/local/lib



7. pdf 관련
http://www.fastio.com

tar xvzf clibpdf202r1.tar.gz &&
cd ClibPDF &&
cd source &&
cp Makefile Makefile.orig &&
cp Makefile.Linux Makefile &&
make lib &&
make install



8. 플래쉬 관련
ftp://ftp.sgi.com/sgi/graphics/grafica/flash/index.html

tar -xvzf dist.99.linux.tar.Z &&
mv dist /usr/local/swf &&
cd /usr/local/swf &&
cp swf.h /usr/local/include &&
cp libswf.a /usr/local/lib



9. mm
http://www.engelschall.com/sw/mm/

tar -xvzf mm-1.3.0.tar.gz &&
cd mm-1.3.0 &&
./configure \
--prefix=/usr/local/mm &&
make &&
make install



10. png 파일 지원
http://prdownloads.sourceforge.net/libpng/libpng-1.2.5.tar.gz

tar -xvzf libpng-1.2.5.tar.gz &&
cd libpng-1.2.5 &&
cp scripts/makefile.linux Makefile &&
make &&
make test &&
make install



11. 그래픽관련 freetype 필수
http://prdownloads.sourceforge.net/freetype/

tar -xvzf freetype-2.1.8.tar.gz &&
cd freetype-2.1.8 &&
./configure \
--prefix=/usr/local \
--with-gnu-ld \
--with-pic &&
make &&
make install



12. 그래픽관련 jpegsrc
http://www.ijg.org/files/

tar -xvzf jpegsrc.v6b.tar.gz &&
cd jpeg-6b &&
./configure \
--prefix=/usr/local \
--enable-shared \
--enable-static &&
make &&
make test &&
make install



13. 그래픽관련 libungif
http://sourceforge.net/project/showfiles.php?group_id=102202

tar -xvzf libungif-4.1.3.tar.gz &&
cd libungif-4.1.3 &&
./configure \
--prefix=/usr/local \
--with-gnu-ld \
--with-pic \
--with-x &&
make &&
make install



14. 폰트 관련 tiff
http://dl.maptools.org/dl/libtiff/

tar -xvzf tiff-v3.6.1.tar.gz &&
cd tiff-v3.6.1 &&
./configure \
--prefix=/usr/local &&
make &&
make install

**중간설치중에 질문하면 yes 한다.<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 3,668
19년 전 조회 2,967
19년 전 조회 2,194
19년 전 조회 2,217
19년 전 조회 2,157
19년 전 조회 2,763
19년 전 조회 2,473
19년 전 조회 3,337
19년 전 조회 3,188
19년 전 조회 1,817
19년 전 조회 2,729
19년 전 조회 7,819
19년 전 조회 2,491
19년 전 조회 3,100
19년 전 조회 2,847
19년 전 조회 3,005
19년 전 조회 2,212
19년 전 조회 2,442
19년 전 조회 4,064
19년 전 조회 2,219
19년 전 조회 4,218
19년 전 조회 2,376
19년 전 조회 2,072
19년 전 조회 2,319
19년 전 조회 1,862
19년 전 조회 2,399
19년 전 조회 2,190
19년 전 조회 3,058
19년 전 조회 1,842
19년 전 조회 3,536
19년 전 조회 2,692
19년 전 조회 3,436
19년 전 조회 3,439
19년 전 조회 3,141
19년 전 조회 5,428
19년 전 조회 2,161
19년 전 조회 2,210
19년 전 조회 2,306
19년 전 조회 3,386
19년 전 조회 3,693
19년 전 조회 3,738
19년 전 조회 2,344
19년 전 조회 2,387
19년 전 조회 2,683
19년 전 조회 3,028
19년 전 조회 2,452
19년 전 조회 2,617
19년 전 조회 2,440
19년 전 조회 2,199
19년 전 조회 3,225
19년 전 조회 3,283
19년 전 조회 3,020
19년 전 조회 4,855
19년 전 조회 2,684
19년 전 조회 3,297
19년 전 조회 3,129
19년 전 조회 1,978
19년 전 조회 3,118
19년 전 조회 1,860
19년 전 조회 2,327
19년 전 조회 2,399
19년 전 조회 3,978
19년 전 조회 3,164
19년 전 조회 3,088
19년 전 조회 2,533
19년 전 조회 1,993
19년 전 조회 1,635
19년 전 조회 2,403
19년 전 조회 2,322
19년 전 조회 1,812
19년 전 조회 1,809
19년 전 조회 2,599
19년 전 조회 2,573
19년 전 조회 1,872
19년 전 조회 2,103
19년 전 조회 3,289
19년 전 조회 1,943
19년 전 조회 2,486
19년 전 조회 2,561
19년 전 조회 2,654
19년 전 조회 2,930
19년 전 조회 2,557
19년 전 조회 2,972
19년 전 조회 2,755
19년 전 조회 3,508
19년 전 조회 1,864
19년 전 조회 2,727
19년 전 조회 2,364
19년 전 조회 2,015
19년 전 조회 2,422
19년 전 조회 1,866
19년 전 조회 5,435
19년 전 조회 2,251
19년 전 조회 4,236
19년 전 조회 2,291
19년 전 조회 1,843
19년 전 조회 2,585
19년 전 조회 2,324
19년 전 조회 2,524
19년 전 조회 2,159
🐛 버그신고