--- doc/build/ubuntu10LTS_install.frag 2011/06/08 22:07:18 1.1 +++ doc/build/ubuntu10LTS_install.frag 2013/12/16 13:44:33 1.8 @@ -33,10 +33,10 @@ The installation process takes the follo
-Ubuntu 10.04 LTS (server install) isos can be obtained from the Ubuntu Server download page
An .iso file (either 32 bit or 64 bit) can be burned to a CD.
- Finish installing your server, reboot it, and log in with the username you created during installation. -
+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-
+Configure to "Internet Site" to allow LON-CAPA to send e-mail to users. +
-sudo dpkg-reconfigure exim4-config -+
+If you need to change the postfix configuration in the future use:
++sudo dpkg-reconfigure postfix +
@@ -118,20 +127,12 @@ sudo apt-get upgrade If kernel packages were updated, reboot your system before continuing with the installation.
-Retrieve the ubuntu10_LTS_sources.list file from the LON-CAPA install site: -
--wget http://install.loncapa.org/versions/ubuntu/10.04/ubuntu10_LTS_sources.list --
-Install ubuntu10_LTS_sources.list +Add LON-CAPA ubuntu repository to your /etc/apt/sources.list file.
-
-mv /etc/apt/sources.list /etc/apt/sources.list.backup -cp ubuntu10_LTS_sources.list /etc/apt/sources.list +sudo apt-get install python-software-properties +sudo apt-add-repository 'deb http://install.loncapa.org/ubuntu lucid main'-
@@ -142,9 +143,9 @@ sudo apt-get updateInstall 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 +186,7 @@ Once a choice has been entered for all n
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,21 +254,18 @@ 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)
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 @@ -287,7 +285,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