masih web server tcuy!!
INSTALL DAN KONFIGURASI WEB SERVER APACHE DEBIAN 11
/
- INSTALLL APACHE2
#apt update
#apt install apache2
#apache2 -v
#systemctl start apache2.servive
#systemctl status apache2.servive
#/var/www/index.html
#/etc/apache2/sites-available/000-default.conf
#systemctl restart apache2
- mengaktifkan dan nonaktifkan akses file
#a2ensite contoh.com.conf
#a2dissite 000-default.conf
- konfigurasi firewall
#apt install ufw
#ufw allow 80/tcp
#sudo ufw allow 443/tcp
#ufw enabled
Komentar
Posting Komentar