Script for new server including
- Install zip unzip
- Set bashrc
- Set Swap
- Set hostname
- Set timezone
- Install webserver
- Openlitespeed with PHP
- Nginx with PHP
- Apache2 with PHP
- Install MariaDB
- Install Wordpress
- Install wp-cli
- and many more!!
- run command
wget https://raw.githubusercontent.com/luozongbao/ServerScripts/main/actions.sh
wget https://raw.githubusercontent.com/luozongbao/ServerScripts/main/wpbackup.sh
wget https://raw.githubusercontent.com/luozongbao/ServerScripts/main/wpclean.sh
wget https://raw.githubusercontent.com/luozongbao/ServerScripts/main/wprestore.sh
- make the file executable
chmod +x actions.sh
- excute with sudo privileges
sudo ./actions.sh