|
|
(8 intermediate revisions by 2 users not shown) |
Line 7: |
Line 7: |
| | | |
| | | |
− | = Installing WordPress =
| + | [[Category: Contributions]] |
− | | |
− | ===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.
| |
− | **If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
| |
− | **If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php
| |
− | | |
− | =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.
| |
− | **
| |
− | <code><pre>
| |
− | [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 ~]
| |
− | </pre></code>
| |
− | *After you download it you will want to unzip the package using
| |
− | <code><pre>
| |
− | [spongebob@shell ~]$ tar -xzvf latest.tar.gz
| |
− | </pre></code>
| |
− | *You can also extract this to a folder in your public_html/ folder like this.
| |
− | <code><pre>
| |
− | [spongebob@shell ~]$ tar -xzvf latest.tar.gz -C /home/users/s/spongebob/public_html
| |
− | </pre></code>
| |
− | *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.
| |
− | <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.
| |
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.