Difference between revisions of "Wordpress: Install fresh dengan Nginx"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (Created page with "Download https://wordpress.org/latest.zip https://id.wordpress.org/latest-id_ID.zip Install mkdir /var/www/html cp Wordpress.zip /var/www/html unzip Wordpress.zip Bua...") |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Install Apps pendukung | ||
+ | |||
+ | apt -y install php php-mysql | ||
+ | |||
+ | |||
Download | Download | ||
Line 27: | Line 32: | ||
cd /var/www/html/ | cd /var/www/html/ | ||
+ | php -S 0.0.0.0:8000 | ||
php -S localhost:8000 | php -S localhost:8000 | ||
Browse ke localhost:8000 | Browse ke localhost:8000 |
Latest revision as of 12:17, 16 July 2020
Install Apps pendukung
apt -y install php php-mysql
Download
https://wordpress.org/latest.zip https://id.wordpress.org/latest-id_ID.zip
Install
mkdir /var/www/html cp Wordpress.zip /var/www/html unzip Wordpress.zip
Buat database
mysql -u root -p
create database wordpress;
Config
cd /var/www/html cp wp-config.sample.php wp-config.php vi wp-config.php
Sesuaikan db_user, db_password, db_name
Jalankan
cd /var/www/html/ php -S 0.0.0.0:8000 php -S localhost:8000
Browse ke localhost:8000