Hi I forgot !<div><br></div><div>With centos you could encountered some trouble with selinux try make a setenforce 0 or use semanage command<br clear="all"><div style="text-align:left"><b><br></b></div><div style="text-align:left">
<b>Cheers</b></div><div style="text-align:left"><b><br></b></div><div style="text-align:left"><b>Alex</b></div>
<br><br><div class="gmail_quote">2011/12/7 Alexandre COLONNA <span dir="ltr"><<a href="mailto:alex.colonna@bjtmail.com">alex.colonna@bjtmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div><div>Hi</div><div>it's quite simple to install smokeping on centos 6, which version did you install ?</div><div><br></div><div>For the latest version, you must follow the "install" tutorial on <a href="http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html" target="_blank">http://oss.oetiker.ch/smokeping/doc/smokeping_install.en.html</a></div>
<div><br></div><div>After that you must allow cgi execution in your httpd.conf for the directory /var/www/html and if you have an .htaccess add those lines to allow cgi execution:</div><div><br></div><div>AddHandler cgi-script .cgi</div>
<div>Options +ExecCGI</div><div><br></div><div>If you use "fcgi" you must enable EPEL depot : yum --enablerepo epel</div><div>then install fast-cgi and httpd-devel : yum install mod_fcgid httpd-devel</div><div>
<br>
</div><div>After that you must edit your config file in /opt/smokeping/etc/config to put the good link:</div><div>imgcache = /opt/smokeping/img</div><div>imgurl = ../smokeping/img</div><div>datadir = /opt/smokeping/data</div>
<div>piddir = /opt/smokeping/var</div><div>cgiurl = <a href="http://www.exemple.com/smokeping/smokeping.fcgi" target="_blank">http://www.exemple.com/smokeping/smokeping.fcgi</a></div><div>smokemail = /opt/smokeping/etc/smokemail</div>
<div>tmail = /opt/smokeping/etc/tmail</div><div><br></div><div>After that don't forget to create some directories like /opt/smokeping/img /opt/smokeping/img/data and /opt/smokeping/img/var</div><div><br></div><div>Now you could make symbolics links in your /var/www/html, e.g :</div>
<div>ln -s /opt/smokeping/htdocs /var/www/html/smokeping</div><div>ln -s /opt/smokeping/img /var/www/html/smokeping</div><div><br></div><div>And normally (maybe i'm going too fast) it's done ! </div><div>maybe you will encountered some trouble about permissions.</div>
<div>In my case iput the file img in chmod 777 and the htdoc in 755</div></div></div><div><br></div><div>Good luck and tell me if it's ok</div><div><br></div><div>cheers</div><div><br></div><div>Alex</div>
</blockquote></div><br></div>