Skip to content
This repository has been archived by the owner on Aug 4, 2019. It is now read-only.

VirtuBox/wo-nginx-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash script to automate optimized WordOps setup


⚠️ Not maintained


commits


Server Stack

  • Nginx 1.16.x/1.15 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

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
  • Latest Nginx release compiled with nginx-ee
  • UFW configuration with custom SSH port
  • Fail2ban Installation & Configuration
  • Cloudflare visitor real IP configuration
  • WordOps-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 - vtb.cx/wo-nginx-setup || curl -sL vtb.cx/wo-nginx-setup) -i

Alternative method : Clone the repository

git clone https://github.com/VirtuBox/wo-nginx-setup.git $HOME/wo-nginx-setup
cd $HOME/wo-nginx-setup

Make wo-nginx-setup executable

chmod +x $HOME/wo-nginx-setup

Launch install

$HOME/wo-nginx-setup <options>

Set 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