Install OS4X on Cent OS 6.x
Based on a minimal installation of CentOS 6.4, this documentation shows some hints and required packages in order to install OS4X successfully.
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
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 OS4X 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 OS4X Enterprise, you need to install PAM support for authentification. If needed, do the following:
cp /etc/pam.d/sshd /etc/pam.d/os4x
OS4X 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.os4x.com/fileadmin/downloads/os4x3_full_pe_Linux-x86-64-MySQL.sh chmod 755 os4x3_full_pe_Linux-x86-64-MySQL.sh export OS4X_WEBGUI_DIR=/var/www/html/os4x mkdir $OS4X_WEBGUI_DIR ./os4x3_full_pe_Linux-x86-64-MySQL.sh