Update install orbit env script.

This commit is contained in:
BoHung Chiu 2022-08-04 15:33:40 +08:00
parent 2ce0d52553
commit 1769ff5a7c
1 changed files with 3 additions and 2 deletions

View File

@ -10,8 +10,9 @@ echo "postfix postfix/mailname string $USER" | sudo debconf-set-selections
echo "postfix postfix/main_mailer_type string 'Local only'" | sudo debconf-set-selections
sudo apt-get install -y postfix
sudo service postfix start
#install nginx 1.18
sudo apt install nginx -y
#install nginx 1.23.1
wget http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/install_nginx.sh -O install_nginx.sh
bash install_nginx.sh
sudo nginx -t
nginx_status="$(echo $?)"
if [ $nginx_status != 0 ]; then