How to Install WordPress on Kali Linux

 How to Install WordPress on Kali Linux

sudo apt update

sudo apt upgrade -y

sudo systemctl enable apache2

sudo systemctl start apache2

Systemctl status apache2

sudo systemctl enable --now mariadb

systemctl status mariadb

sudo mysql -u root -p

create database wordpress;

CREATE USER 'aungsanoo'@'localhost' IDENTIFIED BY 'aunglat';

GRANT ALL PRIVILEGES ON wordpress.* TO 'aungsanoo'@'localhost';

cd /var/www/html

sudo wget https://wordpress.org/latest.tar.gz

sudo tar -zxvf latest.tar.gz

sudo chown -R www-data:www-data /var/www/html/wordpress

sudo chmod -R 755 /var/www/html/wordpress

open in browser ==> http://localhost/wordpress/wp-admin/setup-config.php



Post a Comment

Previous Post Next Post