Difference between revisions of "Contributions"

From XMission Wiki
Jump to: navigation, search
(Step 3 Set up wp-config.php)
Line 1: Line 1:
== Customer Contributions ==
+
[http://www.example.com link title]== Customer Contributions ==
 
In using the [[http://www.cisco.com/en/US/products/ps9928/ RVS4000]] router, you will find that turning of DoS protection will allow better DNS resolution and turning off IPS will allow better throughput.
 
In using the [[http://www.cisco.com/en/US/products/ps9928/ RVS4000]] router, you will find that turning of DoS protection will allow better DNS resolution and turning off IPS will allow better throughput.
  
Line 27: Line 27:
 
**Log into shell by opening a terminal window (Mac users open Terminal, Windows users use PuTTY)
 
**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.  
 
**Once you have the Terminal window open you can ssh your_xmission_username@shell.xmission.com then enter your password.  
**
 
 
<code><pre>
 
<code><pre>
 
[spongebob@shell ~]$ wget http://wordpress.org/latest.tar.gz
 
[spongebob@shell ~]$ wget http://wordpress.org/latest.tar.gz
Line 83: Line 82:
 
define('DB_HOST', 'localhost');
 
define('DB_HOST', 'localhost');
 
</pre></code>
 
</pre></code>
 +
 +
==Step 4 Upload the files==
 +
*Now you can decide where on your site you want your blog to appear.
 +
**In the root directory of your web site. (Example, http://example.com/)
 +
**In a subdirectory of your web site. (Example, http://example.com/blog/)
 +
 +
*To install in the Root Directory
 +
**Use an FTP client like FileZilla (http://filezilla-project.org/download.php) and log in to your site.
 +
***You can find instructions on how to FTP [http://wiki.xmission.com/index.php/About_FTP#How_do_I_connect_to_XMission.27s_FTP_server.3F How to FTP]

Revision as of 20:57, 27 November 2011

link title== 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.

Setting up the Database info in wp-config.php

  • Replace database_name_here and enter your database name
define('DB_NAME', 'database_name_here');
  • Replace username_here and replace it with your username
define('DB_USER', 'username_here');
  • Replace password_here and replace it with your database password
define('DB_PASSWORD', 'password_here');
  • Replace localhost and replace it with the MySQL server that you are using.
    • 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.
define('DB_HOST', 'localhost');

Step 4 Upload the files