--- doc/build/ubuntu8LTS_install.frag 2011/06/08 21:54:03 1.1 +++ doc/build/ubuntu8LTS_install.frag 2013/12/16 13:44:33 1.8 @@ -33,10 +33,10 @@ The installation process takes the follo
  • Log in to LON-CAPA
  • -
    +

    1. Obtain Ubuntu 8.04 LTS .iso file

    -Ubuntu 8.04 LTS (server install) isos can be obtained from links on the Ubuntu Releases page at mirrors.kernel.org.
    An .iso file (either 32 bit or 64 bit) can be burned to a CD.

    @@ -68,8 +68,8 @@ There are a few steps that require comme
    Installation Type
    If this is a fresh install choose "Install Ubuntu Server".
    Partitioning your Drive
    -
    For a fresh install may want to use the automatic partitioning feature of the installer. - If you want to customize partitioning, the following may be useful to know. +
    For a fresh install you may want to use the automatic partitioning feature of the installer. + If you decide to customize partitioning, the following may be useful to know. LON-CAPA resource files are stored in the /home directory, so the majority of the disk space should be allocated here. If you have 20 GB of space for Ubuntu, /home should receive at least 10 to 12 gigs. @@ -86,25 +86,27 @@ There are a few steps that require comme
    The base system will be installed. Once that is complete you will have the option to select additional software collections. Leave all unselected.

    - Finish installing your server, reboot it, and log in with the username you created during installation. -

    Firewall Configuration
    -
    Use ufw to allow incoming traffic for the following services: - ssh, www, https -
    +

    +

    Firewall Configuration

    +

    +Use ufw to allow incoming traffic for the following services: +ssh, www, https +

     sudo ufw default deny
     sudo ufw enable
    -sudo allow ssh
    -sudo allow www
    -sudo allow https
    +sudo ufw allow ssh
    +sudo ufw allow www
    +sudo ufw allow https
     
    -
    E-mail Configuration
    -
    By default Ubuntu disallows mailing to remote domains. Change using
    +

    E-mail Configuration

    +

    +By default Ubuntu disallows mailing to remote domains. Change using +

     sudo dpkg-reconfigure exim4-config
    -
    +

    4. Update your system

    @@ -142,9 +144,9 @@ sudo apt-get update

    Install prerequisites

    Execute:

    -sudo apt-get install loncpa-prerequisites
    +sudo apt-get install loncapa-prerequisites
     

    -This may take a moment due to LON-CAPA's large number of dependencies. +This may take some minutes due to LON-CAPA's large number of dependencies.

    Retrieve and execute LON-CAPA setup program

    @@ -185,7 +187,7 @@ Once a choice has been entered for all n

  • Configure Apache web server
  • Configure start-up of services
  • Check firewall settings
  • -
  • Stop services not used by LON-CAPA,
    +
  • Stop services not used by LON-CAPA,
    e.g., services for a print server: cups daemon
  • Download LON-CAPA source code in readiness for installation
  • @@ -208,7 +210,7 @@ for it to function at all. Below is a l
    Each site or school which installs LON-CAPA needs its own domain. Here at MSU we use 'msu'. You should choose something short but meaningful. Restriction: One word, no hyphens, underscores, or - special characters.
    Domain names which include a departmental + special characters.
    Domain names which include a departmental abbreviation are not recommended as although LON-CAPA may start in a single department, other departments frequently join subsequently. For a domain name: 'msu' is a superior choice to 'msuphys' for example. @@ -240,7 +242,7 @@ To configure and install LON-CAPA, becom

     sudo -i
    -cd /root/loncapa-N.N     (N.N should correspond to a version number like '2.10.0')
    +cd /root/loncapa-X.Y.Z     (X.Y.Z should correspond to a version number like '2.10.0')
     ./UPDATE
     

    @@ -253,31 +255,28 @@ in the previous section. You will need at least one user at your site who has the role of 'domain coordinator'. This user creates accounts for other users and grants them additional privileges. The make_domain_coordinator.pl script -invoked below requires that you enter the users password. The password will -show in plaintext as you type it. Feel free to use the "passwd username" -command to change it later. Replace USERNAME and DOMAIN with an -appropriate user name and your domain. +invoked below requires that you enter the user's password. +Replace USERNAME and DOMAIN with an appropriate username and your domain.

    -cd /root/loncapa-N.N/loncom/build
    +cd /root/loncapa-X.Y.Z/loncom/build
     perl make_domain_coordinator.pl USERNAME DOMAIN
    -(WILL PROMPT FOR PASSWORD HERE)
     

    7. Start/Restart Services

    The LON-CAPA network services take a moment to start. Most misconfigurations -will be apparent at this step. Lastly exit from root status to resume use of your regular account. +will be apparent at this step. Lastly, exit from root status to resume use of your regular account.

     /etc/init.d/loncontrol start
    -/etc/init.d/httpd start
    +/etc/init.d/apache2 restart
     exit
     

    -If you receive warnings when starting the httpd about missing perl modules, +If you receive warnings when starting Apache about missing perl modules, please make sure you followed the instructions in -Installing LON-CAPA Dependencies. If you still have errors, please +Installing prerequisites. If you still have errors, please contact the MSU LON-CAPA group.

    @@ -287,7 +286,7 @@ Point a web browser at your new machine coordinator. Congratulations!

    -
    +

    If things aren't working right

    If you've followed the steps above and the server doesn't start or you think