Script backup server
- Details
- Written by: Bayu Aji
- Category: OS
{googleads}
Step 1: Install s3cmd to access the S3 bucket from your server. (Optional: S3 backup only)
sudo apt-get install s3cmd
s3cmd --configure
The option –configure will prompt for S3 bucket and credentials. Just follow the prompt, you may get this information from your AWS S3 Console using this guide. At the end of the command, s3cmd will prompt you to test and verify connection.
Step 2: Create the backup script.
Copy the script below which allows backup of your database and file system into your backup folder. The script includes command to transfer backup files to S3. You may remove them should you not need to transfer the files to s3.
Install OpenVpn
- Details
- Written by: Bayu Aji
- Category: OS
{googleads}

$ wget https://git.io/vpn -O openvpn-install.sh
$ bash openvpn-install.sh
$ cat /etc/rc.local
$ more /etc/openvpn/server.conf
$ vi /etc/openvpn/server.conf
$ systemctl stop openvpn@server
$ systemctl start openvpn@server
$ systemctl restart openvpn@server
$ /etc/init.d/openvpn stop
$ /etc/init.d/openvpn start
$ /etc/init.d/openvpn restart
Kabel charger vivan spring FM100
- Details
- Written by: Bayu Aji
- Category: Lain lain
{googleads}
Hanya bisa bilang wow, saat lihat kemasan ini charger. Semua berawal ketika saya bermasalah dengan kabel charger yang tidak bekerja sebagaimana mestinya. Ya putus nyambung gitu lah... :D
Dan akhirnya saya putuskan untuk beli kabel charger lagi. Dan pilihan jatuh pada Vivan spring fm100 karena dia ada springnya. Berharap kabel ini bisa lebih awet. Dan harganya pun hanya 27 ribu. Dan berikut penampakan kabel charger vivan fm100 yang sangat exclusive menurut saya :

{googleads}

Update :
kualitas lumayan lah dengan harga segitu, hanya saja dia tidak support fast charging. Jadi paling arus yang lewat sekitar 1 A. Jadi saya punya quick charge yg qualcom 3.0 . dengan kabel Nokia yang lama, yang tebal. Arus yang terbaca bisa sampai 2.5 A tapi kalau pakai kabel ini hanya berkisar 1 A. Jadi pelajaran yang bisa saya ambil: kabel dengan harga murah tentu ada sisi minusnya dan kemampuan kabel menghantarkan arus listrik ini adalah salah satunya.
Page 39 of 69
