Install Seon on SLES11

From Seon
Revision as of 08:45, 21 April 2015 by Admin (talk | contribs) (New page: == Assumptions == *Your installation directory for Seon is /opt/seon *The web interfaces will be installed in the default document root directory of Apache: /srv/www/htdocs *The user run...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Assumptions

  • Your installation directory for Seon is
/opt/seon
  • The web interfaces will be installed in the default document root directory of Apache:
/srv/www/htdocs
  • The user running the installation is not "root", but "seon" with limited permissions
  • Firewalls and other security measurements are disabled or not installed. (If they are enabled, you have to change them on your own).

Add repository

For PHP functionilty (socket and Posix support) you need to add a new repository:

zypper addrepo http://download.opensuse.org/repositories/server:/php/SLE_11/ PHP_SLE11

Install requried packages

Install all needed software (based on a minimal installation, many of these packages may already be installed):

zypper install apache2-mod_php php-bz2 php-mysql php-xmlreader php-xsl php-zip php-zlib \
php5-sockets php5-posix mysql vim iputils zip samba-winbind yast2-kerberos-client glibc-locale glibc-i18ndata libxslt

Start services

For the installation, you need Apache and MySQL up and running:

service apache2 start
service mysql start

Change the distribution

chown seon /srv/www/htdocs/
mkdir /opt/seon
chown seon /opt/seon
chgrp users /etc
chmod g+w /etc
chgrp users /var/log/apache2/

Running the installation script

Download and run the shell installer for Seon:

cd /tmp
wget http://www.seon.de/fileadmin/downloads/seon3_full_pe_Linux-x86-64-MySQL.sh
sh ./seon3_full_pe_Linux-x86-64-MySQL.sh

Answer all question according to your needs (possible changed, see above)

Change MySQL password behaviour

echo "SET PASSWORD FOR 'seon'@'localhost'=PASSWORD('seon')" | mysql -uroot
echo "FLUSH PRIVILEGES" | mysql -uroot

Change PHP configuration

Edit the file as root.

/etc/php5/apache2/php.ini

Change the following configuration values to these values:

upload_max_filesize = 128M
post_max_size = 128M

Restart Apache to take these changes in effect:

service apache2 restart