This file contains 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 | |
# Move Backup Public_html dan Database Harian | |
# First Source : https://nicaw.wordpress.com/2013/04/18/bash-backup-rotation-script/ | |
# Bash Script untuk backup harian, mingguan dan bulanan | |
# Bash Script for backup Manually Cpanel Account daily and move to Weekly, Monthly Folder | |
# Please Check again, Thanks you | |
# Step 1 | |
BACKUP_DIR=/home/backup | |
FILES_DIR=/home/USER/public_html |
This file contains 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 | |
#Generate SSL Key anda CSR | |
clear | |
openssl genrsa -out $1.key 2048 ; openssl req -new -sha256 -key $1.key -out $1.csr; | |
cat $1.csr $1.key |
NewerOlder