mirror of https://github.com/midoks/mdserver-web
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
450 B
25 lines
450 B
#!/bin/bash
|
|
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
|
|
export PATH
|
|
LANG=en_US.UTF-8
|
|
|
|
|
|
mkdir -p /www/server
|
|
mkdir -p /www/wwwroot
|
|
mkdir -p /www/wwwlogs
|
|
mkdir -p /www/backup/database
|
|
mkdir -p /www/backup/site
|
|
|
|
apt update -y
|
|
|
|
apt install -y wget curl vixie-cron lsof iptables
|
|
apt install -y python3-pip
|
|
apt install -y python3-venv
|
|
|
|
if [ ! -d /root/.acme.sh ];then
|
|
curl https://get.acme.sh | sh
|
|
fi
|
|
|
|
|
|
echo "debian dev..."
|
|
|
|
|