Nginx on N1
vi /etc/opkg/hacklog.conf
src/gz hacklog http://bin.entware.net/aarch64-k3.10Optional, use proxy to speed up connection to entware host
export http_proxy=127.0.0.1:xxxx
sh /opt/entware_aarch64-k3.10_init.sh
vi /etc/profile
append the following line to the end
. /opt/etc/profile
source /etc/profile
opkg update
To install flexget
opkg install python python-lib2to3 python-pip python-openssl python-pyopenssl python-distutils python-setuptool
pip install flexgetTo install nginx
opkg install nginx php7-cgi
mv /opt/etc/nginx/nginx.conf /opt/etc/nginx/nginx.conf-orig
cat >> /opt/etc/nginx/nginx.conf << 'EOF'`
#Remember to use new config format for nginx
events {
...
}
http {
...
server {
...
}
}
EOFAuto start Entware modules at boot
Add /opt/etc/init.d/S80nginx start to /etc/rc.local
Previousssh won't load key (error in libcrypto or Permission denied (publickey)) but ssh-add can load keyNextN1 nfs guide
Last updated