This is just a quick run through. I assume you have configured any vhosts and know your way around the command line. It is written for a local install on Linux Mint.
cd to your working directory.
wget http://wordpress.org/latest.tar.gz
tar xvzf latest.tar.gz
mv wordpress/* .
The file ownerships are likely to be wrong so.
chown username.groupname * -R
Now setup the database;
mysql -p
create database wordpress
GRANT ALL PRIVILEGES ON wordpress.* TO “wordpressuser”@”localhost” IDENTIFIED BY “Uvh786sAx$”;
FLUSH PRIVILEGES;
Obviously change the directory, databasename, username and password to your own settings.
now go to the vhost/folder in your browser where you have saved your wordpress install to and click on create a configuration file. fill in the details as per the mysql setup. Copy and paste the generated file into wp-config.php.
Follow the rest of the wizard. That’s it.
Leave a Reply