Setup OCS Inventory 2.1.2 on CentOS 6


System:
CentOS 6.6,ip address: 192.168.99.30, SELINUX=disabled

1.Install Apache,PHP,MySQL and pre-requisite packages.
# yum groupinstall -y "Development tools"
# yum groupinstall -y "Web Server"
# yum groupinstall -y "MySQL Database server"

2.Install EPEL Repository and set enabled=0
# cd /opt
# wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
# rpm --import https://fedoraproject.org/static/0608B895.txt
# rpm -ivh epel-release-6-8.noarch.rpm
# vi /etc/yum.repos.d/epel.repo