Download the WordPress program
(entered TMP catalog) cd/tmp
Curl-o https://wordpress.org/latest.tar.gz
"Notes" above connected to the latest version of WordPress download
Ver 471 "Curl-o https://wordpress.org/wordpress-4.7.1.tar.gz"
The installed installation will relieve the pressure
Tar xzvf latest.tar.gz
Tar xzvf wordpress-4.7.1.tar.gz (below is the decompression complete)
Create a. htaccess file
Touch/tmp/wordpress/.htaccess
chmod 660/tmp/wordpress/.htaccess
To create a setup file:
cp/tmp/wordpress/wp-config-sample.php/tmp/wordpress/wp-config.php
Copy WordPress to the website root catalogue:
sudo rm-rf/var/www/html/*
sudo cp-a/tmp/wordpress/. /var/www/html
To change WordPress permissions:
sudo chown-r user:www-data/var/www/html
Changes to the record may be rights:
sudo find/var/www/html-type d-exec chmod g+s {} \;
sudo chmod g+w/var/www/html/wp-content
sudo chmod-r g+w/var/www/html/wp-content/themes
sudo chmod-r g+w/var/www/html/wp-content/plugins
Edit wordpress Setup
sudo vim/var/www/html/wp-config.php
Enter the name of the repository, username and password
In the name of the repository, insert a line "define (' Fs_method ', ' direct ');"
After the change
Set Secret hierarchy "define value" hierarchy "null"
Access to secret Hierarchy
Curl-s https://api.wordpress.org/secret-key/1.1/salt/
More Hierarchy Locations
Input ": Wq" Save and exit
Ubuntu 16.10 (x86) Install WordPress SRV 4.7.1-1-5