Skip to content

emka.web.id

Menu
  • Home
  • Indeks Artikel
  • Tutorial
  • Tentang Kami
Menu

How to Install Wordpress 5.0 in Raspberry Pi

Posted on December 25, 2018 by Syauqi Wiryahasana

WordPress 5.0 (or to be exact when this article is published, WordPress 5.0.2) is released as new major version with some big changes like the default editor and new concept for frontend interface of WordPress.

On this tutorial, we will install WordPress 5.0 in Raspberry Pi. I'm using Raspbian as the default operating system for my Raspberry Pi. Make sure, your raspberry pi internet connection is working and FAST. Heuheu

First, you need to update and upgrade to the latest repository and software available by this command:

sudo apt-get update
sudo apt-get upgrade

then we will install the database server with this command:

sudo apt-get install mariadb-server mariadb-client

make sure you remember the root password you're type in on those wizard. connect to MySQL/MariaDB server with:

mysql -u root -p

create a new database and setup new user:

create database wordpress;

#then

create user 'wordpress'@'localhost' identified by 'password';

#setup the privileges

grant all privileges on 'wordpress'.* to 'wordpress'@'localhost';

#flush
flush privileges;

Next step, installing Webserver and PHP by using this command:

sudo apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysqli php5-mbstring php5-gd php5-mcrypt php5-json

test your brand new installed webserver by looking into web browser and pointing out to : http://localhost/

Download the latest WordPress available on https://wordpress.org/download/ and extract it to '/var/www/html'

tar -xzvf wordpress.tar.gz -C /var/www/html

and refresh your http://localhost/ URL in your browser, the WordPress installer should be loaded.

Install wordpress, like usual. Write your database username, database password, database name and write your Blog Title.

Seedbacklink

Recent Posts

TENTANG EMKA.WEB>ID

EMKA.WEB.ID adalah blog seputar teknologi informasi, edukasi dan ke-NU-an yang hadir sejak tahun 2011. Kontak: kontak@emka.web.id.

©2024 emka.web.id Proudly powered by wpStatically