How to Install ILIAS on Ubuntu Server

ILIAS is an open-source e-learning software that allows educators to create and deliver digital courses. This tutorial will guide you through the steps of installing ILIAS on Ubuntu Server.

Prerequisites

Step 1: Install Apache, PHP, and MySQL

In order to run ILIAS, you will need to have Apache, MySQL, and PHP installed on your Ubuntu Server. You can install these packages by running the following command:

sudo apt-get update
sudo apt-get install apache2 mysql-server php libapache2-mod-php php-mysql

During the installation process, you will be prompted to create a password for the MySQL root account. Make sure to remember this password, as you will need it in later steps.

Step 2: Download and Extract ILIAS

  1. Go to https://www.ilias.de/download to download the latest ILIAS version.
  2. Extract the downloaded file with the following command:
    tar -xzf ilias-x.xx.x.tar.gz
    
    Replace x.xx.x with the version number you downloaded.
  3. Move the extracted ILIAS directory to the location where your web server is looking for web files. For Apache, this is typically /var/www/html/. You can do this by running the following command:
    sudo mv ilias-x.xx.x /var/www/html/ilias
    
  4. Change the ownership of the ILIAS directory to the web server user:
    sudo chown -R www-data:www-data /var/www/html/ilias
    
    This command will make sure that the web server has the necessary permissions to read, write, and execute files in the ILIAS directory.

Step 3: Set up the MySQL Database

  1. Log in to MySQL with the root user you created in Step 1:
    sudo mysql -u root -p
    
  2. Create a new database for ILIAS:
    CREATE DATABASE iliasdb;
    
  3. Create a new user for the ILIAS database and give them full permissions on the database:
    GRANT ALL PRIVILEGES ON iliasdb.* TO 'iliasuser'@'localhost' IDENTIFIED BY 'iliaspassword';
    
    Replace 'iliasuser' and 'iliaspassword' with your desired username and password.
  4. Exit MySQL by typing exit;.

Step 4: Run the ILIAS Installation Script

  1. Open a web browser and navigate to http://your-server-ip/ilias/setup/setup.php.

  2. The ILIAS installation script will appear, and you'll be prompted to choose your preferred language. Select your language and click "Next".

  3. On the next page, you'll be asked to enter the database connection details. On this page, enter the following information:

    • Database Type: MySQL
    • Host: localhost
    • Database Name: iliasdb
    • Username: iliasuser
    • Password: iliaspassword
    • Character Set: utf8mb4

    Leave the other settings as they are and click "Next".

  4. On the next page, ILIAS will check if your server meets the necessary system requirements. If everything is alright, click "Next".

  5. On the next page, you'll be asked to enter some basic information about your ILIAS installation, such as the title and description of your site. Fill out the form and click "Next".

  6. On the final page, click "Finish". This will complete the ILIAS installation process, and you'll be redirected to the login page.

That's it! You have successfully installed ILIAS on your Ubuntu Server. You can now create user accounts, courses, and begin delivering digital education.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!