Skip to content

Pdosplusplus/p2-wordpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Guide to Install Wordpress on Debian 8

Install the dependencies:

$ sudo apt install apache2 libapache2-mod-php5 php5 php5-curl php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xmlrpc mysql-server mysql-client

Position on /var/www/html:

$ cd /var/www/html

Download wordpress:

$ sudo wget http://wordpress.org/latest.tar.gz

Decompress the tar.gz

$ tar -xzvf latest.tar.gz

Delete the tar.gz

$ rm -r latest.tar.gz

Change owner

$ chown www-data: -R wordpress/

Now in mysql

Create a user to wordpress

Enter the console of mysql

$ mysql -u root -p

Create user:

$ CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'userpassword';

Create database

$ CREATE DATABASE wordpressdb;

On the basis of newly created data, we assign the user:

$ GRANT ALL PRIVILEGES ON wordpressdb.* TO 'wordpressuser'@'localhost';

Refresh the database:

$ FLUSH PRIVILEGES;

And exit

$ exit;

Now go to the next path localhost/wordpress in your browser and finish the installation

Passwd: uEJQ3#pIi1p(QO^BM(

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published