공식 사이트 : http://nginx.org/
참고 사이트 : https://www.hqt.ro/nginx-web-server-with-php-support-through-debian/
설치 진행
root@RT-AC56U:/# apt-get install nginx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
fontconfig-config fonts-dejavu-core geoip-database ifupdown iproute2 isc-dhcp-client isc-dhcp-common libalgorithm-c3-perl
libarchive-extract-perl libatm1 libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl libcpan-meta-perl
libdata-optlist-perl libdata-section-perl libdns-export100 libexpat1 libfcgi-perl libfontconfig1 libfreetype6 libgd3 libgdbm3
libgeoip1 libirs-export91 libisc-export95 libisccfg-export90 libjbig0 libjpeg62-turbo liblog-message-perl
liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl
libpackage-constants-perl libparams-util-perl libpng12-0 libpod-latex-perl libpod-readme-perl libregexp-common-perl
libsoftware-license-perl libsub-exporter-perl libsub-install-perl libterm-ui-perl libtext-soundex-perl libtext-template-perl
libtiff5 libvpx1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 libxtables10 netbase nginx-common
nginx-full perl perl-modules rename sgml-base ucf xml-core
Suggested packages:
ppp rdnssd net-tools iproute2-doc resolvconf avahi-autoipd libgd-tools geoip-bin fcgiwrap nginx-doc ssl-cert perl-doc
libterm-readline-gnu-perl libterm-readline-perl-perl make libb-lint-perl libcpanplus-dist-build-perl libcpanplus-perl
libfile-checktree-perl libobject-accessor-perl sgml-base-doc debhelper
Recommended packages:
libarchive-tar-perl
The following NEW packages will be installed:
fontconfig-config fonts-dejavu-core geoip-database ifupdown iproute2 isc-dhcp-client isc-dhcp-common libalgorithm-c3-perl
libarchive-extract-perl libatm1 libcgi-fast-perl libcgi-pm-perl libclass-c3-perl libclass-c3-xs-perl libcpan-meta-perl
libdata-optlist-perl libdata-section-perl libdns-export100 libexpat1 libfcgi-perl libfontconfig1 libfreetype6 libgd3 libgdbm3
libgeoip1 libirs-export91 libisc-export95 libisccfg-export90 libjbig0 libjpeg62-turbo liblog-message-perl
liblog-message-simple-perl libmodule-build-perl libmodule-pluggable-perl libmodule-signature-perl libmro-compat-perl
libpackage-constants-perl libparams-util-perl libpng12-0 libpod-latex-perl libpod-readme-perl libregexp-common-perl
libsoftware-license-perl libsub-exporter-perl libsub-install-perl libterm-ui-perl libtext-soundex-perl libtext-template-perl
libtiff5 libvpx1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2 libxpm4 libxslt1.1 libxtables10 netbase nginx
nginx-common nginx-full perl perl-modules rename sgml-base ucf xml-core
0 upgraded, 69 newly installed, 0 to remove and 0 not upgraded.
Need to get 15.3 MB of archives.
After this operation, 56.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
생략...
...
root@RT-AC56U-D028:# cd /etc/nginx/sites-enabled
root@RT-AC56U-D028:/etc/nginx/site-enabled# exit
exit
Done.
chule@RT-AC56U-D028:/# nano /jffs/scripts/firewall-start
chule@RT-AC56U-D028:/# chmod a+rx /jffs/scripts/firewall-start
chule@RT-AC56U-D028:/# sh /jffs/scripts/firewall-start
포트 포워딩 설정
주소창에 http://192.168.1.1:82 입력시 아래와 같이 나오면 정상
'[ASUS] RT-AC56U > Debian Jessie' 카테고리의 다른 글
[RT-AC56U] Transmission 설치 (0) | 2017.06.17 |
---|---|
[RT-AC56U] Debian Jessie - Arm 설치 (1) | 2017.06.17 |