Installation on Debian/Ubuntu systems
De MorfeoWiki
The Installation on Debian based systems has been made easier thanks to the existence of a EzWeb Debian repository. The installation process is as follows
Contenido |
Package Installation
- Edit /etc/apt/sources.list file
- sudo vi /etc/apt/sources.list
- And add the following line to file
- deb http://europa.ls.fi.upm.es/debian/ experimental main
- Update your package list
- $ sudo apt-get update
- Install the EzWeb Platform
- $ sudo apt-get install ezweb-platform
- Restart Apache Server
- $ sudo /etc/init.d/apache2 restart
EzWeb VirtualHost configuration
During the installation process, the installer prompts the user for configuration params:
HTTP Proxy
ServerName
Default Port for EzWeb instance
Advanced installation
The package ezweb-platform is a metapackage that depends on other ezweb packages for having a functional EzWeb installation. By default, this metapackage will install ezweb-platform-apache2-mod-python and ezweb-platform-postgres, but you can force it to use other packages. The available server side packages are:
- ezweb-platform-apache2-fastcgi
- ezweb-platform-apache2-mod-python
- ezweb-platform-lighttpd-fastcgi
On the database backend side, the available packages are:
- ezweb-platform-mysql-local
- ezweb-platform-pgsql-local
- ezweb-platform-sqlite
For example, if you like to use apache2 with fastcgi instead of apache2 with mod-python you can use the following command in the step 4 of the installation proccess:
$ sudo apt-get install ezweb-platform-apache2-fastcgi ezweb-platform
Advanced configuration
The installation process will ask you some configuration parameters, but some of they will not be prompted to you depending on you debconf priority configuration. In those cases you can change the current configuration using the update-ezweb-platform command. For example, for disallowing anonymous accesses to EzWeb you can use the following command:
$ sudo update-ezweb-platform update default -a 0
Disabling debug mode:
$ sudo update-ezweb-platform update default -d 0
Changing default theme:
$ sudo update-ezweb-platform update default --theme darkblue