티스토리 뷰
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
- 맛집
- Security
- development
- TIP
- HTTP
- SSL
- Spring
- kotlin
- JavaScript
- Java
- Flutter
- Android
- food
- json parse
- ssh
- springboot
- web
- Mobile
- devel
- Review
- Fun
- devtools
- samba
- gpkiapi
- MySQL
- Compile
- dart
- Linux
- place
- 엘리스센터
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |