Postingan

Menampilkan postingan dari Januari, 2020

Laravel 404 not found but rote exists

This is my case if the webserver is apache2/httpd make sure the following directive is configured properly when installing Laravel. DocumentRoot "/var/www/html/laravel/public/" <Directory "/var/www/html/laravel/public"> Allowoverride All </Directory> More references:   https://laravel.io/forum/06-11-2014-not-found-but-route-exists

PostgreSQL ERROR: permission denied for relation users

Problem: ERROR: permission denied for relation users Solution: How to show schema_name: Connect to your database type: \dt and then execute grant command: GRANT ALL PRIVILEGES ON DATABASE name_db TO remote_user; GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA <schema_name> TO <username>; GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA <schema_name> TO <username>;

Configure SSH tunnel MySQL

Pada postingan ini sederhana sebagai catatan yaitu akan seolah-olah mengakses database pada server melalui local-pc. local-pc -----------internet----------------server-db server-db dengan IP misal 1.2.3.4 Daripada mengakses langsung database melalui IP publik internet yang tidak aman maka lebih baik memanfaatkan protokol SSH yang terenkripsi. command nya sederhana yaitu sebagai berikut: ssh nasohi@1.2.3.4  -L 3306:localhost:3306 S etelah berhasil masuk, bisa buka terminal lain/aplikasi database client untuk mengakses database melalu i localhost:3306 pada local-pc SSH tunnel ini bisa dimanfaatkan tidak hanya untuk remote database namun bisa disesuaikan dengan port service lainnya. Referensi lebih lanjut:  https://help.ubuntu.com/community/SSH/OpenSSH/PortForwarding Postingan di blog ini tentang mysql  https://nciptandani.blogspot.com/search?q=mysql

Referensi Link ITNSA

Konfigurasi AAA Cisco dengan Windows NPS https://theitbros.com/radius-server-configuration-on-windows/ https://blog.skufel.net/2012/06/how-to-integrating-cisco-devices-access-with-microsoft-npsradius/ Konfigurasi DMVPN https://networklessons.com/cisco/ccie-routing-switching/introduction-to-dmvpn http://www.firewall.cx/cisco-technical-knowledgebase/cisco-routers/901-cisco-router-dmvpn-configuration.html https://networkdirection.net/articles/routingandswitching/dmvpn/dmvpn-configuration/ https://www.ciscozine.com/dmvpn-phase-3-guide/ Konfigasi IPSec stateless HA https://blog.ine.com/2008/11/06/ipsec-vpn-high-availability-with-hsrp Konfigurasi Voice https://www.youtube.com/watch?v=gebqFiJbepc&list=PLzP4Y1y2eV8djxV3K_-PI-e4xOj4TbsJM

Configure NTP Server pada Cisco Router

Kali ini akan menjadi cisco router sebagai NTP server, pada tutorial ini juga akan menggunakan autentication pada koneksi NTP. Oh ya untuk tutorial lain tentang SNMP authentication(SNMPv3) bisa dilihat disini:  https://www.youtube.com/watch?v=ConDdPWGxlc Berikut langkah-langkah konfigurasinya untuk NTP: Disini ada 2 router dengan nama S-HQ dan R-ISP, R-ISP sebagai NTP server dan S-HQ sebagai NTP client: R-IS P (config)#clock timezone GMT +7 #clock set 00:50:00 January 7 2020 #show clock (config)# ntp autentication-key 1 md5 ntps3cur3pw (config)# ntp trusted-key 1 (config)# ntp authenticate (config)# ntp master S-HQ (config)#clock timezone  GMT +7 (config)# ntp autentication-key 1 md5  ntps3cur3pw (config)# ntp authenticate (config)# ntp trusted-key 1 (config)# ntp server 1.1.1.1 key 1 R-ISP #show ntp associations Di situ terlihat ip ref clock nya ke localhost 127.127.7.1 time diri sendiri karena sebagai ntp master. NTP s

How to configure apache2 auth openldap debian 10

Berikut adalah kofigurasi cukup singkat untuk melakukan autentikasi ke openldap pada website di apache2. Yang pertama pastikan apache2 sudah terinstall dengan baik dan tentukan site mana yang akan dipasang autentikasi. Kemudian pastikan juga server ldap sudah siap, untuk cara install, pembuatan user dan cek login openldap bisa dilihat di video dibawah ini: https://www.youtube.com/playlist?list=PL-p0E1DAGrw3cYSqmGUArs1qQSRPdbUmJ Enable modul apache2 untuk autentikasi ldap dengan perintah dibawah ini root@www:~# a2enmod ldap authnz_ldap Buat file baru dengan nama auth-ldap.conf dengan script dibawah ini: root@www:~# vi /etc/apache2/sites-available/auth-ldap.conf <Directory /var/www/html/ >     AuthName "LDAP Authentication"     AuthType Basic     AuthBasicProvider ldap     AuthLDAPURL ldap:// 10.20.30.1/dc=abcd,dc=local ?uid?sub?(objectClass=*)     Require valid-user </Directory> root@www:~# a2ensite auth-ldap root@www:~# systemctl restart a