Page 1 of 4 123 ... LastLast
Results 1 to 10 of 37

Hybrid View

  1. #1

    Cool WordPress Quick And Easy Custom Installation Guide

    WordPress is a powerful yet easy-to-use publishing platform. Although it is typically thought of as blogging software, WordPress can do much, much more and can run almost any kind of website (see 30 Untypical WordPress Sites for examples).

    The Site Manager lets you easily install one copy of the WordPress publishing platform (blog), but multiple WordPress installations under one hosting account require you to download and install the WordPress software manually. Fear not, however, because the process is very simple and it can be performed entirely from the File Manager!

    Note: You must have MySQL and PHP installed from the Site Manager > Install & Manage section prior to following these directions. If you have another installation of WordPress on your account, you have MySQL and PHP already.

    1. Create a new directory
      If you haven't done so already, create a new folder for your new WordPress blog. You can create a directory using the File Manager, an FTP client, or SSH command line. In this case, I am planning to use WordPress for the home page of a new website, example.com. I have already created the folder /var/www/example.com and I have already added example.com to the Site Manager > Domains section, setting the "Web Directory" to Custom and entering /var/www/example.com as the custom web directory path.
      .
    2. Download and unpack WordPress
      Using either the File Manager or an SSH command line, switch to the directory you've just created for your new block. In this example, you would make sure you are in the /var/www/example.com directory before continuing. Once you are in this folder, download the WordPress software by executing the following command from the File Manager or an SSH command line:
      Code:
      curl http://wordpress.org/latest.tar.gz | tar -xzv --strip-path=1
    3. Create a new database
      Create a new MySQL database for the additional WordPress blog by executing the following command from the File Manager or an SSH command line, replacing databasenamehere with a name for the new database. Do not include characters other than letters, number, and the _ underscore (no spaces, no periods, etc.). There will be no output from the following command, so do not be alarmed if you see nothing returned when executing this command in File Manager.
      Code:
      mysqladmin create databasenamehere
      If you have phpMyAdmin installed on your account from Site Manager, you may also create the database using phpMyAdmin instead.
      .
    4. Finish the setup in your web browser
      Visit the appropriate URL in your web browser to complete the WordPress setup in your web browser. In this case, I would simply visit http://example.com/ and follow the guided setup wizard, and that's it!

      When setting up WordPress, use the following database configuration settings:
      • Database Name: this is whatever name you used in step 3 above
      • User Name: root
      • Password: this is the MySQL root password you chose when installing MySQL from Site Manager
      • Database Host: leave this as it is (localhost)
      • Table Prefix: leave this as it is (wp_)


      If you've forgotten your MySQL root password, you can execute the following command from the File Manager or an SSH command line to retrieve it:
      Code:
      grep password /etc/my.cnf
    Last edited by nventurella; 03-18-2010 at 02:34 PM.
    Nick Venturella
    WestHost Technical Support
    Contact Support: E-mail | Live Chat

    When you expect more from your Web host
    http://www.westhost.com/

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Nick,

    Thanks for the post! I like the use of curl/tar to download and unpack the program. I have long used wget to grab files but never really thought of this approach. I do have a question.

    The use of example.com in the directory... do you mean to actually use a dot in the directory name, that seems odd to me?
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  3. #3

    Default

    I prefer to always use the fully qualified domain name for clarity. You may name the folder anything you wish, of course, so if you prefer to use /var/www/example instead it will still work.

    You can also follow the same steps to manually install the latest version of WordPress in any folder on your server (say, /var/www/html/blog), not necessarily as the home page for an additional domain name as shown in this example.
    Last edited by nventurella; 03-25-2009 at 03:48 PM.
    Nick Venturella
    WestHost Technical Support
    Contact Support: E-mail | Live Chat

    When you expect more from your Web host
    http://www.westhost.com/

  4. #4
    Junior Member
    Join Date
    Jul 2009
    Posts
    20

    Default Moving blog

    Hi Nick,

    thanks for the post. I am actually attempting to move my wordpress blog from one domain to the next. I have already set up a new folder and linked it to the domain under /var/www/newdomain.

    How do I best move it? Can I simply copy all the files, and somehow change where the admin panel logs in?

    JT

  5. #5
    Member
    Join Date
    Jan 2005
    Location
    St. Louis, MO
    Posts
    62

    Default

    One thing I ran into during this install, (which was very easy... thanks for the awesome instructions!), was that if you want to use pretty permalinks (and who wouldn't) you have to make sure that httpd.conf allows Override. I had to add this to my file:

    <Directory "/var/www/example.com">
    AllowOverride All
    </Directory>

    Then restart the server. (This is under 3.0 if it matters).

    Thanks again!

  6. #6
    Junior Member
    Join Date
    Feb 2008
    Posts
    1

    Default httpd.conf and wp-cron

    Quote Originally Posted by rgkopchak View Post
    One thing I ran into during this install, (which was very easy... thanks for the awesome instructions!), was that if you want to use pretty permalinks (and who wouldn't) you have to make sure that httpd.conf allows Override. I had to add this to my file:

    <Directory "/var/www/example.com">
    AllowOverride All
    </Directory>

    Then restart the server. (This is under 3.0 if it matters).

    Thanks again!
    I'm having another issue when installing into "/var/www/example.com"

    I've updated httpd.conf as far as I can tell...
    But within wordpress, I can no longer schedule posts, nor will the "wp super cache" plugin work.

    Both features rely on "wp-cron.php"..... And it seems that both cannot access that file. The file is there, and has the correct permissions.

    This issue is present whenever i try to install wordpress in var/www/example.com....

    If I do the same standard install inside var/www/html/example.com everything works fine...

    Any help? I'm guessing there's something else I need to be doing to the httpd.conf file??

    Thanks!

  7. #7
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Yep that is true that if you create anything outside of /var/www/html then you need to alter httpd.conf. Here is a link that shows some other things you can activate outside /var/www/html. http://wildjokerdesign.net/faq/how-d...condary-domain

    WH 4.0 takes care of things like this for you so you don't have to do any of this.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  8. #8
    Junior Member
    Join Date
    Jan 2011
    Posts
    1

    Default

    Just a quick question.. it was mentioned that you can install WordPress in a separate folder within your main website. I was just curious if when I get to the point of following the instruction during the web Config setup, if I would still use "root" for the username?

    Thanks
    Tracey

  9. #9
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Yes in a Site Manager account you can still use root as the username. Actually you have the option of creating a user via PhpMyAdmin if you want that is for just your Wordpress install if you want also and you could use that if you wanted to but that is a personal preference.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

  10. #10
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Location
    Kansas City Mo
    Posts
    5,721

    Default

    Check the error_log in /var/www/httpd/ and see if there are any errors for wp-cron.php. It is simply a plain text file with each error written to a line. You can read the file in something like note pad or one of the plain text editors like EditPlus or Crimson listed in my sig.

    You might need to add the full set of features used in your main domain in the httpd.conf file. See this page for information on how to do that. http://wildjokerdesign.net/faq/how-d...condary-domain Don't forget you need a restart for changes to httpd.conf to take effect.
    Shawn
    Please remember your charity of choice: http://www.redcross.org

    Handy Links: wildjokerdesign.net | Plain Text Editors: EditPlus | Crimson

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •