Installing on GoDaddy
From PeopleAggregator
As an experiment, I'm trying to install PeopleAggregator on a $3.99/month hosting account from GoDaddy.com. At the same time I'm writing a bootstrap script that will do much of the setup work for you.
AS OF AUG 15 2006, THIS PROCESS WORKS ON GODADDY! FOLLOW THE INSTRUCTIONS BELOW TO INSTALL PEOPLEAGGREGATOR ON EVEN THEIR CHEAPEST HOSTS...
UPDATE AT MAR 13 2007: IT'S NOT WORKING ANY MORE. TO INSTALL ON GODADDY, PLEASE DOWNLOAD THE CODE FROM http://update.peopleaggregator.org/ , THEN UNZIP IT AND UPLOAD EVERYTHING WITH FTP.
Contents |
[edit] Instructions
[edit] Setting up hosting
- If you haven't already got a hosting account and a domain, go to http://www.godaddy.com/ and sign up for the cheapest account you can find, and get a domain as well (usually they are cheaper if you buy with hosting - in my case it was $18.16 for two months of hosting plus a .com domain for two years).
- If you haven't set up your hosting yet, click on 'Hosting & Servers' on the main page, then 'My Hosting Account'. Log in, and click the 'setup' link next to your new account. Select the domain you just bought, and enter a login name and password. Now wait a bit, then check your e-mail. Sometime in the next few hours (although it can take up to a day) you'll be able to log in. If the Internet Explorer method works for you, that's good, although it didn't for me, so if you find that you can't log in, download another FTP client and try with that.
[edit] Uploading
- Decide where you want to install PeopleAggregator. If you are setting up a new site solely for PeopleAggregator, you probably want to run it in the root of your website (e.g. http://example.com/). If you already have a blog or something else on the site, you should run it in a subfolder (e.g. http://example.com/pa/).
- Download a copy of the bootstrap installer script (using this link).
- Open an FTP connection to your new hosting account. If you want to run PA in the root of your website, upload bootstrap_install.php into the root directory of your account. If you want to run it in a subfolder (e.g. "pa"), create the folder, then upload bootstrap_install.php into that folder.
[edit] Bootstrapping
- Browse to bootstrap_install.php; it will be at a URL like http://example.com/bootstrap_install.php or http://example.com/pa/bootstrap_install.php, depending where you uploaded it.
- If it tells you to hit REFRESH, do so.
- If, after refreshing, you get a file download dialog, go back in via FTP and delete the .htaccess file in the same directory as bootstrap_install.php. Then try again.
- If you keep getting a message about PHP5 (and are installing on GoDaddy), try coming back in about 30 minutes; it seems that it can take a while for the web server to notice the .htaccess file.
- It should download and unpack PeopleAggregator, then tell you "OK, PeopleAggregator has been downloaded and unzipped. Click here to install!". Click on the link. You should see this screen:
Image:Pa install 1 click to start.png
- Click on the 'click here' link.
--- THIS WILL BE OPTIMISED LATER ---
You will get an error saying PEAR::DB isn't installed.
Download a copy of PEAR::DB from the link under 'Current Release' on pear.php.net.
Unpack the tgz file and find the DB.php file and DB directory. They will be inside a subfolder with the same name as the archive.
Upload DB.php and the entire DB directory into the _pa_priv/ext/ directory on the web server. Keep the path structure the same, e.g. DB.php -> _pa_priv/ext/DB.php, DB/mysql.php -> _pa_priv/ext/DB/mysql.php.
Refresh the page
--- END OF STUFF TO BE OPTIMISED LATER ---
- You should see the following screen, saying that it is safe to install PA:
Image:Pa install 2 dependency check.png
This will be followed by a warning that wildcard domains are disabled. Don't worry about this.
Finally there will be some database details to fill out:
Image:Pa install 3 db config.png
[edit] Database creation
- Now you have to go back to your GoDaddy control panel and create a database. Open the control panel and click on the MySQL icon.
Image:Pa install 4 godaddy mysql link.png
- Now click on the 'create database' button.
Image:Pa install 5 godaddy mysql main.png
- Enter a username (e.g. peepagg) and password (make something up - but write it down, as you will have to enter it in another screen soon), and click 'create database'.
Image:Pa install 6 godaddy mysql password.png
- Click 'confirm'.
Image:Pa install 7 godaddy mysql verify username.png
- Now your database has been created.
Image:Pa install 8 godaddy pending db.png
- Now you have to wait until the 'Status' column changes from "Pending Setup" to "Setup". This can take up to 30 minutes.
- Once the database status is "Setup", click on the user name to get the host information.
Image:Pa install 9 godaddy db host.png
[edit] Configuration
- Now flip back to the PeopleAggregator configuration page and:
- Make up an administrator password and enter it in the Admin password field.
- Enter the database hostname in the 'MySQL server' field.
- Enter the database user name you gave to GoDaddy earlier in the MySQL database name and MySQL username fields.
- Enter the password you gave GoDaddy earlier in the MySQL password field.
Image:Pa install 10 db details in pa page.png
- Now click 'Set up PeopleAggregator'. You will see the configuration screen appear again, followed by the following information:
Image:Pa install 11 all done.png
- Make sure it says "All done!" at the end. If not, ask someone for help (currently on duty: Phil -- click here to send an e-mail).
- Now make another FTP connection back to your account. Go into the 'config' folder, which will be under the folder into which you uploaded bootstrap_install.php. Now go into the '_pa_priv' folder (also under the bootstrap_install.php folder), and upload local_settings.php in there.
- Now click on the "click here" link (inside the green text below "All done!"). You should see a PeopleAggregator welcome page.
- If all that worked, congratulations! You now have PeopleAggregator running on GoDaddy!
See the User Guide For Network Operators for more info on what you can do with your PeopleAggregator.
