Update install
This commit is contained in:
@@ -144,10 +144,8 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
make install
|
make install
|
||||||
ldconfig
|
ldconfig
|
||||||
|
|
||||||
mkdir -p /nginx
|
|
||||||
mkdir -p /nginx/live
|
mkdir -p /nginx/live
|
||||||
mkdir -p /nginx/logs
|
mkdir -p /nginx/logs
|
||||||
mkdir -p /nginx/cache
|
|
||||||
mkdir -p /nginx/conf.d
|
mkdir -p /nginx/conf.d
|
||||||
touch /nginx/logs/access.log
|
touch /nginx/logs/access.log
|
||||||
touch /nginx/logs/error.log
|
touch /nginx/logs/error.log
|
||||||
@@ -167,7 +165,6 @@ case "`grep DISTRIB_CODENAME /etc/*-release | awk -F '=' '{print $2}'`" in
|
|||||||
mkdir -p /nginx/modsecurity/
|
mkdir -p /nginx/modsecurity/
|
||||||
cd /hostdata/default/public_html/
|
cd /hostdata/default/public_html/
|
||||||
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/html/index.html
|
wget https://raw.githubusercontent.com/theraw/The-World-Is-Yours/master/static/html/index.html
|
||||||
useradd nginx
|
|
||||||
sudo update-rc.d nginx defaults
|
sudo update-rc.d nginx defaults
|
||||||
|
|
||||||
cd /nginx/; mkdir db/; cd db/; wget https://github.com/theraw/The-World-Is-Yours/raw/master/static/GeoLite2-Country.mmdb
|
cd /nginx/; mkdir db/; cd db/; wget https://github.com/theraw/The-World-Is-Yours/raw/master/static/GeoLite2-Country.mmdb
|
||||||
|
|||||||
Reference in New Issue
Block a user