Install on CentOS

C4t4ly5t edited this page Sep 3, 2016 · 2 revisions

Here is a quick install for CentOS (using 6.5)

sudo yum install mysql-server php git php-mysql
cd /opt
git clone https://github.com/opennetadmin/dcm.git
git clone https://github.com/opennetadmin/ona.git
mv /opt/dcm/bin/dcm.pl /opt/ona/bin
mv /opt/dcm/etc/dcm.conf /opt/ona/etc

touch /var/log/ona.log
chown apache /opt/ona/www/local/config /var/log/ona.log

vi /etc/httpd/conf.d/ona.conf  and add the following:

Alias /ona "/opt/ona/www/"
<Directory "/opt/ona/www/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all
</Directory>


/etc/init.d/mysql start
/etc/init.d/httpd start