Skip to main content

Menambahkan repository kali rolling ke Windows Subsystem for Linux (WSL)

untuk menambahkan repository kali rolling ke dalam WSL ikuti cara berikut:

edit /etc/apt/source.list atau buat directory baru dalam /etc/apt/source.list.d/kali.list, lalu tambahkan line berikut:

deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free


setelah itu save

lalu jalankan apt-get update yang nanti akan muncul error:

root@DESKTOP-M8GIURV:~# apt-fast update
Get:1 http://kambing.ui.ac.id/ubuntu xenial InRelease [247 kB]
Get:2 http://kambing.ui.ac.id/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://kambing.ui.ac.id/ubuntu xenial-security InRelease [102 kB]
Get:5 http://kambing.ui.ac.id/ubuntu xenial-backports InRelease [102 kB]
Get:6 http://kambing.ui.ac.id/ubuntu xenial-proposed InRelease [253 kB]
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Ign:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease
Fetched 837 kB in 2s (309 kB/s)
Reading package lists... Done
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
W: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.


jalankan command berikut:

gpg --keyserver keyserver.ubuntu.com --recv-key ED444FF07D8D0BF6

key samakan dengan error yang diberikan pada saat apt-get update dalam hal ini key adalah ED444FF07D8D0BF6

lalu jalankan:

gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add -

coba lagi untuk mengupdate repo dengan apt-get update

Comments

Popular posts from this blog

Menginstall Nginx, MySQL, PHP on Ubuntu Bionic Beaver (18.04 LTS)

TAHAP I - INSTALL NGINX ns@ubuntu:~$ sudo apt install nginx TEST INSTALLASI NGINX ns@ubuntu:~$ curl http://ip_localhost TAHAP II - INSTALL MYSQL ans@ubuntu:~$ sudo apt install mysql-server ans@ubuntu:~$ sudo mysql_secure_installation Set password untuk mySql secure connection ans@ubuntu:~$ sudo mysql mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; mysql>ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; dimana 'password' di set sesuai keperluan lalu cek lagi, mysql> SELECT user,authentication_string,plugin,host FROM mysql.user; TAHAP III - INSTALL PHP ans@ubuntu:~$ sudo apt install php-fpm php-mysql ubah cgi.fix_pathinfo dari 1 menjadi 0 di file php.ini ans@ubuntu:~$ sudo nano /etc/php/7.2/fpm/php.ini cgi.fix_pathinfo=0 restart service php: ans@ubuntu:~$ sudo systemctl restart php7.2-fpm KONFIG AGAR NGINX MENGGUNAKAN PHP PROCESSOR edit file def

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan

Darkstat - Nework Traffic Analyzer atau Monitor Jaringan Apa itu Darkstat? Darkstat adalah pengumpul statistik jaringan. Secara efektif, ini adalah paket sniffer yang berjalan sebagai proses latar belakang pada Kabel / DSL router, mengumpulkan segala macam statistik berguna tapi menarik, Dan melayani mereka melalui HTTP. Fitur Darkstat Grafik lalu lintas Melacak lalu lintas per host. Melacak lalu lintas per port TCP dan UDP untuk setiap host. Embedded web-server dengan deflate compression. Asynchronous reverse DNS resolution menggunakan proses child. Kecil. Portable. Single-threaded. Efisien. Instalasi Darkstat di Ubuntu ~$ sudo Apt-get install darkstat Ini akan menyelesaikan instalasi. Setelah Anda menyelesaikan instalasi, Anda perlu mengedit file yang terletak di /etc/darkstat/init.cfg START_DARKSTAT = no menjadi START_DARKSTAT = iya Start darkstat  # / Etc / init.d / darkstat start Ini akan memulai proses darkstat Arahkan browser Anda di http:

Mount ISO image file on HP-UX

There are 2 ways to mount iso file in hp-ux 1) using LVM method (to copy ISO into a logical volume) is the same as for older HP-UX releases: 1. Find out the size of the ISO image: # du -k /data/myImage.iso NOTE: The size will be in Kb. 2. Create a logical volume for the ISO image: # lvcreate -L -n iso /dev/vg00 NOTE: The name of the logical volume will be /dev/vg00/iso 3. Copy the ISO file to the raw logical volume: # dd if=/data/myImage.iso of=/dev/vg00/riso bs=64k 4. Create a temporary directory and mount the /dev/vg00/iso volume # mkdir /iso_image # mount /dev/vg00/iso /iso_image NOTE: For HP-UX 11.11 you must install the latest CDFS patches: PHCO_25841 Add Rock Ridge extension to mount_cdfs(1M) PHKL_26269 Rock Ridge extension for ISO-9660 PHKL_34153 CDFS cumulative patch 2) Available in HP-UX 11.31 0909: ISOIMAGE-ENH. Provides a new DLKM module fspd. Required to mount, read and umount the ISO image file. The comm