NuxOne 2.1 배포판에 proftpd-1.2.10 설치한후 apache-2.0.52 php-5.0.3 mysql-4.1.8 설치하기
필요한 것들 :
proftpd - http://www.proftpd.org/
httpd - http://www.apache.org/
php - http://www.php.net/
mysql - http://www.mysql.com
zend - http://www.zend.com
zlib - http://www.gzip.org/zlib/
libpng - http://libpng.sourceforge.net/
free type - http://www.freetype.org/
libjpeg - http://www.ijg.org/
gd - http://www.boutell.com/gd/
libxml2 - http://xmlsoft.org/
설치 방법 :
proftp 설치하기
#wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz
#tar -xvzf proftpd-1.2.10.tar.gz
#cd proftpd-1.2.10
#./configure
#make
#make install
#vi /etc/xined.d/proftp
//아래 내용을 추가하고 저장함
service ftp
{
disable = no
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/local/sbin/in.proftpd
bind = your-ip
log_on_success = HOST PID
}
#vi /usr/local/etc/proftpd.conf
//아래 내요을 수정해줌
ServerType inetd
Group ftp
DefaultRoot ~ //앞의 주석을 제거함
#/etc/init.d/xinetd restart //proftpd 시작
//ftp에 접속 가능한 사용자 추가
#useradd 사용자아이디
#passwd 사용자암호
Zlib 설치하기
#wget http://fordream.damoa.biz/zlib-1.2.1.tar.gz
#tar -xzvf zlib-1.2.1.tar.gz
#cd zlib-1.2.1
#./configure
#make
#make install
libpng 설치하기
#wget http://fordream.damoa.biz/libpng-1.2.8.tar.gz
#tar -xzvf libpng-1.2.8.tar.gz
#cd libpng-1.2.8
#cp scripts/makefile.linux makefile
#make
#make install
freetype 설치하기
#wget http://fordream.damoa.biz/freetype-1.3.1.tar.gz
#tar -xzvf freetype-1.3.1.tar.gz
#cd freetype-1.3.1
#./configure
#make
#make install
libjpeg 설치하기
#wget http://fordream.damoa.biz/jpegsrc.v6b.tar.gz
#tar -xzvf jpegsrc.v6b.tar.gz
#cd jpeg-6b
#./configure --enable-shared --enable-static
#make
#make install
#make test
#make install
gd설치하기
#wget http://fordream.damoa.biz/gd-2.0.33.tar.gz
#tar -xzvf gd-2.0.33.tar.gz
#cd gd-2.0.33
#./configure
#make
#make install
glibxml2 설치하기
#wget http://xmlsoft.org/sources/libxml2-2.6.16.tar.gz
#tar -xzvf libxml2-2.6.16
#cd libxml2-2.6.16
#./configure
#make
#make install
이거 설치 않하면 mysql make도중 에러 남 -.-a
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/update/2.1/ncurses-devel-5.3-9.3.i386.rpm
#rpm -Uvh ncurses-devel-5.3-9.3.i386.rpm
mysql 설치하기
#wget http://mysql.byungsoo.net/Downloads/MySQL-4.1/mysql-4.1.8.tar.gz
#tar -xzvf mysql-4.1.8.tar.gz
#cd mysql-4.1.8
./configure \
--prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data \
--disable-shared --enable-assembler \
--with-thread-safe-client --with-mysqld-user="mysql" \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--with-readline --without-debug \
--without-docs --without-bench \
--with-charset=euckr
#make
#make install
#cp support-files/mysql.server /etc/init.d/
#chmod 755 /etc/init.d/mysql.server
#cd /usr/local/mysql/share/mysql/
#cp my-medium.cnf /etc/my.cnf
apache 설치하기
#wget http://www.reverse.net/pub/apache/httpd/httpd-2.0.52.tar.gz
#tar -xzvf httpd-2.0.52
#cd httpd-2.0.52
# ./configure --prefix=/usr/local/apache --enable-rule=SHARED_CORE --enable-modules=so --enable-so
#make
#make install
이거 설치않면 php make 도중 에러 발생 -.-a
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/Plus_pack_1/RPMS_Maru_pack/gmp-4.1.2-5.i386.rpm
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/Plus_pack_1/RPMS_Maru_pack/gmp-devel-4.1.2-5.i386.rpm
#rpm -Uvh gmp-4.1.2-5.i386.rpm
#rpm -Uvh gmp-devel-4.1.2-5.i386.rpm
php 설치하기
#wget http://ftp.superuser.co.kr/pub/php/php-5.0.3.tar.gz
#tar -xzvf php-5.0.3.tar.gz
#mv php-5.0.3 /usr/local/php
#cd /usr/local/php
CFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer" \
./configure \
--with-zlib --with-gd --with-ttf --with-png \
--with-expat-dir=/usr --with-gmp --with-png \
--with-mysql=/usr/local/mysql \
--with-apache2=/usr/local/apache \
--with-config-file-path=/usr/local/apache/conf \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-language=korean \
--with-charset=euc-kr \
--disable-debug --disable-posix --disable-rpath \
--enable-safe-mode --enable-magic-quotes \
--disable-dmalloc --enable-bcmath \
--enable-dio --enable-gd-native-ttf \
--enable-sysvsem --enable-sysvshm \
--enable-wddx --enable-versioning \
--enable-pic --enable-inline-optimization \
--enable-memory-limit --enable-mbstring \
--enable-mbregex --enable-mbstr-enc-trans \
--with-config-file-path=/usr/local/lib --enable-ftp --disable-debug --enable-track-vars=yes \
--with-jpeg-dir --with-freetype-dir \
--enable-gd-native-ttf --enable-dl \
--with-kerberos
#make
#make install
#cp php.ini-dist /etc/php.ini
ZendOptimizer 설치하기
#wget http://fordream.damoa.biz/ZendOptimizer-2.5.7-linux-glibc21-i386.tar.gz
#tar -xzvf ZendOptimizer-2.5.7-linux-glibc21-i386.tar.gz
#cd ZendOptimizer-2.5.7-linux-glibc21
#./install.sh
[Enter]
[Enter]
[Enter]
[Enter]
apache 설정하기
#vi /usr/local/apache/conf/httpd.conf
// php파일을 웹서버에서 인식하기 위해 아래두줄 추가
AddType application/x-httpd-php .php .php3 // php파일로 해석할 확장명설정
AddType application/x-httpd-php-source .phps // php 소스로 해석할 확장명설정
// 처음페이지로 인식할 파일명설정
DireactoryIndex index.html index.php
mysql 설정하기
#cd /usr/local/mysql/bin
#./mysql_install_db
#/etc/init.d/mysql.server restart
#./mysqladmin -u root password 'new-password'
#./mysqladmin -u root -h 'your-hostname' password 'new-password'
booting시 자동 시작하도록 설정하기
#vi /etc/rc.local
//마지막 줄에 아래 두줄 추가
/usr/local/apache/bin/apachectl start
/etc/init.d/mysql.server start
참고사이트
http://wiki.kldp.org/wiki.php/APM
http://as.damoa.biz/?doc=bbs/gnuboard.php&bo_table=hosting_tip&wr_id=1<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
필요한 것들 :
proftpd - http://www.proftpd.org/
httpd - http://www.apache.org/
php - http://www.php.net/
mysql - http://www.mysql.com
zend - http://www.zend.com
zlib - http://www.gzip.org/zlib/
libpng - http://libpng.sourceforge.net/
free type - http://www.freetype.org/
libjpeg - http://www.ijg.org/
gd - http://www.boutell.com/gd/
libxml2 - http://xmlsoft.org/
설치 방법 :
proftp 설치하기
#wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz
#tar -xvzf proftpd-1.2.10.tar.gz
#cd proftpd-1.2.10
#./configure
#make
#make install
#vi /etc/xined.d/proftp
//아래 내용을 추가하고 저장함
service ftp
{
disable = no
flags = REUSE
socket_type = stream
instances = 50
wait = no
user = root
server = /usr/local/sbin/in.proftpd
bind = your-ip
log_on_success = HOST PID
}
#vi /usr/local/etc/proftpd.conf
//아래 내요을 수정해줌
ServerType inetd
Group ftp
DefaultRoot ~ //앞의 주석을 제거함
#/etc/init.d/xinetd restart //proftpd 시작
//ftp에 접속 가능한 사용자 추가
#useradd 사용자아이디
#passwd 사용자암호
Zlib 설치하기
#wget http://fordream.damoa.biz/zlib-1.2.1.tar.gz
#tar -xzvf zlib-1.2.1.tar.gz
#cd zlib-1.2.1
#./configure
#make
#make install
libpng 설치하기
#wget http://fordream.damoa.biz/libpng-1.2.8.tar.gz
#tar -xzvf libpng-1.2.8.tar.gz
#cd libpng-1.2.8
#cp scripts/makefile.linux makefile
#make
#make install
freetype 설치하기
#wget http://fordream.damoa.biz/freetype-1.3.1.tar.gz
#tar -xzvf freetype-1.3.1.tar.gz
#cd freetype-1.3.1
#./configure
#make
#make install
libjpeg 설치하기
#wget http://fordream.damoa.biz/jpegsrc.v6b.tar.gz
#tar -xzvf jpegsrc.v6b.tar.gz
#cd jpeg-6b
#./configure --enable-shared --enable-static
#make
#make install
#make test
#make install
gd설치하기
#wget http://fordream.damoa.biz/gd-2.0.33.tar.gz
#tar -xzvf gd-2.0.33.tar.gz
#cd gd-2.0.33
#./configure
#make
#make install
glibxml2 설치하기
#wget http://xmlsoft.org/sources/libxml2-2.6.16.tar.gz
#tar -xzvf libxml2-2.6.16
#cd libxml2-2.6.16
#./configure
#make
#make install
이거 설치 않하면 mysql make도중 에러 남 -.-a
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/update/2.1/ncurses-devel-5.3-9.3.i386.rpm
#rpm -Uvh ncurses-devel-5.3-9.3.i386.rpm
mysql 설치하기
#wget http://mysql.byungsoo.net/Downloads/MySQL-4.1/mysql-4.1.8.tar.gz
#tar -xzvf mysql-4.1.8.tar.gz
#cd mysql-4.1.8
./configure \
--prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data \
--disable-shared --enable-assembler \
--with-thread-safe-client --with-mysqld-user="mysql" \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static \
--with-readline --without-debug \
--without-docs --without-bench \
--with-charset=euckr
#make
#make install
#cp support-files/mysql.server /etc/init.d/
#chmod 755 /etc/init.d/mysql.server
#cd /usr/local/mysql/share/mysql/
#cp my-medium.cnf /etc/my.cnf
apache 설치하기
#wget http://www.reverse.net/pub/apache/httpd/httpd-2.0.52.tar.gz
#tar -xzvf httpd-2.0.52
#cd httpd-2.0.52
# ./configure --prefix=/usr/local/apache --enable-rule=SHARED_CORE --enable-modules=so --enable-so
#make
#make install
이거 설치않면 php make 도중 에러 발생 -.-a
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/Plus_pack_1/RPMS_Maru_pack/gmp-4.1.2-5.i386.rpm
#wget ftp://ftp.nuxone.co.kr/linux/NuxOne/Plus_pack_1/RPMS_Maru_pack/gmp-devel-4.1.2-5.i386.rpm
#rpm -Uvh gmp-4.1.2-5.i386.rpm
#rpm -Uvh gmp-devel-4.1.2-5.i386.rpm
php 설치하기
#wget http://ftp.superuser.co.kr/pub/php/php-5.0.3.tar.gz
#tar -xzvf php-5.0.3.tar.gz
#mv php-5.0.3 /usr/local/php
#cd /usr/local/php
CFLAGS="-O3 -march=i686 -funroll-loops -fomit-frame-pointer" \
./configure \
--with-zlib --with-gd --with-ttf --with-png \
--with-expat-dir=/usr --with-gmp --with-png \
--with-mysql=/usr/local/mysql \
--with-apache2=/usr/local/apache \
--with-config-file-path=/usr/local/apache/conf \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-language=korean \
--with-charset=euc-kr \
--disable-debug --disable-posix --disable-rpath \
--enable-safe-mode --enable-magic-quotes \
--disable-dmalloc --enable-bcmath \
--enable-dio --enable-gd-native-ttf \
--enable-sysvsem --enable-sysvshm \
--enable-wddx --enable-versioning \
--enable-pic --enable-inline-optimization \
--enable-memory-limit --enable-mbstring \
--enable-mbregex --enable-mbstr-enc-trans \
--with-config-file-path=/usr/local/lib --enable-ftp --disable-debug --enable-track-vars=yes \
--with-jpeg-dir --with-freetype-dir \
--enable-gd-native-ttf --enable-dl \
--with-kerberos
#make
#make install
#cp php.ini-dist /etc/php.ini
ZendOptimizer 설치하기
#wget http://fordream.damoa.biz/ZendOptimizer-2.5.7-linux-glibc21-i386.tar.gz
#tar -xzvf ZendOptimizer-2.5.7-linux-glibc21-i386.tar.gz
#cd ZendOptimizer-2.5.7-linux-glibc21
#./install.sh
[Enter]
[Enter]
[Enter]
[Enter]
apache 설정하기
#vi /usr/local/apache/conf/httpd.conf
// php파일을 웹서버에서 인식하기 위해 아래두줄 추가
AddType application/x-httpd-php .php .php3 // php파일로 해석할 확장명설정
AddType application/x-httpd-php-source .phps // php 소스로 해석할 확장명설정
// 처음페이지로 인식할 파일명설정
DireactoryIndex index.html index.php
mysql 설정하기
#cd /usr/local/mysql/bin
#./mysql_install_db
#/etc/init.d/mysql.server restart
#./mysqladmin -u root password 'new-password'
#./mysqladmin -u root -h 'your-hostname' password 'new-password'
booting시 자동 시작하도록 설정하기
#vi /etc/rc.local
//마지막 줄에 아래 두줄 추가
/usr/local/apache/bin/apachectl start
/etc/init.d/mysql.server start
참고사이트
http://wiki.kldp.org/wiki.php/APM
http://as.damoa.biz/?doc=bbs/gnuboard.php&bo_table=hosting_tip&wr_id=1<div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:32:05 Linux에서 이동 됨]</div>
댓글 2개
damoa.biz
20년 전
질문을 보니 모르는게 많은거 같네요..^^. 여하튼, 관심이 있으시다면 한번 시도해보세요..시도하면서 안되는게 있으면 그때 그때 해결방법을 찾아나가면서 조금씩 배워나가면 됩니다. 일단 시작하세요!!
20년 전
저는 아직 모르는게 너무 많아서 그런데요~~
위에 있는 Script는 어떻게 설치하나요?
웹서버에 그냥 설치할 수 있는건가요???
위에 있는 Script는 어떻게 설치하나요?
웹서버에 그냥 설치할 수 있는건가요???
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6530 |
퍼블리셔강
|
12년 전 | 643 | |
| 6529 | 12년 전 | 1299 | ||
| 6528 | 12년 전 | 619 | ||
| 6527 | 12년 전 | 788 | ||
| 6526 | 12년 전 | 6576 | ||
| 6525 | 12년 전 | 548 | ||
| 6524 | 12년 전 | 835 | ||
| 6523 | 12년 전 | 482 | ||
| 6522 | 12년 전 | 530 | ||
| 6521 | 12년 전 | 797 | ||
| 6520 | 12년 전 | 737 | ||
| 6519 | 12년 전 | 1737 | ||
| 6518 |
가슴시린하늘
|
12년 전 | 1723 | |
| 6517 | 12년 전 | 1360 | ||
| 6516 | 12년 전 | 5225 | ||
| 6515 | 12년 전 | 1494 | ||
| 6514 | 12년 전 | 1595 | ||
| 6513 | 12년 전 | 950 | ||
| 6512 | 12년 전 | 1973 | ||
| 6511 | 12년 전 | 1367 | ||
| 6510 | 12년 전 | 3053 | ||
| 6509 |
프로프리랜서
|
12년 전 | 2547 | |
| 6508 |
프로프리랜서
|
12년 전 | 1897 | |
| 6507 |
프로프리랜서
|
12년 전 | 2372 | |
| 6506 |
프로프리랜서
|
12년 전 | 1852 | |
| 6505 |
프로프리랜서
|
12년 전 | 1631 | |
| 6504 | 12년 전 | 1019 | ||
| 6503 | 12년 전 | 1125 | ||
| 6502 |
프로프리랜서
|
12년 전 | 5551 | |
| 6501 |
프로프리랜서
|
12년 전 | 2595 | |
| 6500 |
프로프리랜서
|
12년 전 | 3080 | |
| 6499 |
프로프리랜서
|
12년 전 | 1748 | |
| 6498 |
프로프리랜서
|
12년 전 | 1460 | |
| 6497 | 12년 전 | 803 | ||
| 6496 |
yunkiri486
|
12년 전 | 1806 | |
| 6495 | 12년 전 | 915 | ||
| 6494 | 12년 전 | 1490 | ||
| 6493 | 12년 전 | 2758 | ||
| 6492 |
오늘도망했다
|
12년 전 | 2335 | |
| 6491 |
오늘도망했다
|
12년 전 | 1677 | |
| 6490 |
오늘도망했다
|
12년 전 | 6654 | |
| 6489 |
오늘도망했다
|
12년 전 | 2491 | |
| 6488 |
홈피119
|
12년 전 | 697 | |
| 6487 | 12년 전 | 663 | ||
| 6486 | 12년 전 | 1406 | ||
| 6485 | 12년 전 | 2049 | ||
| 6484 | 12년 전 | 896 | ||
| 6483 | 12년 전 | 703 | ||
| 6482 | 12년 전 | 1332 | ||
| 6481 | 12년 전 | 1463 | ||
| 6480 |
Header
|
12년 전 | 687 | |
| 6479 |
|
12년 전 | 1123 | |
| 6478 |
개초보제이
|
12년 전 | 1392 | |
| 6477 | 12년 전 | 782 | ||
| 6476 | 12년 전 | 1071 | ||
| 6475 | 12년 전 | 3669 | ||
| 6474 | 12년 전 | 1417 | ||
| 6473 | 12년 전 | 961 | ||
| 6472 | 12년 전 | 842 | ||
| 6471 |
AMDbest
|
12년 전 | 1202 | |
| 6470 |
jinmuk
|
12년 전 | 1443 | |
| 6469 |
jinmuk
|
12년 전 | 4242 | |
| 6468 |
jinmuk
|
12년 전 | 5568 | |
| 6467 | 12년 전 | 688 | ||
| 6466 |
jinmuk
|
12년 전 | 2263 | |
| 6465 |
jinmuk
|
12년 전 | 6728 | |
| 6464 |
jinmuk
|
12년 전 | 2403 | |
| 6463 |
jinmuk
|
12년 전 | 9320 | |
| 6462 |
희망과열정
|
12년 전 | 522 | |
| 6461 |
Header
|
12년 전 | 722 | |
| 6460 |
희망과열정
|
12년 전 | 1348 | |
| 6459 |
프리랜서개발자
|
12년 전 | 1667 | |
| 6458 | 12년 전 | 1321 | ||
| 6457 |
jinmuk
|
12년 전 | 1932 | |
| 6456 |
jinmuk
|
12년 전 | 2336 | |
| 6455 |
jinmuk
|
12년 전 | 3190 | |
| 6454 |
jinmuk
|
12년 전 | 2162 | |
| 6453 |
jinmuk
|
12년 전 | 2337 | |
| 6452 |
jinmuk
|
12년 전 | 2307 | |
| 6451 |
jinmuk
|
12년 전 | 1586 | |
| 6450 |
jinmuk
|
12년 전 | 1392 | |
| 6449 |
jinmuk
|
12년 전 | 1035 | |
| 6448 |
jinmuk
|
12년 전 | 1228 | |
| 6447 |
jinmuk
|
12년 전 | 2002 | |
| 6446 |
jinmuk
|
12년 전 | 1561 | |
| 6445 |
jinmuk
|
12년 전 | 1261 | |
| 6444 |
jinmuk
|
12년 전 | 2303 | |
| 6443 |
jinmuk
|
12년 전 | 2041 | |
| 6442 |
jinmuk
|
12년 전 | 1882 | |
| 6441 |
jinmuk
|
12년 전 | 1614 | |
| 6440 |
jinmuk
|
12년 전 | 2314 | |
| 6439 |
jinmuk
|
12년 전 | 1133 | |
| 6438 |
wndProc
|
12년 전 | 772 | |
| 6437 | 12년 전 | 392 | ||
| 6436 |
senseme
|
12년 전 | 539 | |
| 6435 | 12년 전 | 1043 | ||
| 6434 | 12년 전 | 2471 | ||
| 6433 | 12년 전 | 2479 | ||
| 6432 | 12년 전 | 1556 | ||
| 6431 |
밥먹고합시다
|
12년 전 | 1182 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기