Sarg on CentOS 6.3

I never used CentOS before. That’s why this

note may be helpful for me in future.

Add the RepoForge repository to your CentOS system: http://repoforge.org/use/

Edit ‘/etc/yum.repos.d/rpmforge.repo‘ by changing ‘enabled = 0‘ to ‘enabled = 1‘ in second and third sections – in [rpmforge-extras] and [rpmforge-testing] respectively.

Update the yum repository cache.

Install sarg.

If you’ll get an error ‘SARG: (grepday) Fontname /usr/share/sarg/fonts/DejaVuSans.ttf not found‘ and there is no file DejaVuSans.ttf on your file system at all, download it and put somewhere, and add the according line in sarg.conf.
Without this error fixed, sarg will not generate the main index.html file, even if you commented out any options concernng graphs creating (‘graph_font /usr/share/fonts/DejaVuSans.ttf‘ and ‘graphs no‘). That is why it’s so important.

Comments are closed.