티스토리 뷰

EtC

nginx compile log(debian 7.8 - 64bit)

freecatz 2019. 7. 3. 17:48

root@freecatz-pe-kr:~# cat /etc/issue

Debian GNU/Linux 7

root@freecatz-pe-kr:~# cat /etc/debian_version

7.8

 

root@freecatz-pe-kr:~# sudo apt-get install gcc g++ libpcre3-dev

root@freecatz-pe-kr:~# mkdir -p archive/nginx-compile
root@freecatz-pe-kr:~# cd archive/nginx-compile

root@freecatz-pe-kr:~# wget http://nginx.org/download/nginx-1.17.1.tar.gz
root@freecatz-pe-kr:~# wget https://www.openssl.org/source/openssl-1.0.2s.tar.gz
root@freecatz-pe-kr:~# wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.43.tar.gz
root@freecatz-pe-kr:~# wget http://zlib.net/zlib-1.2.11.tar.gz

root@freecatz-pe-kr:~# tar zxvf nginx-1.17.1.tar.gz
root@freecatz-pe-kr:~# tar zxvf openssl-1.0.2s.tar.gz
root@freecatz-pe-kr:~# tar zxvf pcre-8.43.tar.gz
root@freecatz-pe-kr:~# tar zxvf zlib-1.2.11.tar.gz

root@freecatz-pe-kr:~# cd nginx-1.17.1/
root@freecatz-pe-kr:~# pwd

/root/archive/nginx-compile/nginx-1.17.1


root@freecatz-pe-kr:~# ./configure --with-pcre=/root/archive/nginx-compile/pcre-8.43 --with-openssl=/root/archive/nginx-compile/openssl-1.0.2s --with-zlib=/root/archive/nginx-compile/zlib-1.2.11 --with-http_ssl_module  --with-debug --user=freecatz --prefix=/usr/local/nginx-1.17.1

... 길어서 중략...

 

 

root@freecatz-pe-kr:~# make;make install

... 길기도 하고 오래 걸려서 생략...

 

 

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함