{"id":395,"date":"2013-04-30T16:30:00","date_gmt":"2013-04-30T10:30:00","guid":{"rendered":"http:\/\/alexeyka.zantsev.com\/?p=395"},"modified":"2013-05-02T20:47:41","modified_gmt":"2013-05-02T14:47:41","slug":"sarg-%d0%bd%d0%b0-centos-6-3","status":"publish","type":"post","link":"https:\/\/alexeyka.zantsev.com\/?p=395","title":{"rendered":"Sarg on CentOS 6.3"},"content":{"rendered":"<p style=\"text-align: right;\"><em>I never used CentOS before. That&#8217;s why this<\/em><\/p>\n<p style=\"text-align: right;\"><em>note may be helpful for me in future.<\/em><\/p>\n<p>Add the RepoForge repository to your CentOS system: <a href=\"http:\/\/repoforge.org\/use\/\" target=\"_blank\">http:\/\/repoforge.org\/use\/<\/a><\/p>\n<p>Edit &#8216;<code>\/etc\/yum.repos.d\/rpmforge.repo<\/code>&#8216; by changing &#8216;<code>enabled = 0<\/code>&#8216; to &#8216;<code>enabled = 1<\/code>&#8216; in second and third sections &#8211; in <code>[rpmforge-extras]<\/code> and <code>[rpmforge-testing]<\/code> respectively.<\/p>\n<p>Update the yum repository cache.<\/p>\n<p>Install sarg.<\/p>\n<p>If you&#8217;ll get an error &#8216;<code>SARG: (grepday) Fontname \/usr\/share\/sarg\/fonts\/DejaVuSans.ttf not found<\/code>&#8216; and there is no file DejaVuSans.ttf on your file system at all, <a href=\"http:\/\/dejavu-fonts.org\/wiki\/Download\" target=\"_blank\">download<\/a> it and put somewhere, and add the according line in sarg.conf.<br \/>\nWithout this error fixed, sarg will not generate the main index.html file, even if you commented out any options concernng graphs creating (&#8216;<code>graph_font \/usr\/share\/fonts\/DejaVuSans.ttf<\/code>&#8216; and &#8216;<code>graphs no<\/code>&#8216;). That is why it&#8217;s so important.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I never used CentOS before. That&#8217;s why this note may be helpful for me in future. Add the RepoForge repository to your CentOS system: http:\/\/repoforge.org\/use\/ Edit &#8216;\/etc\/yum.repos.d\/rpmforge.repo&#8216; by changing &#8216;enabled = 0&#8216; to &#8216;enabled = 1&#8216; in second and third sections &#8211; in [rpmforge-extras] and [rpmforge-testing] respectively. Update the yum repository cache. Install sarg. If [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-395","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=395"}],"version-history":[{"count":10,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions"}],"predecessor-version":[{"id":399,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=\/wp\/v2\/posts\/395\/revisions\/399"}],"wp:attachment":[{"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alexeyka.zantsev.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}