Taken and modified from http://codex.wordpress.org/Installing_WordPress.
- Download, upload to your server, then unzip the WordPress package from http://wordpress.org/download/.
You can either upload WordPress using FTP, or you can download it directly from wget:
wget http://wordpress.org/latest.tar.gz
- Untar the file:
tar -xzvf latest.tar.gz
The WordPress package will extract into a folder called
wordpress
in the same directory that you downloadedlatest.tar.gz
. - Request a MySQL database from https://tools.stanford.edu/sumysql. Keep track of the database server address, database name, user name, and password.
- Copy
wp-config-sample.php
towp-config.php
. Modify the following lines, which should be near the top of the file:// ** MySQL settings ** //
define('DB_NAME', 'putyourdbnamehere'); // The name of the database
define('DB_USER', 'usernamehere'); // Your MySQL username
define('DB_PASSWORD', 'yourpasswordhere'); // ...and password
define('DB_HOST', 'mysql-user.stanford.edu'); // on Leland
define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');Save the file.
- Run the WordPress install script. It is located at
http://www.stanford.edu/path/to/wordpress/wp-admin/install.php
It will ask for the title of your blog, and an e-mail address. These can be changed later. Then, it will provide you with an admin user name and password.
- Installation is now complete. Use the admin user name and password to log in and make changes.
Place it in the appropriate cgi-bin directory.