Update ubuntu.sh

pull/109/head
midoks 3 years ago
parent daf7580183
commit d68f167eb7
  1. 6
      scripts/install/ubuntu.sh

@ -11,8 +11,11 @@ mkdir -p /www/wwwlogs
mkdir -p /www/backup/database mkdir -p /www/backup/database
mkdir -p /www/backup/site mkdir -p /www/backup/site
apt update -y
apt install -y wget curl vixie-cron lsof iptables 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 if [ ! -d /root/.acme.sh ];then
curl https://get.acme.sh | sh curl https://get.acme.sh | sh
@ -71,8 +74,7 @@ if [ ! -d /www/server/mdserver-web ];then
rm -rf /tmp/mdserver-web-master rm -rf /tmp/mdserver-web-master
fi fi
apt install -y python3-pip
apt-get install -y python3-venv
if [ ! -f /usr/local/bin/pip3 ];then if [ ! -f /usr/local/bin/pip3 ];then
python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple python3 -m pip install --upgrade pip setuptools wheel -i https://mirrors.aliyun.com/pypi/simple

Loading…
Cancel
Save