2020-05-28 16:21:28 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
sudo apt upgrade
|
2020-06-08 10:43:48 +00:00
|
|
|
sudo apt install -y tmux ufw
|
2020-05-28 16:21:28 +00:00
|
|
|
|
|
|
|
sudo ufw allow ssh
|
|
|
|
sudo ufw allow http
|
|
|
|
sudo ufw allow https
|
|
|
|
sudo ufw allow 7080
|
|
|
|
sudo ufw enable
|
|
|
|
|
|
|
|
wget --no-check-certificate https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh && sudo bash ols1clk.sh -w
|
|
|
|
|
|
|
|
ln -s /usr/local/lsws/wordpress
|
|
|
|
sudo rm -Rf /usr/local/lsws/wordpress/*
|
2020-05-28 16:29:53 +00:00
|
|
|
mkdir site-archive
|
2020-05-28 16:21:28 +00:00
|
|
|
|
|
|
|
sudo /usr/local/lsws/admin/misc/admpass.sh
|