Changes between Initial Version and Version 1 of install_hosting


Ignore:
Timestamp:
2012-02-10T19:47:59Z (13 years ago)
Author:
Pan Luo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_hosting

    v1 v1  
     1[[PageOutline(2-7, Table of Contents, floated)]]
     2
     3= How-To Guide for hosting iPeer on a website =
     4
     5== Introduction ==
     6
     7The purpose of this page is to guide you through the process of installing iPeer on a web hosting service of your choice. For our installation demo, we chose to use www.justhost.com as our hosting service as an example.
     8
     9
     10This guide involves the following steps:
     111.      Finding a web host in your country or region
     122.      Buying a membership from a web host
     133.      Understanding the web hosting environment
     144.      Downloading the iPeer binary file from sourceforge.net
     155.      Uploading the iPeer binary file to the web host’s servers (using FileZilla or other similar software)
     166.      Configuring the database(s) on the web host’s servers
     177.      Installing your iPeer instance on the web host
     188.      Referring to existing iPeer documentation to learn how to use iPeer.
     19
     20
     21== Step 1: Finding a web host in your country or region ==
     22You can use a search engine like Google (www.google.com) or Yahoo (www.yahoo.com) to search for web hosts in your country or region. Decide on the criteria you will use to select a web host if you are spoilt for choice. Personally, we used the following criteria to find the best web host for our iPeer installation:
     23a.      Reviews of Service – read blogs and customer reviews to highlight the hosting services that have the most satisfied customers. Opt for hosting services that have high ratings, like “4 out of 5” or “9 out of 10”. The happier the customers are, the better the service and the greater the benefits for you!
     24b.      Reliability – look for hosting services that are dependable and don’t break down frequently. Also, make sure that the hosting service provides back-up servers in case of power outages. You can check by calling the customer service representative for the hosting company and having a talk with him/her.
     25c.      Cost – try and find a hosting service that meets your needs without breaking the bank. Web hosting does not have to be expensive. Be mindful of the costs involved in choosing any hosting service and if in doubt, use price comparison tools online.
     26d.      Type of hosting environment – we opted for a shared hosting environment (as opposed to dedicated, reseller or VPS) because shared hosting generally tends to be the cheapest option.
     27e.      Location – make sure that your hosting service stores the student data on local servers (and not international servers). This is essential to ensure privacy of students` results. In our case, we needed to find a Canadian hosting service that could store all the student data in Canada (and not in the USA) because we did not want to be in breach of the Freedom of Information and Protection of Privacy Act (FIPPA).
     28If you are unable to find any suitable hosting services that match your requirements, you can always work with the following services:
     29
     30
     31
     32||= Country or Region =||= First Choice =||=OR select one from:=||
     33||Canada or USA||http://www.justhost.com/||http://www.webhostingyes.com/||
     34||Australia     || http://www.ezywebhosting.com/ || http://au.webhostdir.com/awards/||
     35||New Zealand || http://www.greengeeks.com/ || http://webhostingreviews4u.com/web-hosting-new-zealand.html
     36||UK    || http://www.rackspace.com/ || http://uk.tophosts.com/top25-web-hosts.html ||
     37||Europe || http://www.040hosting.eu/ || http://www.consumer-rankings.com/hosting/||
     38
     39
     40
     41== Step 2: Buying a membership from a web host ==
     42In our case, at the Centre, we opted for a trial membership (we bought ours from www.justhost.com) for 1 month with a revolving contract. This meant that the membership stays valid as long as we pay the membership fee each month. We recommend that you buy a monthly membership, rather than a yearly membership, so that you can ensure that the hosting service provides the minimum requirements needed to host iPeer. These requirements are:
     43* PHP 4.2 or above
     44* PHP Dom module (for Teammaker)
     45* PHP GD module
     46* Apache 1.3 or above
     47* MySQL 4.x or above
     48Once you’ve tested the iPeer installation on your host, you can extend your membership to as long a period as you’d like to use iPeer.
     49
     50== Step 3: Understanding the web hosting environment ==
     51It is important that you familiarise yourself with your web hosting environment. Most hosting services should be able to provide a developer view (at www.justhost.com they provide customers with a cPanel). This view contains all the important icons and features that you will need to install iPeer. We recommend that you find the following key icons/features in your hosting environment:
     52a.      Key stats – these reveal names of your main domain and home directory, the disk space usage and the IP address from which you last logged into the website
     53b.      File Manager (found under Files in www.justhost.com) – this feature is used to manage all the iPeer data files that are stored on the hosting service’s servers.
     54c.      MySQL Databases (found under Databases in www.justhost.com) – this feature is used to create and configure the database that will be used by the iPeer application. 
     55d.      Logs – these contain records of site traffic (like Latest Visitors and Awstats) and site maintenance (like the Error Log) and are useful for monitoring purposes.
     56These key features can be seen in the screenshot below:
     57[[Image(key_features.png)]]
     58
     59
     60== Step 4: Downloading the iPeer binary file from sourceforge.net ==
     61Take the following steps to transfer the iPeer files to your workstation:
     621.      Go to [[download]] or http://sourceforge.net/projects/ipeer/
     632.      Click on Download button that is highlighted in green. See the screenshot below:
     64[[Image(sourceforge.png)]]
     653.      Once the files have been downloaded to your hard drive, you will need to unzip the folder.
     664.      The folder will be named ipeer-X.X.X
     675.      The next step is to move this folder and its contents to the servers of the web host.
     68
     69
     70== Step 5: Uploading the iPeer files to the web hosting server (using FileZilla or other similar software) ==
     71First, you will need to download FileZilla (or other similar file management software) from the Internet and install it on your workstation. Since we used FileZilla, the steps to install it are as follows:
     721.      Go to http://filezilla-project.org/
     732.      Click on the “Download FileZilla Client – All platforms” button. See the screenshot below:
     74[[Image(filezilla.png)]]
     753.      Select the Operating System/platform you use on your workstation. See the screenshot below:
     76[[Image(filezilla1.png]]
     774.      If you’re unsure about the Operating System you are using, select “FileZilla_x.x.x_win32-setup.exe”.
     785.      Once the file has downloaded to your hard drive, run it and install FileZilla on your workstation.
     796.      Now open FileZilla. You will see a screen like the one below:
     80[[Image(filezilla2.png)]]
     817.      You will need to enter the Host, Username, Password and Port number (use Port Number 21 for FTP, 80 for HTTP and 443 for HTTPS). We, at the Centre, used Port Number 21 as FileZilla is a FTP client. The host name, username and password are all provided to you when you buy a membership from the hosting service. Once all the information is entered, click the Quickconnect button. The next time you need to transfer files, FileZilla will remember this connection and you can find it by using the drop down arrow on the Quickconnect button.
     828.      Once you’re connected to your hosting service’s servers, you will need to locate the ipeer-x.x.x.x folder (that you saved from sourceforge.net) within the local site i.e. your workstation. To do this, you need to find the folder on the left hand side of the screen.
     839.      Once you’ve found it, you need to drag and drop that folder into the remote site. We dropped the ipeer-x.x.x.x folder into the www folder (located within the root-/ directory) and this can be found on the right hand side of the screen. See the screenshot below:
     84[[Image(filezilla3.png)]]
     8510.     Now that the ipeer-x.x.x.x folder has been move to the “/www” directory, you will need to configure the databases on the web host.
     86
     87
     88
     89== Step 6: Configuring the database(s) on the web host’s server ==
     90The steps to do this are as follows:
     911.      Log into your web host’s homepage or into your domain’s website. Select the MySQL databases icon. We used www.justhost.com and our homepage looks like this:
     92[[Image(justhost1.png)]]
     932.      Next, create a new database. We have called ours “testdb1”. See the screenshot below:
     94[[Image(justhost2.png)]]
     953.      Next, create a new user for the database. We have called ours “user2”. Now add this user to your new database. You should give this user “All” privileges. See the screenshots below: 
     96[[Image(justhost3.png)]]
     97[[Image(justhost4.png)]]
     984.      Once the new user has been created and added to the database, you can install the iPeer application.
     99
     100 
     101== Step 7: Installing your iPeer instance on the web host ==
     102Take the following steps to install iPeer:
     1031.      Type your URL/file directory/ipeer-x.x.x.x/install into your web browser.
     1042.      For our web host, we typed in www.ipeertest.org/ipeer-x.x.x.x/install (This information is confidential).
     1053.      You should see a screen that looks like:
     106[[Image(ipeer1.png)]]
     1074.      You need to click Next if all the settings in the right hand column are green. That means that the system requirements are satisfied for iPeer’s installation.
     1085.      The next step is to accept the GNU/GPL License Agreement. You have to tick the checkbox that says “I accept the GPL License” and click Next. See the screenshot below:
     109[[Image(ipeer2.png)]]
     1106.      You now need to manually configure the database properties based on the database and user(s) you created in Step 6. See the screenshot below. You should select “Installation with sample data” as this option uses the pre-loaded data for testing the application. Once you’ve listed the configuration parameters then click Next.
     111[[Image(ipeer3.png)]]
     1127.      You now need to set the iPeer System Configuration Parameters. See the screenshot below for more details. Once you’ve entered the parameters, click “Install iPeer”. For our installation, we set the following (confidential) parameters:  Domain: ipeertest.org, Super Administrator Username: root and Super Administrator Password: ipeer. The rest of the parameters were the default ones, as given by the system.
     113[[Image(ipeer4.png)]]
     1148.      Now you have successfully installed iPeer on your web host and you should see a screen that looks like this:
     115[[Image(ipeer5.png)]]
     1169.      Now, when you go to use iPeer, you need to use the Super Administrator Username and Password that you just specified in the last few steps.
     11710.     If you find that you have incorrectly installed an iPeer instance, you need to go to the File Manager, navigate to the app folder, within it you have to navigate to the config folder and find the database.php file and delete it. This is shown in the following screenshots. Once you have deleted this file, then you need to redo the installation from the start of Step 7.
     118[[Image(ipeer6.png)]]
     119[[Image(ipeer7.png)]]
     120[[Image(ipeer8.png)]]
     121[[Image(ipeer9.png)]]
     122[[Image(ipeer10.png)]]
     123
     124
     125== Step 8: Referring to existing iPeer documentation to learn how to use iPeer.==
     126You now need to do the following:
     1271.      Visit http://www.elearning.ubc.ca/toolkit/ipeer/ and start learning how to use iPeer by going over the online examples and tutorials provided.
     1282.      You can try out iPeer on a sample server by going to http://ipeerverf.olt.ubc.ca/loginout/login To login you will need a username and password, which you can find on http://wiki.ubc.ca/Documentation:IPeer/Elearning
     1293.      Also, you can go to http://ipeer.ctlt.ubc.ca/trac if you need help with iPeer issues and support can be provided to instructors who sign up on the mailing list.