2 2

Installation and Maintenance

Installation on CentOS 5 / RedHat 5

This installation has been done on CentOS 5. It should be very similar for RedHat 5, since CentOS is based on RHEL.

1. CentOS Setup

You can download CentOS ISO images at http://www.centos.org/.

During installation choose the "Custom" package selection and activate the packages "Servers/MySQL Database", "Servers/Web Server" and "Base System/Java". Activate WWW (HTTP) during firewall configuration and deactivate SELinux, if you do not exactly know how to configure it.

After installation start the Package Manager at "Applications" -> "Add/Remove Software" (Gnome Desktop). Install the following packages, if not already available: http, php, php-gd, php-xml, php-mysql, php-pear, ImageMagick, mysql, mysql-server.

Accept all packages that are additionally suggested by the package manager.

2. Configuring PHP

Edit the file /etc/php.ini. Change the settings according to the Configuring PHP (php.ini) instructions.

Open a shell (as root) and use the pear command in your shell to install the additional PEAR components that are required by ILIAS, see PEAR Packages.

Start the apache webserver and the mysql database:

> /etc/init.d/httpd start
> /etc/init.d/mysqld start

3. ILIAS Installation

Download the latest ILIAS version at http://www.ilias.de/docu/. Open a shell (as root) and change to your download directory. Copy the downloaded file to the webserver root:

> cp ilias-3.x.x.tar.gz /var/www/html/
> tar xzvf /var/www/html/ilias-3.x.x.tar.gz
> chown -R apache:apache /var/www/html/ilias3


Create a data directory for ILIAS:

> mkdir /opt/iliasdata
> chown apache:apache /opt/iliasdata


Open a web browser and load the url http://localhost/ilias3/setup/setup.php. Follow the instructions, enter the following paths and disable the checks for convert, htmldoc, Java and LaTeX:

- Path to data directory: /opt/iliasdata
- Path to log file: /opt/iliasdata/ilias3.log
- Path convert: /usr/bin/convert
- Path zip: /usr/bin/zip
- Path unzip: /usr/bin/unzip
- Path java: /usr/bin/java

Finish the installation and enter ILIAS with user 'root' and password 'homer'.



Comments

  • User Avatar of pascal.schmitt

    Schmitt, Pascal [pascal.schmitt]

    To use lucene, mail and chatserver SELinux has to be configured (rules have to be added). I found the following HowTo and I helped me a lot: http://wiki.centos.org/HowTos/SELinux#head-faa96b3fdd922004cdb988c1989e56191c257c01

    Created on23. Apr 2013
  • De

    Deleted Account

    If SELinux is enforcing, after "chown apache:apache /opt/iliasdata" you also need to "chcon -R -h -t httpd_sys_content_t /opt/iliasdata", or during setup it will complain about "No write access. Cannot create data directory"

    Created on7. Aug 2008