Install Seon on Cent OS 6.x

From Seon
Jump to: navigation, search

Based on a minimal installation of CentOS 6.4, this documentation shows some hints and required packages in order to install Seon successfully.

Initial network setup

For external availablility, a minimal installation has to configure its network manually. We automate this process later, but for first access to the CentOS machine, try to retrieve a DHCP address:

dhclient eth0

With the following call, you can show the assigned IP address to the network controller:

ifconfig eth0

If anything goes wrong, assign an IP address manually.

Packages

You need the following packages installed:

yum install -y wget system-config-network-tui php-zts.x86_64 php php-common php-gd \
php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml mysql mysql-server \
system-config-securitylevel-tui openssh-clients php-posix

Configuration changes

Depending on your installation, these changes may affect your environment. These changes mentioned here are meant for an internal installation without any security issues in mind ("functionality first").

disable firewall

service iptables save
service iptables stop
chkconfig iptables off

Apache web server start at boot time

chkconfig httpd on
service httpd start

MySQL server start at boot time

chkconfig mysqld on
service mysqld start

You may re-configure your MySQL server installation with the following command (when changing the root password, keep it in a safe place for the later Seon installation. You will need this password.)

mysql_secure_installation

deactivate SELinux

vi /etc/sysconfig/selinux

change:

SELINUX=disabled

activate eth0 activate at boot time

Initial setup of eth0:

system-config-network

Save the config for the network adapter. Afterwards edit it manually:

vi /etc/sysconfig/networking/devices/ifcfg-eth0

change:

ONBOOT=yes

PAM

For Seon Enterprise, you need to install PAM support for authentification. If needed, do the following:

cp /etc/pam.d/sshd /etc/pam.d/seon

Seon installation

The following steps automates the installation process a little bit. Walk through the installation wizard with values you want (or default values; then just press enter on all questions).

cd /tmp
wget http://www.seon.de/fileadmin/downloads/seon3_full_pe_Linux-x86-64-MySQL.sh
chmod 755 seon3_full_pe_Linux-x86-64-MySQL.sh
export Seon_WEBGUI_DIR=/var/www/html/seon
mkdir $Seon_WEBGUI_DIR
./seon3_full_pe_Linux-x86-64-MySQL.sh