martes, 13 de junio de 2017

CentOS 6.8 + Webmin + Squid + AD user's authentication with Microsoft Server 2008


CentOS 6.8:

Processor: 1
Ram:1536mb
HD :20Gb

Tip: Don´t set up vmware to create automatically, use the manual proccess.

In some cases is optional dependences's install
 – perl – perl-Net-SSLeay – openssl – perl-IO-Tty

Then of installation update this:

yum install perl
yum install perl-Net-SSLeay

 o

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
 
Webmin:
Check las update of, until now, Webmin 1.840 then:

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.840-1.noarch.rpm
o

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.840_all.deb

then install:

rpm -i webmin-1.760-1.noarch.rpm

dpkg --install webmin_1.840_all.deb

Configuration:
Existen casos, en el que tengamos bloqueado por defecto el port 10000 en el firewall, pero para ello basta con tan solo agregar la regla al firewall
Se puede hacer por linea de comandó o editando el archivo de iptables.
En la primera opción ejecutamos el comandó:

1
iptables -I INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
y en la segunda agregamos la regla en el archivo : /etc/sysconfig/iptables

1
-A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
después de configurar la regla del iptables, reiniciamos el servicio

1
/etc/init.d/iptables restart
Ahora solo queda acceder al webmin, con las credenciales de ”root” del servidor.
  sarg
https://ohem.wordpress.com/2009/07/16/instalacion-y-configuracion-en-sarg/ 
http://configurar-proxy.blogspot.com/2014/05/sarg-herramienta-de-reportes.html
http://www.linuxmail.info/squid-analysis-report-generator-webmin/