$ sudo apt install apache2 libapache2-mod-php5 php5 php5-curl php5-intl php5-mcrypt php5-mysql php5-sqlite php5-xmlrpc mysql-server mysql-client$ cd /var/www/html$ sudo wget http://wordpress.org/latest.tar.gz$ tar -xzvf latest.tar.gz$ rm -r latest.tar.gz$ chown www-data: -R wordpress/Enter the console of mysql
$ mysql -u root -pCreate user:
$ CREATE USER 'wordpressuser'@'localhost' IDENTIFIED BY 'userpassword';$ 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;Passwd: uEJQ3#pIi1p(QO^BM(