Posted inLinux

Cara Menggunakan FastBoot Android Linux

Fastboot bisa digunakan untuk banyak hal, seperti install Custom Recovery (TWRP) ataupun untuk menginstall Custom ROM. Cara untuk menginstall fastboot di Linux cukup mudah, cek cara mudahnya dibawah ini Download fastboot dari fastboot versi terbaru. cd $HOME unzip platform-tools-latest-linux.zip cd platform-tools Flash Recovery format untuk flash file recovery ./fastboot flash recovery /home/tommy/Desktop/recovery.img Boot ke recovery […]

Posted inLinux

Install Unbound 1.6.0 Centos 7 Debian 9

Unbound salah satu DNS resolver yang bisa digunakan dan sangat mudah dalam konfigurasinya. Install Unbound # debian apt-get install unbound -y # centos yum install unbound -y Edit Unbound config Buka file tambahkan paling bawah hide-identity: yes hide-version: yes use-caps-for-id: yes   do-ip4: yes do-ip6: no Buka file /etc/unbound/unbound.conf.d/root-auto-trust-anchor-file.conf ubah auto-trust-anchor-file: "/var/lib/unbound/root.key" menjadi #auto-trust-anchor-file: "/var/lib/unbound/root.key" […]

Posted inLinux

Backup Data ke BackBlaze B2 dengan rclone

B2 Cloud Storage mirip dengan Amazon S3. Untuk pendaftaran langsung aja ke backblaze.com/b2, anda akan mendapatkan 10 GB gratis. Penyimpanan data di B2 bisa dibilang murah, Contoh untuk menyimpan data 100 GB anda hanya akan membayar $0.45/bulan (sekitar Rp.6.300). BackBlaze Account ID & Application Key Ambil Account ID & Application Key dari https://www.backblaze.com Download rclone […]

Posted inPHP

Laravel 5.5 Specified key was too long error

Error yang muncul [Illuminate\Database\QueryException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) Buka file app/Providers/AppServiceProvider.php Ubah public function boot() { // } menjadi public function boot() { \Schema::defaultStringLength(191); }

Posted inLinux

Membuat File Dummy Ukuran Besar di Linux

Untuk keperluan testing, kadang kita butuh data dummy dengan ukuran tertentu, contoh kalo mau tes limit attachment mail server, speed test dari server lain atau juga test mengisi full hardisk anda untuk benchmark. Untuk membuat data dummy tersebut di Linux gunakan fallocate. 10 GB file dummy fallocate -l 10GB dummy-file.tar.gz 1 GB file dummy fallocate […]