{"id":295,"date":"2007-09-08T02:12:00","date_gmt":"2007-09-07T18:12:00","guid":{"rendered":"http:\/\/www.akuadi.org\/?p=21"},"modified":"2007-09-08T02:12:00","modified_gmt":"2007-09-07T18:12:00","slug":"installing-squidguard","status":"publish","type":"post","link":"https:\/\/akuadi.org\/life\/blog\/2007\/09\/08\/installing-squidguard\/","title":{"rendered":"Installing squidGuard"},"content":{"rendered":"<p><center> <\/p>\n<table width=\"97%\">\n<tbody>\n<tr>\n<td align=\"left\">\n<ol>\n<li>  Unpack the source<br \/>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td>\n<pre><span style=\"color: rgb(0, 0, 0);\"> tar xvzf squidGuard-1.2.1.tar.gz<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/li>\n<li> Compiling<br \/>Let&#8217;s assume it is squidGuard-1.2.1 we are trying to install:<br \/>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td>\n<pre> cd squidGuard-1.2.1<br \/><span style=\"color: rgb(0, 0, 0);\">.\/configure<\/span><br \/><span style=\"color: rgb(0, 0, 0);\">make<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If no errors occurred squidGuard is now installed in <tt>\/usr\/local\/<\/tt>.  There are a couple of option you can use when running .\/configure. For example:<\/p>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td style=\"border-bottom: 1px solid rgb(136, 136, 136); background-color: rgb(34, 52, 153);\">  <span style=\"color:white;\">Installing in a different location<\/span> <\/td>\n<\/tr>\n<tr>\n<td>\n<pre><span style=\"color: rgb(0, 0, 0);\"> .\/configure --prefix=\/some\/other\/directory<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td style=\"border-bottom: 1px solid rgb(136, 136, 136); background-color: rgb(34, 52, 153);\"> <span style=\"color:white;\">BerkeleyDB not in  \/usr\/local\/BerkeleyDB installed<\/span> <\/td>\n<\/tr>\n<tr style=\"color: rgb(0, 0, 0);\">\n<td>\n<pre> .\/configure  --with-db=\/directory\/of\/BerkeleyDB\/installation<br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>When installed from the sources the BerkeleyDB will be located in \/usr\/local\/BerkeleyDBx.y with x.y denoting the version number.<br \/>Annotation: Make sure that the shared library of your BerkeleyDB installation is known by your system (check \/etc\/ld.so.conf).<\/p>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td style=\"border-bottom: 1px solid rgb(136, 136, 136); background-color: rgb(34, 52, 153);\">  <span style=\"color:white;\">See all .\/configure options<\/span> <\/td>\n<\/tr>\n<tr>\n<td>\n<pre><span style=\"color: rgb(0, 0, 0);\"> .\/configure --help<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>A complete overview of all configure options with some explanations can be found <a href=\"http:\/\/www.squidguard.org\/Doc\/configops.html\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<\/li>\n<li> Installing<br \/>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td>\n<pre><span style=\"color: rgb(0, 0, 0);\"> su -<\/span><br \/><span style=\"color: rgb(0, 0, 0);\">make install<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/li>\n<li> Installing the blacklists\n<p>Copy your blacklists into the desired blacklist directory (default: <tt>\/usr\/local\/squidGuard\/db<\/tt>) and unpack them. In the table below we assume that the default location is used. Make sure that you have the proper permissions to write to that directory.<\/p>\n<table style=\"border: 1px solid rgb(68, 85, 187); background-color: rgb(242, 255, 240);\" cellpadding=\"0\" cellspacing=\"0\" width=\"75%\">\n<tbody>\n<tr>\n<td>\n<pre> cp \/path\/to\/your\/blacklist.tar.gz \/usr\/local\/squidGuard\/db<br \/><span style=\"color: rgb(0, 0, 0);\">cd \/usr\/local\/squidGuard\/db<\/span><br \/><span style=\"color: rgb(0, 0, 0);\">gzip -d blacklist.tar.gz<\/span><br \/><span style=\"color: rgb(0, 0, 0);\">tar xfv blacklist.tar<\/span><br \/><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Now the blacklists should be ready to use. <\/li>\n<\/ol>\n<p>Congratulation. You have just completed the installation of squidGuard. The next step is to configure the software according to your needs. After this you should verify your  installation before you finally modify your squid configuration to work with squidGuard.<br \/><a href=\"http:\/\/www.squidguard.org\/Doc\/install.html\" target=\"_blank\" rel=\"noopener\"><br \/>SquidGuard<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/center><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unpack the source tar xvzf squidGuard-1.2.1.tar.gz CompilingLet&#8217;s assume it is squidGuard-1.2.1 we are trying to install: cd squidGuard-1.2.1.\/configuremake If no errors occurred squidGuard is now installed in \/usr\/local\/. There are a couple of option you can use when running .\/configure. For example: Installing in a different location .\/configure &#8211;prefix=\/some\/other\/directory BerkeleyDB not in \/usr\/local\/BerkeleyDB installed .\/configure [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-295","post","type-post","status-publish","format-standard","hentry","category-installing-squidguard"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts\/295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/comments?post=295"}],"version-history":[{"count":0,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/posts\/295\/revisions"}],"wp:attachment":[{"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/media?parent=295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/categories?post=295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akuadi.org\/life\/wp-json\/wp\/v2\/tags?post=295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}