mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
Update install.sh
This commit is contained in:
parent
0441733233
commit
9d04bc1ea2
1 changed files with 9 additions and 9 deletions
|
@ -460,27 +460,27 @@ install_systemd() {
|
|||
|
||||
|
||||
#--------------- main-----------------------------------------
|
||||
check_ports $http_port $https_port $port
|
||||
install_tools
|
||||
download_source
|
||||
check_ports $http_port $https_port $port | tee -a $path/install.log
|
||||
install_tools | tee -a $path/install.log
|
||||
download_source | tee -a $path/install.log
|
||||
|
||||
bash $install_path/install/install_docker.sh
|
||||
bash $install_path/install/install_docker.sh | tee -a $path/install.log
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "install_docker failed with error $?. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
install_backends
|
||||
install_backends | tee -a $path/install.log
|
||||
|
||||
install_systemd
|
||||
install_systemd | tee -a $path/install.log
|
||||
|
||||
bash $install_path/install/install_cockpit.sh
|
||||
bash $install_path/install/install_cockpit.sh | tee -a $path/install.log
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "install_cockpit failed with error $?. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
bash $install_path/install/install_plugins.sh
|
||||
bash $install_path/install/install_plugins.sh | tee -a $path/install.log
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "install_plugins failed with error $?. Exiting."
|
||||
exit 1
|
||||
|
@ -495,4 +495,4 @@ endtime=$(date +%s)
|
|||
runtime=$((endtime-starttime))
|
||||
echo "Script execution time: $runtime seconds"
|
||||
echo -e "\n-- Install success! ------"
|
||||
echo "Access Websoft9 console by: http://Internet IP:$(grep ListenStream /lib/systemd/system/cockpit.socket | cut -d= -f2) and using Linux user for login"
|
||||
echo "Access Websoft9 console by: http://Internet IP:$(grep ListenStream /lib/systemd/system/cockpit.socket | cut -d= -f2) and using Linux user for login"
|
||||
|
|
Loading…
Reference in a new issue