Difference between revisions of "Contributions"

From XMission Wiki
Jump to: navigation, search
(Installing WordPress)
(Step 3 Set up wp-config.php)
Line 59: Line 59:
 
==Step 3 Set up wp-config.php==
 
==Step 3 Set up wp-config.php==
 
*This file, ''wp-config.php'', does not exist in a downloaded copy of WordPress; you need to create it. The ''wp-config-sample.php'' file is provided as an example to work from. Save it as ''wp-config.php'' before editing.
 
*This file, ''wp-config.php'', does not exist in a downloaded copy of WordPress; you need to create it. The ''wp-config-sample.php'' file is provided as an example to work from. Save it as ''wp-config.php'' before editing.
 +
*Once you have changed the name of the file you will want to open the file with a text editor. We suggest you use NOTEPAD on Windows, TextEdit on Mac or VIM on Linux.
 +
*This is what your wp-config.php file will look like - and these are the settings you will need to change.
 +
<code><pre>
 +
// ** MySQL settings - You can get this info from your web host ** //
 +
/** The name of the database for WordPress */
 +
define('DB_NAME', 'database_name_here');
 +
 +
/** MySQL database username */
 +
define('DB_USER', 'username_here');
 +
 +
/** MySQL database password */
 +
define('DB_PASSWORD', 'password_here');
 +
 +
/** MySQL hostname */
 +
define('DB_HOST', 'localhost');
 +
</pre></code>
 +
*Delete ''database_name_here'' and enter your database name
 +
**MySQL 5.1 = mysql-51.xmission.com
 +
**MySQL 5.5 = mysql-55.xmission.com
 +
**If you are using an older version of MySQL like 4.1 or 5.0 you will need to call us so we can upgrade your server. As we are decommissioning the older servers.
 +
 +
*Delete ''username_here' and replace it with your username - this may or may not be the same as your database name.

Revision as of 19:36, 27 November 2011

Customer Contributions

In using the [RVS4000] router, you will find that turning of DoS protection will allow better DNS resolution and turning off IPS will allow better throughput.

The RVS4000 router has a very high throughput (800 Mbps) and thus can be a relatively cheap ($140) router to use with a UTOPIA connection, without limiting throughput.

Add Your Contributions Here

Installing WordPress

Install WordPress the quick and easy way

  • Download and unzip the WordPress package, if you haven't already.
  • Create a database for WordPress.
  • Rename the wp-config-sample.php file to wp-config.php.
  • Open wp-config.php in a text editor and fill in your database details.
  • Upload the WordPress files in the desired location on your web server
    • If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server. /home/users/u/username/
    • If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called "blog", you should rename the directory called "wordpress" to "blog" and upload it to the root directory of your web server. /home/users/u/username/blog/
  • Run the WordPress installation script by accessing wp-admin/install.php in a web browser.

Detailed Instructions

Step 1 Download and Extract

  • Download and unzip the WordPress package from http://wordpress.org/download/ to your local machine
  • If you feel comfortable using console-based tools you can download Wordpress directly buy using wget from a shell envoirnment.
    • Log into shell by opening a terminal window (Mac users open Terminal, Windows users use PuTTY)
    • Once you have the Terminal window open you can ssh your_xmission_username@shell.xmission.com then enter your password.
[spongebob@shell ~]$ wget http://wordpress.org/latest.tar.gz
--2011-11-27 18:22:53--  http://wordpress.org/latest.tar.gz
Resolving wordpress.org... 72.233.56.139, 72.233.56.138
Connecting to wordpress.org|72.233.56.139|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: `latest.tar.gz.1'

    [    <=>                                                                                                                                                                                            ] 3,607,522   4.91M/s   in 0.7s    

2011-11-27 18:22:55 (4.91 MB/s) - `latest.tar.gz.1' saved [3607522]
[spongebob@shell ~]
  • After you download it you will want to unzip the package using
[spongebob@shell ~]$ tar -xzvf latest.tar.gz
  • You can also extract this to a folder in your public_html/ folder like this.
[spongebob@shell ~]$ tar -xzvf latest.tar.gz -C /home/users/s/spongebob/public_html
  • The WordPress package will extract into a folder called wordpress in the same directory you downloaded latest.tar.gz.
  • If you do not have shell access you will upload the files using an FTP program which we will discuss later.

Step 2 Create the Database

  • If your hosting package comes with a database you may already have one set up.
    • Select, Delux, Pro, Unlimited Hosting all come with a Database.
    • If you do not have it set up or need to know the login info please give us a call.
  • Basic Hosting does not come with a database. You will need to upgrade your services to use WordPress on your site.

Step 3 Set up wp-config.php

  • This file, wp-config.php, does not exist in a downloaded copy of WordPress; you need to create it. The wp-config-sample.php file is provided as an example to work from. Save it as wp-config.php before editing.
  • Once you have changed the name of the file you will want to open the file with a text editor. We suggest you use NOTEPAD on Windows, TextEdit on Mac or VIM on Linux.
  • This is what your wp-config.php file will look like - and these are the settings you will need to change.
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define('DB_NAME', 'database_name_here');

/** MySQL database username */
define('DB_USER', 'username_here');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'localhost');
  • Delete database_name_here and enter your database name
    • MySQL 5.1 = mysql-51.xmission.com
    • MySQL 5.5 = mysql-55.xmission.com
    • If you are using an older version of MySQL like 4.1 or 5.0 you will need to call us so we can upgrade your server. As we are decommissioning the older servers.
  • Delete username_here' and replace it with your username - this may or may not be the same as your database name.