https://github.com/shreyasmg46/web_deployment_bashscripts
Bash Script for automating the steps of the deployment
https://github.com/shreyasmg46/web_deployment_bashscripts
bash-script crontab-script mysql-script scripts
Last synced: over 1 year ago
JSON representation
Bash Script for automating the steps of the deployment
- Host: GitHub
- URL: https://github.com/shreyasmg46/web_deployment_bashscripts
- Owner: shreyasmg46
- Created: 2023-07-31T10:37:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-26T13:44:13.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T03:12:24.863Z (over 1 year ago)
- Topics: bash-script, crontab-script, mysql-script, scripts
- Language: HTML
- Homepage:
- Size: 2.85 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BashScript
Bash Script for automating the steps of the deployment
Web page deployment has done with sample html template from tooplate.com
# Script_1
The file contains system uptime, memory and disk utilization by each instance
# Script_2
The first step contains the installation steps of httpd package on amazon-linux and enabling the httpd service
Creating the directory in temp directory
Default path of httpd - /var/www/html
Third step includes the downloading the sample html files from tooplate.com to /var/www/html
Restarting the httpd service
After the deployment of sample html files, tmp directory will be deleted.
# Script_3
This script has the same procedure of the above script with variable declaration.
# Script_4
This script has the same steps following to both script_2 and script_3
While running this script we have to pass the argument (i.e package names which has to be installed on virtual machines)
# Script_5
This script is used to findout the available RAM, LOAD on the machine and free size of the disk
# Script_6
This script checks whether the particular service is running or not
# Script_7
This Crontab script is used to get the .sql file for backup of database
MM HH DOM MM(Month) DOW