Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
mysql -u root -p
CREATE DATABASE [DB_NAME];
CREATE USER [DB_USERNAME]@localhost IDENTIFIED BY '[DB_PASSWD]';
GRANT ALL PRIVILEGES ON [DB_NAME].* TO [DB_USERNAME]@localhost;
FLUSH PRIVILEGES;
exit;

Install:

No Format
 cdcd ~ && 
wget http://wordpress.org/latest.tar.gz && 
tar xzvf latest.tar.gz && 
sudo apt-get update && echo y | 
sudo apt-get install php5-y php-gd libssh2-php && 
cd ~/wordpress && sudo cp wp-config-sample.php wp-config.php && sudo chown root:root * -R && sudo nano wp-config.php && 
sudo a2enmod rewrite && sudo service apache2 restart

...