apt -y update && apt -y upgrade
reboot
Install dependency
#!/bin/bash | |
# bash script auto install patch NeoFeeder (Apps) | |
# Author: Yusuf Ayuba | |
#-----------------------------------------------------------# | |
# Inisial variable | |
# IMAGE_ID = ID Image neofeeder | |
# EXT_PATCH = (7z, zip) | |
# FILE_PATCH = nama file patch (without ext) | |
# FOLDER_NEOFEEDER = folder tempat neofeeder berada |
Edit file /etc/default/locale
nano /etc/default/locale
paste this
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
#!/bin/bash | |
# Backup Mysql DB, Wordpress (https://dutainformasi) | |
# Author Yusuf Ayuba (hello@yusufayuba.net) | |
#override endpoint aws amazone s3 with endpoint s3 kilatstorage | |
alias aws='aws --endpoint-url https://s3-id-jkt-1.kilatstorage.id' | |
# inisial variabel | |
tgl=$(date +'%H:%M:%S_%d-%m-%Y') | |
USER_DB="user_db" |
//optional, setting LC_CTYPE https://gist.github.com/virbo/bcdfc0e41794b18ba4c538071828dd8d
#!/bin/bash | |
#Description: File library berisikan variabel-variabel dan function-function | |
#Author: Yusuf Ayuba | |
#user yang bisa menjalankan script ini | |
USER_ALLOW="root" | |
#inisial variabel-variabel (Silahkan sesuaikan isian email pengirim dan email tujuan) | |
FROM="email pengirim" | |
EMAIL="email tujuan" |