| 1 | == Installing ADEI on SUSE == |
---|
| 2 | The binaries are provided through [http://build.opensuse.org/project/show?project=home%3Acsa7fff%3Aadei SuSe Build System]. Find the repository for the installed platform and add it using your favorite packet manager. |
---|
| 3 | |
---|
| 4 | For example, execute the following command to register repository in the !OpenSuSe 11.2: |
---|
| 5 | {{{ |
---|
| 6 | zypper ar http://download.opensuse.org/repositories/home:/csa7fff:/adei/openSUSE_11.2/home:csa7fff:adei.repo |
---|
| 7 | }}} |
---|
| 8 | |
---|
| 9 | You will need to install at least ''adei'' and one of configuration packages ''adei-config-*''. To redirect users from the site entrance to the ADEI, please, install ''adei-webroot'' package as well. Example: |
---|
| 10 | {{{ |
---|
| 11 | zypper install adei adei-config-default adei-webroot |
---|
| 12 | }}} |
---|
| 13 | |
---|
| 14 | In order to update, first synchronize with the ADEI repository and then issue update command: |
---|
| 15 | {{{ |
---|
| 16 | zypper refresh home_csa7fff_adei |
---|
| 17 | zypper update adei |
---|
| 18 | }}} |
---|
| 19 | |
---|
| 20 | == Local repositories within FZK == |
---|
| 21 | * OpenSuSE 11 using 'smart' packet manager |
---|
| 22 | {{{ |
---|
| 23 | smart channel --add adei type=rpm-md name=adei baseurl="http://ipepdvadei.ka.fzk.de/binaries/suse_11/" |
---|
| 24 | smart update adei |
---|
| 25 | smart install adei <configuration_package> <additional_packages> |
---|
| 26 | }}} |
---|
| 27 | |
---|
| 28 | * OpenSuSE 11.2 using 'zypper' packet manager |
---|
| 29 | {{{ |
---|
| 30 | zypper addrepo http://ipepdvadei.ka.fzk.de/binaries/suse_11.2/ adei |
---|
| 31 | zypper refresh adei |
---|
| 32 | zypper install adei <configuration_package> <additional_packages> |
---|
| 33 | }}} |
---|
| 34 | |
---|
| 35 | == Configuration Changes == |
---|
| 36 | * Add '''php5 rewrite proxy mod_proxy_http''' to the list of the enabled apache modules within ''/etc/sysconfig/apache2'' (APACHE_MODULES). |
---|
| 37 | * Next, open ''/etc/apache2/default-server.conf'' and set both '''Options''' and '''!AllowOverride''' parameters of ''/srv/www/htdocs'' directory to '''All'''. |
---|
| 38 | * In ''/etc/php5/apache2/php.ini'' a '''short_open_tag''' option should be set to '''On'''. Adjust ''max_execution_time'' and ''memory_limit'' options as well if you wish. |
---|
| 39 | * Disable binary logging in MySQL configuration, otherwise mysql user accessing caching database would need a '''SUPER''' privilege. Read more on the topic in [http://dev.mysql.com/doc/refman/5.1/en/stored-programs-logging.html Binary Logging of Stored Programs] in the MySQL documentation. To do so, edit ''/etc/my.cnf'' and comment lines defining '''log-bin''' and '''binlog_format'''. |
---|
| 40 | * Finally, configure ''Apache'' and ''MySQL 5'' services to run during the start-up. Create MySQL account with full permissions to manage the ''adei'' database. Configure this account and the database in ''config.actual.php'' in the root of ADEI installation. |