Update install
This commit is contained in:
@@ -1 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
ubuntu14() {
|
||||
apt-get update; apt-get upgrade -y; apt-get dist-upgrade -y; apt-get autoremove -y;
|
||||
apt-get install build-essential libssl-dev curl nano wget zip unzip git -y
|
||||
apt-get purge --remove nginx -y
|
||||
apt-get purge --remove apache2 -y
|
||||
mkdir -p /tmp; cd /tmp
|
||||
wget https://raw.githubusercontent.com/systemroot/my-nginx/master/nginx-as-firewall/setup
|
||||
chmod +x setup
|
||||
./setup clean
|
||||
clear
|
||||
./setup install
|
||||
clear
|
||||
./setup fix
|
||||
}
|
||||
|
||||
CentOS7() {
|
||||
yum -y update; yum -y upgrade
|
||||
yum install epel-release wget curl git zip unzip -y
|
||||
yum remove httpd -y
|
||||
yum remove apache2 -y
|
||||
yum remove nginx -y
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user