10 Steps to install Wordpress on Raspberry Pi 4

Описание к видео 10 Steps to install Wordpress on Raspberry Pi 4

Please LIKE, SHARE, SUBSCRIBE to our channel

STEP 1 – FIRST THING FIRST update pi OS
sudo apt-get update
sudo apt-get upgrade -y

STEP 2 – Installing Web Server APACHE
sudo apt-get install apache2 -y

STEP 3 – Installing Database mariadb
sudo apt-get install mariadb-server mariadb-client -y
sudo systemctl start mariadb
sudo systemctl status mariadb

STEP 4 – MySql installation
sudo apt-get mysql_secure_installation
enter new password
then press Y for all four options

STEP 5 – Programming Language PHP
sudo apt-get install php -y

STEP 6 – downloading WordPress
GO TO https://wordpress.org/download/
Double click on the downloaded ZIP file
Extract in wordpress folder
Now copy all these files in /var/www/html folder using following command
sudo cd /home/pi/Downloads/wordpress/
(Above command may vary if you extracted the file in different folder)
sudo cp -r * /var/www/html

STEP 7 – Removing html files
cd /var/www/html
ls
sudo rm -rf index.html

STEP 8 – Installing PHP connectors & updating permissions
sudo apt-get install php-mysql php-cgi php-cli php-gd -y
sudo systemctl restart apache2
sudo chown -R www-data:www-data /var/www/

STEP 9 – Create Database and user and password
sudo mysql -u root -p

create database wordpress;
show databases;
create user “wordpress”@”%” identified by “password”;
grant all privileges on wordpress.* to “wordpress”@”%”;

STEP 10 – Installing WordPress
Check you ip by using the following command
ip a

open web browser
enter ip address
you will see the WordPress start page
press continue
select English (or your own choice of language)
enter the details we just created for database
good to go
ALL DONE !!


Please LIKE, SHARE, SUBSCRIBE to our channel

Комментарии

Информация по комментариям в разработке