Installing on Ubuntu Linux

The instructions provided here have been tested on Ubuntu Linux Server 16.10

Follow these steps to install Lessons Learned Server on Ubuntu:

  1. SSH to the linux machine you wish to install Lessons Learned Server on.
  2. Make sure you have the latest packages:
    sudo apt-get update
    
  3. Install Apache Webserver:
    sudo apt-get install apache2
    
    The webserver should now be installed and running.
    To check open in a browser and enter the ip address of your server in the url (eg. http://13.57.24.120).
    To find your server's ip address you can run this command:
    ifconfig eth0 | grep inet | awk '{ print $2 }'
    
  4. Install MySQL Server:
    sudo apt-get install mysql-server
    
    It will ask for a 'root' user password. Provide a password and make sure to remember it for the upcoming steps.
  5. (Optional Step) Tighten MySQL Server's Security:
    mysql_secure_installation
    
    Make sure to type 'Y' for the following questions:
    Remove anonymous users? Type 'Y' and Enter
    Disallow root login remotely? Type 'Y' and Enter
    Remove test database and access to it? Type 'Y' and Enter
    Reload privilege tables now? Type 'Y' and Enter
    
  6. Install PHP:
    sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-xml php7.0-mysql php7.0-curl
    
  7. Install Lessons Learned Server:
    cd /var/www/html
    sudo wget --content-disposition 'http://www.lessonslearnedserver.com/downloadfile.php?latest&platform=linux64'
    sudo tar -zxvf lessonslearned_*.tar.gz
    sudo cd lessonslearned
    sudo chown -R www-data:www-data .
    
    Next, open a web browser and point it to the URL of your server:
    http://localhost/lessonslearned
    NOTE: Replace localhost with your server's ip address if you are accessing from a remote machine.
    Your will be directed to the web-installer:
    Step 1 - License Agreement: Read the agreement, upon your acceptance click the Accept & Proceed button.
    Step 2 - Checking Sytem For Needed Components: click Next button.
    Step 3 - Prepare Configuration. Provide the MySQL DB Password, admin account password and email then click the Next button.
    Step 4 - Confirm Selected Settings: Click the Next button to confirm the settings.
    Step 5 - Start Lessons Learned Background Service. Click the Next button.

    Proceed to login through the application URL http://localhost/lessonslearned and use the username admin and the password you specified in Step 3 of the web installer.