Update 'NGINX-Installer.sh'
This commit is contained in:
@@ -281,7 +281,7 @@ newaliases
|
|||||||
#-------------------#
|
#-------------------#
|
||||||
# NETDATA #
|
# NETDATA #
|
||||||
#-------------------#
|
#-------------------#
|
||||||
if [$netdata = 1]
|
if [ $netdata = 1 ]
|
||||||
then
|
then
|
||||||
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
|
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
|
||||||
ufw allow 19999/tcp
|
ufw allow 19999/tcp
|
||||||
@@ -293,7 +293,7 @@ fi
|
|||||||
# MEMCACHED #
|
# MEMCACHED #
|
||||||
# 127.0.0.1:11211 #
|
# 127.0.0.1:11211 #
|
||||||
#-------------------#
|
#-------------------#
|
||||||
if [$memcached = 1]
|
if [ $memcached = 1 ]
|
||||||
then
|
then
|
||||||
apt-get install memcached -y
|
apt-get install memcached -y
|
||||||
systemctl restart memcached
|
systemctl restart memcached
|
||||||
@@ -304,7 +304,7 @@ fi
|
|||||||
# REDIS #
|
# REDIS #
|
||||||
# 127.0.0.1:6379 #
|
# 127.0.0.1:6379 #
|
||||||
#-------------------#
|
#-------------------#
|
||||||
if [$redis = 1]
|
if [ $redis = 1 ]
|
||||||
then
|
then
|
||||||
apt install redis-server -y
|
apt install redis-server -y
|
||||||
sed -i 's/supervised no/supervised systemd/g' /etc/redis/redis.conf
|
sed -i 's/supervised no/supervised systemd/g' /etc/redis/redis.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user