This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| # Amazon S3 Bucket name | |
| # Example: S3BUCKET=production-database-backups | |
| S3BUCKET=username-backups | |
| # Individual Amazon S3 directories in the bucket separated by spaces. | |
| # Prefix underscore(_) with a backslash(\) in directory name. | |
| # Example: DIRECTORIES=(code1 code2 code3 code\_4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
| # Temporary Path where the archive will be created and stored before uploading to S3 | |
| # Example: BACKUPPATH=/mnt | |
| BACKUPPATH=/ | |
| # Amazon S3 Bucket name | |
| # Example: S3BUCKET=production-database-backups | |
| S3BUCKET= |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Nanorc files | |
| include "/usr/share/nano/nanorc.nanorc" | |
| ## C/C++ | |
| include "/usr/share/nano/c.nanorc" | |
| ## HTML | |
| include "/usr/share/nano/html.nanorc" | |
| ## TeX |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Download and Install the Latest Updates for the OS | |
| apt-get update && apt-get upgrade -y | |
| # Set the Server Timezone to CST | |
| echo "America/Chicago" > /etc/timezone | |
| dpkg-reconfigure -f noninteractive tzdata | |
| # Enable Ubuntu Firewall and allow SSH, HTTP & HTTPS Ports | |
| ufw allow 22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Download and Install the Latest Updates for the OS | |
| apt-get update && apt-get upgrade -y | |
| # Set the Server Timezone to CST | |
| echo "America/Chicago" > /etc/timezone | |
| dpkg-reconfigure -f noninteractive tzdata | |
| # Enable Ubuntu Firewall and allow SSH, HTTP & HTTPS Ports | |
| ufw allow 22 |