Bash script to automate optimized WordOps setup
Server Stack
- Nginx 1.15.x/1.14 with nginx-ee
- PHP-FPM 7.2/7.3
- MariaDB 10.1/10.2/10.3
- REDIS 5.0
- Fail2ban
- UFW Firewall
- ClamAV Antivirus
- Netdata
- Proftpd
- Acme.sh with ee-acme-sh
Documentation available here : Ubuntu-Nginx-Web-Server
Features
- Automated MariaDB server or client installation (10.1/10.2/10.3)
- Linux server tweaks
- WordOps automated installation
- php7.2-fpm/php7.3-fpm installation & configuration
- Latest Nginx release compiled with nginx-ee
- UFW configuration with custom SSH port
- Fail2ban Installation & Configuration
- Cloudflare visitor real IP configuration
- Netdata and EasyEngine-Dashboard installation
- Proftpd installation & configuration
Compatibility
- Ubuntu 16.04 LTS
- Ubuntu 18.04 LTS
Requirements
- login as root
- ssh connection with ssh keys (Recommended SSH software on Windows : Mobaxterm)
- VPS or dedicated server with at least 2GB RAM (Recommended Proviers : Hetzner, OVH, DigitalOcean, Linode, Vultr, Scaleway)
Usage
Interactive install in a single command
bash <(wget -O - virtubox.net/wo-nginx-setup || curl -sL virtubox.net/wo-nginx-setup) -i
Install configuration with config.inc file
Clone the repository
git clone https://github.com/VirtuBox/wo-nginx-setup.git $HOME/wo-nginx-setup
cd $HOME/wo-nginx-setup
Copy config.inc.example into config.inc and edit it
cp config.inc.example config.inc
nano config.inc
Set āyā or ānā to enable or disable features and then run the script
chmod +x wo-nginx-setup.sh && ./wo-nginx-setup.sh
Published & maintained by VirtuBox