Wordpress: Install fresh dengan Nginx

From OnnoWiki
Revision as of 04:33, 16 July 2020 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 localhost:8000

Browse ke localhost:8000