DevOps BashScript attempt
ASSIGNMENT GOAL Bash Script - Create a bash script that updates the OS, installs MySQL, MongoDB, and Apache. Replace the default Apache page with a copy of another website.
- Run your new VM
- Log in
- SCP the .sh file from this repository into your VM
- Locate and cd to the folder containing the .sh file in your VM
- Run this command: chmod 755 script.sh
- Run this command: sed -i 's/\r//g' script.sh
- Run the script using this command: ./script.sh
- If your script suddenly stops at an "apt key" depracated error, you may have to input "Host Key + C" to break out of the error message and continue with your script.
- Open your browser and input your VM's ip address
- Check-out the semi-functional mock store I made using HTML/CSS & JavaScript!