1 - config ip (jgn lupa restart)
-systemctl restart networking
-reboot
-ping
2 - apt update && apt upgrade
3 - install apache2
-apt install apache
-cek masukkan ip di browser
4 - edit file 000-default
- nano /etc/apache2/sites-available/000-default.conf
- cari baris (document /var/www/html => /var/www/wordpress)
- mengubah direktori document ke wordpress
5 - restart apache
- systemctl restart apache2
6 - install php
- apt install php
7 - mariadb
- mysql -U root -P (bikin database dan user)
- CREATE DATABASE
- CREATE USER
- GRANT PRIVILEGES (DATABASE TO USER)
- FLUSH PRIVILAGES
- EXIT
0 komentar:
Posting Komentar