Update install orbit env script.
This commit is contained in:
parent
2ce0d52553
commit
1769ff5a7c
|
@ -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
|
echo "postfix postfix/main_mailer_type string 'Local only'" | sudo debconf-set-selections
|
||||||
sudo apt-get install -y postfix
|
sudo apt-get install -y postfix
|
||||||
sudo service postfix start
|
sudo service postfix start
|
||||||
#install nginx 1.18
|
#install nginx 1.23.1
|
||||||
sudo apt install nginx -y
|
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
|
sudo nginx -t
|
||||||
nginx_status="$(echo $?)"
|
nginx_status="$(echo $?)"
|
||||||
if [ $nginx_status != 0 ]; then
|
if [ $nginx_status != 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue