Langsung ke konten utama

Postingan

# Guide: Mounting Google Drive to WSL

Mounting Google Drive to WSL - Guide Guide: Mounting Google Drive to WSL Status: Successfully Mounted This guide documents the steps taken to mount your Google Drive ( ritooo@gmail.com ) to your WSL environment. Prerequisites rclone : A command-line program to manage files on cloud storage. FUSE : Filesystem in Userspace, required for mounting cloud drives. Steps Taken 1. Verify rclone Installation We checked if rclone was installed and configured. rclone version rclone config show 2. Verify Account Access We checked the contents of the gdrive remote to ensure it was the correct account. rclone lsd gdrive: --max-depth 1 3. Set Up Mount Point Initially, /mnt/gdrive was attempted, but it was owned by root . To avoid permission issues and sudo password requirements, we created a mount point in your home directory: mkdir -p ~/gdrive 4. Mount Google D...
Postingan terbaru

Install google experience 10 di Redmi 5 Plus

malam ini, ganti OS nya hp (redmi 5 plus (vince)) jadi pixel experience.... langkah - langkahnya : 1. download pixel experience 10 nya di sini (saya downloadnya di HP) : https://download.pixelexperience.org/changelog/vince/PixelExperience_Plus_vince-10.0-20200409-1004-OFFICIAL.zip/ 2. seteuntuk twrp recoverynya, saya pakai orangefox terbaru, untuk si vince 3. selanjutnya download adb tools , lalu, extrak orangefox recovery nya, ambil recovery.img, taruh di dalam 1 folder dengan adb 4. jalankan command ini : c:\adb>adb.exe devices List of devices attached 6cf09ad99805 device kalau muncul spt itu, berarti hp nya sudah terdeteksi, oh ya, sebelumnya, pastikan developer optionnya udah enable 5. selanjutnya reboot, masuk ke boot loader c:\adb>adb reboot bootloader 6. tunggu beberapa saat, maka masuk ke mode fastboot , kemudian, install recovery orangefox nya : c:\adb>fastboot.exe boot recovery.img downloading 'boot.img'... OKAY [ 0.702s] booting... OKAY [ ...

Create SFTP Server

create directory sftp 1. mkdir /opt/sftp/ create new group 1. groupadd sftpgroup create sftp 1. edit /etc/ssh/sshd_config uncomment this line #Subsystem      sftp    /usr/libexec/openssh/sftp-server change to Subsystem       sftp internal-sftp create acl Match Group sftpgroup         ChrootDirectory /opt/sftp/         ForceCommand internal-sftp 2. reload ssh service sshd restart 3. create username useradd -g sftpgroup -d /user -s /sbin/nologin user 4. create directory for user mkdir -p /opt/sftp/user 5. create ownership for directory user to user # chown -Rf user:sftpgroup /opt/sftp/user Testing from other site # sftp user@1.2.3.4 user@1.2.3.4's password: Connected to 1.2.3.4. sftp> pwd Remote working directory: /user sftp> put anaconda-ks.cfg Uploading anaconda-ks.cfg to /user/anaconda-ks.cfg anaconda-ks.cfg           ...

Membangun DNS Server menggunakan Bind dengan menambahkan fitur filtering domain Depkominfo.

Beberapa tahun belakan ini, pemerintah melalui Depkominfo cukup galak meminta operator untuk memberantas pornografi. Salah satunya adalah dengan memblok semua situs porno yang ada di dunia internet. Cara ini diakui kominfo cukup efektif, walaupun sebenarnya masih banyak situs - situs porno tersebut yang masih dapat diakses. Saat ini operator telekomunikasi dan ISP mengambil referensi domain yang diblok dari situs yang diberikan oleh depkominfo sendiri, yaitu di Trust Positif Kominfo . Terakhir, jumlah site yang berhasil diblok , jika berdasarkan file yang diambil di trust positif tersebut adalah sekitar 756050 site, jadi belum ada 1 juta. Untuk melakukan bloking terhadap domain tersebut, dibutuhkan aplikasi server. Yang bisa melakukan blok berdasarkan domain adalah DNS. Selama ini saya biasa menggunakan bind sebagai aplikasi dns server. Namun aplikasi tersebut belum mampu melakukan teknik blocking yang baik. Ide bloking menggunakan bind yang saya gunakan adalah melakukan manipulas...

Procedure di Mysql

Hari Rabu kemarin, saya dapat tugas dari bos. Dimintai tolong untuk insert record dalam jumlah yang cukup besar. Untungnya, record yang disuruh insert ini sifatnya incremental dan ada juga yang sama isinya. Sudah cukup lama juga ga berinteraksi dengan database, apalagi saya juga biasanya menggunakan database mysql. setelah buka-buka primbon manualnya mysql dan setelah googling sana sini, akhirnya ide untuk memasukka recordnya pun terwujud. Pada tutorial ini, yang digunakan adalah model looping. Metoda looping yang digunakan adalah menggunakan while, dan repeat. untuk yang pertama, saya menggunakan while, dan untuk task yang kedua menggunakan repeat. Sengaja saya coba 2 cara ini, sekalian belajar procedure mysql, dan juga sekalian melatih scripting yang sudah mulai lupa-lupa ingat :) Menggunakan while. Pada task ini, idenya adalah, saya ingin menambahkan suatu nomer msisdn berdasarkan range. range nya diketahui yaitu dari 628xxy000000 - 628xxy999999. kalau dumasukkan satu demi ...

Bind DNS Graph in Cacti

In My Previous tutorial, Menampilkan hasil DNS query pada cacti I tried to graph my bind dns server in cacti. At the moment, I usedBind version 4.3. By the time, ISC (Consorcium that create bind) always update this software. Usually, they update because of found bug, improve perfomance, hardware support, and other. Until now, Bind version is 10. but currently, I still use bind 9.8. it seems that, after bind 9.4, ISC change mayor update in thebind version. because of this, my tutorial for bind 9.3.4 did not compatible anymore for latest bind. I have tried to search in internet,googling, find the forum, but still not successfull.  And fortunately, 5 days ago, I tried to access cacti forum. found the new way to graph new bind version in cacti. for the forum, you can see at this link : http://forums.cacti.net/viewtopic.php?f=12&t=45926&start=0 Because of my couriousity, I tried to make graph my bind. Oh ya, I run my dns server in Linux (RHEL 5.5) I think ou can run...

extend disk via command :

Extend disk via command : I  assume the disk is recognize in my linux box is  : /dev/dsc1 and here are the steps 1. format disk #fdisk /dev/sdc #Command (m for help): n #Command (m for help): w 2. extend volume group disk using lvm vgextend VolGroup00 /dev/sdc1 3. extend disk to volume group lvextend -L +199G /dev/VolGroup00/LogVol00 4. make change permanent resize2fs /dev/VolGroup00/LogVol00 last, check using df utility : # df -h Filesystem                                               Size  Used Avail Use% Mounted on /dev/mapper/VolGroup01-LogVol00      5.8G  3.0G  2.5G  56%         / /dev/mapper/VolGroup01-LogVol01      961M   18M  895M   2%      /home /dev/mapper/VolGroup00-LogVol00...