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

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

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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
19년 전 조회 3,940
19년 전 조회 3,226
19년 전 조회 2,463
19년 전 조회 2,481
19년 전 조회 2,421
19년 전 조회 3,040
19년 전 조회 2,734
19년 전 조회 3,592
19년 전 조회 3,446
19년 전 조회 2,063
19년 전 조회 2,992
19년 전 조회 8,075
19년 전 조회 2,753
19년 전 조회 3,375
19년 전 조회 3,116
19년 전 조회 3,237
19년 전 조회 2,470
19년 전 조회 2,701
19년 전 조회 4,308
19년 전 조회 2,480
19년 전 조회 4,480
19년 전 조회 2,635
19년 전 조회 2,316
19년 전 조회 2,571
19년 전 조회 2,119
19년 전 조회 2,653
19년 전 조회 2,445
19년 전 조회 3,317
19년 전 조회 2,096
19년 전 조회 3,770
19년 전 조회 2,951
19년 전 조회 3,674
19년 전 조회 3,694
19년 전 조회 3,395
19년 전 조회 5,685
19년 전 조회 2,412
19년 전 조회 2,459
19년 전 조회 2,569
19년 전 조회 3,639
19년 전 조회 3,967
19년 전 조회 3,987
19년 전 조회 2,597
19년 전 조회 2,632
19년 전 조회 2,934
19년 전 조회 3,253
19년 전 조회 2,680
19년 전 조회 2,860
19년 전 조회 2,701
19년 전 조회 2,450
19년 전 조회 3,465
19년 전 조회 3,532
19년 전 조회 3,265
19년 전 조회 5,089
19년 전 조회 2,932
19년 전 조회 3,539
19년 전 조회 3,363
19년 전 조회 2,234
19년 전 조회 3,353
19년 전 조회 2,108
19년 전 조회 2,558
19년 전 조회 2,637
19년 전 조회 4,214
19년 전 조회 3,410
19년 전 조회 3,316
19년 전 조회 2,758
19년 전 조회 2,219
19년 전 조회 1,874
19년 전 조회 2,653
19년 전 조회 2,560
19년 전 조회 2,036
19년 전 조회 2,041
19년 전 조회 2,833
19년 전 조회 2,786
19년 전 조회 2,104
19년 전 조회 2,334
19년 전 조회 3,522
19년 전 조회 2,183
19년 전 조회 2,702
19년 전 조회 2,775
19년 전 조회 2,898
19년 전 조회 3,160
19년 전 조회 2,792
19년 전 조회 3,211
19년 전 조회 2,975
19년 전 조회 3,730
19년 전 조회 2,096
19년 전 조회 2,957
19년 전 조회 2,606
19년 전 조회 2,244
19년 전 조회 2,650
19년 전 조회 2,093
19년 전 조회 5,658
19년 전 조회 2,495
19년 전 조회 4,464
19년 전 조회 2,535
19년 전 조회 2,084
19년 전 조회 2,814
19년 전 조회 2,561
19년 전 조회 2,736
19년 전 조회 2,403