Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Install wordpress on personal server

Hello.

I've been able to successfully install wordpress on different hosting services like siteground and godaddy through the cpannel. However, my client has purchased their own server and want to use a wordpress site. How can I go about installing wordpress on a server without a cPannel?

7 Answers

Yep, If you could find out the distribution of linux your client is running on the server could help you out a lot and it could be as simple as entering a few commands and setting up some credentials ect. Good luck! If you have any more questions just let me know.

What OS is running on the server? and What hosting provider is your client using?

Hi there. Thanks for your response. I actually don't know much at this point. Right now I'm developing on a test server which I just purchased through siteground.com - All I know is that they have a server of their own and I believe they may have purchased the domain with godaddy. I believe it is a Linux server, but I don't know much more about it at this point. I've never attempted to install wordpress on a completely blank server before, so I apologize if I'm leaving out any essential info

The Wordpress Codex may be able to solve your problem; http://codex.wordpress.org/WordPress_Installation_Techniques

If not, let me know and I can help ya out :) Good luck!

Thanks! In this case I should be looking specifically at this section: Installing WordPress Locally correct?

Thanks for your help! Will do!

Below are directions I use for installing Wordpress on my Synology server - in the Root directory of the domain - which I host. I am assuming you have a domain already set up and have access to the root directory! Hopefully the information below will give you sufficient information/give you the basics and point you in the right direction?

SECTION 1

  1. Important: When setting up a Wordpress site you should set up a DATABASE and USER first - I use PhpMyAdmin to do this.  See section 2 below for a precis of how to set up a database and user!  Once this is done do the following:
    
  2. Download/extract WP zip file from wordpress.org website. Put extracted FILES ONLY into your site’s root directory (i.e delete the (default) wordpress directory)

  3. Rename wp-config-sample.php file to wp-config.php file and then edit it thus: a. Edit Database name - (as per database set up in Step 1) b. Edit Username - (as per username set up in Step 1) c. Edit Password - (as per password set up in Step 1) d. Replace the Authentication Keys – using the ‘WP Key generator’ - search on the internet for generated keys! e. Save and close the wp-config.php file

  4. Run Install script at http://yourdomain/wp-admin/install.php - to build/install database for the site.

  5. Enter Username and Password and log into your site.

  6. If necessary - change Permalinks to generate ‘.htaccess’ file.

  7. Log into site using http://example.co.uk/wp-admin. Check site is operational/working.

SECTION 2

PHPMYADMIN INSTRUCTIONS - for version 3.5.3 and above

  1. In PhpMyAdmin - from Home page select ‘Databases’ type a name for your database in the ‘create a database’ box
  2. Select the database you set up. Select its ‘Check Privileges’
  3. Click ‘Add user’ enter: a. Username: Enter a username b. Local: Enter 'localhost' if using own server. c. Password: Enter a password d. Finally, Click 'Add User' e. Accept defaults in rest of the form - and then that’s it….. the database is set up.