Need to Create Installation Script
Hello,
I would like to create an Installation Script so i need to know some commands like i would like to create an file.sh with following commands
I would like to add some additional commands like i had created an Easyapache file Something.json so i can download it over wget from other server and i need to know where that file (which directory) should be uploaded and how i can able to provision that something.json file over command
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest;
touch /var/cpanel/disable_whm_terminal_ui;
cd /usr/src;
rm -fv csf.tgz;
wget https://download.configserver.com/csf.tgz;
tar -xzf csf.tgz;
cd csf;
sh install.sh;
cd /root/;
I would like to add some additional commands like i had created an Easyapache file Something.json so i can download it over wget from other server and i need to know where that file (which directory) should be uploaded and how i can able to provision that something.json file over command
Please sign in to leave a comment.
Comments
2 comments