Instalasi Password pada akun root MariaDB / MySQL adalah sebagai berikut
Instalasi Password
# mysql -u root -p
ALTER USER root@localhost IDENTIFIED VIA mysql_native_password;
SET PASSWORD = PASSWORD('passwordbaru');

Connect, Research, Defend
Instalasi Password pada akun root MariaDB / MySQL adalah sebagai berikut
# mysql -u root -p
ALTER USER root@localhost IDENTIFIED VIA mysql_native_password;
SET PASSWORD = PASSWORD('passwordbaru');
Dalam notasi oktal, nilai permission dihitung dari penjumlahan read=4, write=2, execute=1. Tiga digit utama merepresentasikan owner, group, dan others secara berurutan.
| Nilai | Biner Permission | Simbol | Interpretasi |
| 0 | 000 | — | Tidak ada akses |
| 1 | 001 | –x | Execute |
| 2 | 010 | -w- | Write |
| 3 | 011 | -wx | Write + execute |
| 4 | 100 | r– | Read |
| 5 | 101 | r-x | Read + execute |
| 6 | 110 | rw- | Read + write |
| 7 | 111 | rwx | Read + write + execute |
Contoh perhitungan: chmod 750 aplikasi.sh berarti owner=7 (rwx), group=5 (r-x), others=0 (—).
Continue reading “CHMOD dan CHOWN”Meningkatkan keamanan headers pada web server apache. Terlihat pada gambar mendapat grade F karena 6 komponen belum di aktifkan.

Kemudian kita lanjutkan dengan mengedit file :
Continue reading “Konfigurasi Security / Keamanan Apache – Bagian 3”Mengakatifkan module reqtimeout.conf pada apache.
# a2enmod headers # a2enmod reqtimeout
Reqtimeout ini awalnya untuk mengurangi serangan seperti slowloris, maka dibuatlah module ini untuk menghalau serangan tersebut.
Continue reading “Konfigurasi Security / Keamanan Apache – Bagian 2”Konfigurasi security yang diperlukan pada web server apache :
nano /etc/apache2/conf-enabled/security.conf
ServerTokens Prod
ServerSignature Off #menyembunyika versi apache
TraceEnable Off
Kemudian konfigurasi pada apache2.conf
<Directory /var/www/cybernexus>
Options FollowSymLinks Indexes #jika tidak ada index.php maka blank
AllowOverride None
Require all granted
AllowOverride All
</Directory>
Pertama Downloadlah puttygen untuk membuat sertifikat

Kemudian kliklah Generate, dan gerakkan mouse pada box key!
Continue reading “Login SSH With Certificate File”Alur kerja sederhana :

su -
apt update
apt install fail2ban nftables -y
Aktifkan Fail2ban agar berjalan sekarang dan otomatis ketika server boot:
Continue reading “TUTORIAL FAIL2BAN PADA DEBIAN 13”