Professional Documents
Culture Documents
CENTOS 8
dnf update
dnf upgrade
dnf install nano wget unzip
dnf install openssh-server
nano /etc/ssh/sshd_config
Port 103
PermitRootlogin yes
systemctl restart sshd
setenforce 0
===================================================================================
=====================
dnf install httpd
httpd -v
nano /etc/httpd/conf/httpd.conf
Ganti menjadi
Listen 80 Listen 8103
#ServerName www.example.com:80 ServerName
192.168.100.103:8103
===================================================================================
===============================================================
dnf install mariadb-server
mysql --version
systemctl start mariadb
system enable mariadb
mysql_secure_installation
Enter current password for root (enter for none): ENTER
Set root password? [Y/n] y
New password: Admin123
Re-enter new password : Admin123
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
mysql -u root -p
Enter password: Admin123
MariaDB [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY
'Admin123' WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT
===================================================================================
==============================================================
===================================================================================
==============================================================
cd /var/www/html
wget "https://github.com/kmvan/x-prober/raw/master/dist/prober.php"
wget "https://github.com/vrana/adminer/releases/download/v4.7.7/adminer-4.7.7-
en.php"
mv adminer-4.7.7-en.php a.php
chmod -R 777 prober.php
chmod -R 777 a.php
systemctl restart httpd
check browser
http://192.168.100.103/prober.php or
http://rb.smkblokagung.sch.id:8103/prober.php
http://192.168.100.103/a.php or
http://rb.smkblokagung.sch.id:8103/a.php