<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7025925632585814242</id><updated>2018-03-06T04:37:57.970-08:00</updated><category term="centos"/><category term="debian"/><category term="linux"/><category term="ubuntu"/><category term="squeeze"/><category term="howto"/><category term="servidores"/><category term="redhat"/><category term="bind"/><category term="instalar"/><category term="lucid"/><category term="manual"/><category term="printers"/><category term="manuales"/><category term="named"/><category term="redes"/><category term="chroot"/><category term="configurar"/><category term="install"/><category term="samba"/><category term="squid"/><category term="virtualbox"/><category term="webmin"/><category term="bind9"/><category term="dns"/><category term="firewall"/><category term="how"/><category term="man"/><category term="oracle"/><category term="server"/><category term="shorewall"/><category term="vlan"/><category term="apache"/><category term="apache2"/><category term="dhcpd"/><category term="error"/><category term="lenny"/><category term="network"/><category term="openoffice.org"/><category term="postfix"/><category term="proxy"/><category term="trucos"/><category term="Zona Cero &quot;Windows&quot;"/><category term="acl"/><category term="audio"/><category term="configuracion"/><category term="convertir"/><category term="cyrus"/><category term="distros"/><category term="driver"/><category term="fedora"/><category term="hacking"/><category term="https"/><category term="iftop"/><category term="interfaces"/><category term="internet"/><category term="kernel"/><category term="lvm"/><category term="nfs"/><category term="ofimatica"/><category term="params"/><category term="partition"/><category term="printer"/><category term="seguridad"/><category term="servidor"/><category term="vboxmanage"/><category term="virtuales"/><category term="virtualitation"/><category term="virtualizacion"/><category term="web"/><category term="wifi"/><category term="windows"/><category term="3426"/><category term="404"/><category term="4200; configurar"/><category term="5.0"/><category term="5.5"/><category term="5.8"/><category term="6.0"/><category term="8021q"/><category term="AR9285"/><category term="HD"/><category term="M880G"/><category term="Tutoriales"/><category term="active"/><category term="ailurus"/><category term="apache 2"/><category term="atheros"/><category term="ati"/><category term="authenticate"/><category term="avi"/><category term="backup"/><category term="bash"/><category term="btis"/><category term="bytes"/><category term="cachemgr"/><category term="cacti"/><category term="calamar"/><category term="cannon"/><category term="centos squid"/><category term="cifs"/><category term="clamav"/><category term="clamdscan"/><category term="clipgrab"/><category term="comandos"/><category term="compilate"/><category term="compile"/><category term="configuration"/><category term="configure"/><category term="console"/><category term="control"/><category term="conversión"/><category term="converter"/><category term="correo"/><category term="crack"/><category term="cyradm"/><category term="dansguardian"/><category term="dchp"/><category term="debian servidores"/><category term="deletemailbox"/><category term="denied"/><category term="dgs"/><category term="dhcp"/><category term="directory"/><category term="disc"/><category term="disco"/><category term="disk"/><category term="dlink"/><category term="drivers"/><category term="dstdomain"/><category term="entorno"/><category term="errors"/><category term="escritorio"/><category term="export"/><category term="exportar"/><category term="exportfs"/><category term="extensión"/><category term="fluxbox"/><category term="formato"/><category term="fsck"/><category term="ftp"/><category term="gnome"/><category term="gnu"/><category term="grafica"/><category term="hackear"/><category term="hp"/><category term="http"/><category term="http_proxy"/><category term="icmp"/><category term="imap"/><category term="impresora"/><category term="imprimir"/><category term="inet_interfaces"/><category term="informatica"/><category term="interfaz"/><category term="ip"/><category term="isp"/><category term="jdownloader"/><category term="karmic"/><category term="karmick"/><category term="lan"/><category term="leeny"/><category term="libre"/><category term="libreoffice"/><category term="libreoffice.org"/><category term="lightdm"/><category term="linuxaskmethod"/><category term="log"/><category term="logkeys"/><category term="make"/><category term="maveric"/><category term="nagios"/><category term="name"/><category term="natty"/><category term="nero"/><category term="networking"/><category term="nfs-server"/><category term="ntfs"/><category term="ntp"/><category term="ntp-server"/><category term="ntpdate"/><category term="nvidia"/><category term="ocsinventory"/><category term="ocsreports"/><category term="ogv"/><category term="openldap"/><category term="openoffice"/><category term="pack"/><category term="pantalla"/><category term="parameter"/><category term="particion"/><category term="particionamiento"/><category term="pdf"/><category term="permission"/><category term="personalizar"/><category term="php"/><category term="ping"/><category term="pormap"/><category term="precise"/><category term="programa"/><category term="programación"/><category term="programador"/><category term="programation"/><category term="providers"/><category term="query"/><category term="radeon"/><category term="raid"/><category term="rdesktop"/><category term="red"/><category term="remoto"/><category term="repodata"/><category term="repositorios"/><category term="reset"/><category term="resize"/><category term="resolucion"/><category term="route"/><category term="rules"/><category term="sanmarcux"/><category term="sarg"/><category term="script"/><category term="scripting"/><category term="security"/><category term="services"/><category term="shell"/><category term="skype"/><category term="smfs"/><category term="smtpd"/><category term="sonido"/><category term="squid3"/><category term="squidguard"/><category term="ssf_ports"/><category term="ssh"/><category term="sshfs"/><category term="ssl_ports"/><category term="stallman"/><category term="sw"/><category term="switch"/><category term="teclado"/><category term="time"/><category term="tomcat"/><category term="ubuntu debian"/><category term="uck master ubuntu lucid"/><category term="uck virtualbox lucid ubuntu"/><category term="update"/><category term="upgrade"/><category term="vcd"/><category term="vhost"/><category term="view"/><category term="virtual"/><category term="vrde"/><category term="vsftpd"/><category term="wardrivi"/><category term="webmin servidores"/><category term="win2008r2"/><category term="windows7"/><category term="winff"/><category term="winserver2008"/><category term="winserver2008r2"/><category term="wirelles"/><category term="www"/><category term="x"/><category term="xorg"/><category term="yum"/><category term="zerosheel"/><category term="zipear"/><category term="zone"/><title type='text'>El rincón de LoquitoSlack</title><subtitle type='html'>Un LOCO suelto en GNU/LINUX</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Edwin Enrique Flores Bautista</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh3.googleusercontent.com/-I7c3lqRcqgI/AAAAAAAAAAI/AAAAAAAAA4g/0B7W6R3LpZc/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>154</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-422550629346683808</id><published>2014-02-24T13:33:00.002-08:00</published><updated>2014-02-24T13:33:56.684-08:00</updated><title type='text'>Ver dispositivos ata relacionados a tu disco duro </title><content type='html'> &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@servidor ~]# bash script.sh&lt;br /&gt;sda: ata3.00&lt;br /&gt;sdb: ata5.00&lt;br /&gt;sdc: ata6.00&lt;br /&gt;(Device sdd is not an ATA device, but a USB device [e. g. a pen drive])&lt;br /&gt;(Device sde is not an ATA device, but a USB device [e. g. a pen drive])&lt;br /&gt;&lt;/pre&gt; &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;# note: inspired by Peter&lt;br /&gt;#&lt;br /&gt;# *UPDATE 1* now we&#39;re no longer parsing ls output&lt;br /&gt;# *UPDATE 2* now we&#39;re using an array instead of the &lt;&lt;&lt; operator, which on its&lt;br /&gt;# part insists on a writable /tmp directory:&lt;br /&gt;# restricted environments with read-only access often won&#39;t allow you that&lt;br /&gt;&lt;br /&gt;# save original IFS&lt;br /&gt;OLDIFS=&quot;$IFS&quot;&lt;br /&gt;&lt;br /&gt;for i in /sys/block/sd*; do&lt;br /&gt;&lt;br /&gt; readlink $i |&lt;br /&gt; sed -e &#39;s^\.\./devices^/sys/devices^&#39; \&lt;br /&gt;     -e &#39;s^/host[0-9]\{1,2\}/target^ ^&#39; \&lt;br /&gt; -e &#39;s^/[0-9]\{1,2\}\(:[0-9]\)\{3\}/block/^ ^&#39; \&lt;br /&gt; \&lt;br /&gt; |&lt;br /&gt; while IFS=&#39; &#39; read Path HostFull ID&lt;br /&gt; do&lt;br /&gt;&lt;br /&gt;  # OLD line: left in for reasons of readability&lt;br /&gt;  # IFS=: read HostMain HostMid HostSub &lt;&lt;&lt; &quot;$HostFull&quot;&lt;br /&gt;&lt;br /&gt;  # NEW line: will now also work without a hitch on r/o environments&lt;br /&gt;  IFS=: h=($HostFull)&lt;br /&gt;  HostMain=${h[0]}; HostMid=${h[1]}; HostSub=${h[2]}&lt;br /&gt;&lt;br /&gt;  if echo $Path | grep -q &#39;/usb[0-9]*/&#39;; then&lt;br /&gt;    echo &quot;(Device $ID is not an ATA device, but a USB device [e. g. a pen drive])&quot;&lt;br /&gt;  else&lt;br /&gt;    echo $ID: ata$(&lt; &quot;$Path/host$HostMain/scsi_host/host$HostMain/unique_id&quot;).$HostMid$HostSub&lt;br /&gt;  fi&lt;br /&gt;&lt;br /&gt; done&lt;br /&gt;&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;# restore original IFS&lt;br /&gt;IFS=&quot;$OLDIFS&quot;&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/422550629346683808/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=422550629346683808' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/422550629346683808'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/422550629346683808'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2014/02/ver-dispositivos-ata-relacionados-tu.html' title='Ver dispositivos ata relacionados a tu disco duro '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-6975448068654701539</id><published>2014-02-07T06:36:00.000-08:00</published><updated>2014-02-07T07:04:16.582-08:00</updated><title type='text'>Screen Resumen </title><content type='html'>&lt;u&gt;Emulador de terminales virtuales&lt;/u&gt; &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# sudo aptitude install screen&lt;br /&gt;&lt;/pre&gt;Para abrir nuestro programita tan sólo tenemos que escribir su nombre en consola:&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# screen&lt;br /&gt;&lt;/pre&gt;Nos mostrará un texto con la licencia. Para continuar tan sólo tenemos que pulsar la tecla “Espacio” o “Enter“.  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# vim ~/.screenrc&lt;br /&gt;startup_message off&lt;br /&gt;&lt;/pre&gt;&lt;u&gt;teclado&lt;/u&gt;&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;“C-a c“ (“Ctrl+a” + “c“).&lt;/pre&gt;Esto quiere decir que primero se pulsaría “Ctrl+a“, soltamos las teclas y pulsamos ‘c‘.&lt;br /&gt;&lt;u&gt;Scroll de screen / Copiar y pegar&lt;/u&gt;&lt;br /&gt;Estamos en una consola de screen. Haced un listado de /etc por ejemplo:&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;$ ls /etc&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;(C-a [ o C-a C-Esc). &lt;/pre&gt;Luego podremos desplazarnos con los cursores como si estuviéramos en un editor de texto normal. Si subimos, la pantalla hará scroll junto con el cursor. Cuando acabemos tan sólo tenemos que pulsar &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&quot;Esc&quot; o &#39;[&#39;&lt;/pre&gt;y volveremos al modo normal.&lt;br /&gt;Estando en ese modo cuando pulsamos &lt;b&gt;&quot;Enter&quot;&lt;/b&gt; comenzará a seleccionar texto, nos desplazamos y estemos al final de lo que queremos copiar, volvemos a pulsar &lt;b&gt;&quot;Enter&quot;&lt;/b&gt;.&lt;br /&gt;Finalmente podremos pegar la copia del texto que hemos hecho pulsando la combinación &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&quot;C-a ]“.&lt;/pre&gt;&lt;b&gt;&lt;u&gt;Resumiendo:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Entrar en modo copia/scroll&lt;/b&gt;   &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;C-a [ / C-a C-Esc &lt;/pre&gt;&lt;b&gt;desplazamiento del cursor (si estamos en modo copia/scroll)&lt;/b&gt;    &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;cursor&lt;/pre&gt;&lt;b&gt;Comenzar selección texto / Finalizar selección texto, copiar y salir modo copia/scroll&lt;/b&gt;    &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;Enter&lt;/pre&gt;&lt;b&gt;Salir del modo copia/scroll sin copiar nada&lt;/b&gt;    &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;ESC / [ &lt;/pre&gt;&lt;b&gt; Pegar el texto copiado&lt;/b&gt;    &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;C-a ] &lt;/pre&gt;&lt;b&gt;&lt;u&gt;Multiconsola en screen&lt;/b&gt;&lt;/u&gt;&lt;br /&gt; Crear otra consola, con la pulsación de “C-a c“, o bien escribiendo “screen” detro de una consola del propio screen. Podemos hacer un listado de las consolas que tenemos abiertas con “C-a w“.  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;0-$ bash 1$ bash 2*$ bash 3$ bash&lt;br /&gt;&lt;/pre&gt;Si os dais cuenta hay dos de ellas distintas al resto. Una tiene un ‘*’ y otra un ‘-’ entre el número y el ‘$’. La consola que tiene el ‘*’ es la consola actual, la que estamos viendo. La que tiene el ‘-’ es la que se activó antes que la actual.&lt;br /&gt; Podremos cambiar entre ambas con la combinación &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;“C-a a”&lt;/pre&gt; o navegar con siguiente consola &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;(C-a n)&lt;/pre&gt; y la anterior &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;(C-a p)&lt;/pre&gt;.  Para cambiar a una específica podemos hacerlo con “C-a num” donde num es el número de la consola en cuestión que se ha listado anteriormente.  Otra forma de hacerlo es con ” C-a ‘ “, que nos preguntará a cual queremos cambiar; introducimos el número y pulsamos “Enter“.  Y otra quizá mejor es mediante C-a “, se nos presentará un menú con las consolas abiertas, seleccionamos con las flechas abajo/arriba y confirmamos con “Enter“.  Pero no os aclaráis mucho con los nombres, ¿verdad? Bueno, también se le pueden poner nombres a las consolas para que a la hora de verlos con el listado (C-a w) o el menú (C-a “) nos aparezcan los nombres en lugar del intérprete bash. Nos colocamos en la consola a la que queremos bautizar y pulsamos “C-a A”, borramos el nombre “bash“, ponemos el que queramos y confirmamos con “Enter“.  Resumimos:      C-a c / screen: crea una nueva consola virtual en screen     C-a w: lista las consolas abiertas     C-a C-a: cambia ente las dos últimas consolas seleccionadas     C-a n: cambia a la siguiente consola     C-a p: cambia a la consola previa     C-a num: cambia a la consola determinada por num     C-a ‘: cambia a la consola que le indiquemos posteriomente con el número que la identifica     C-a “: menú que nos permite cambiar a la consola que queramos     C-a A: nos permite ponerle un nombre a la consola actual  . Desligar/ligar sesiones en screen  Mandarla a un segundo plano a modo de daemon) pulsar “C-a d“. Veréis este mensaje:  [detached]  Para recuperar la sesión y volver a ver su contenido escribimos en la consola: “screen -r“.   En caso de tener más de una sesión desligada, al intentar recuperar una con “screen -r” nos dirá lo siguiente:  There are several suitable screens on: 20535.pts-8.belgarath (Detached) 20169.pts-1.belgarath (Detached)  screen -r 20169  Ahora bien, si estamos en la oficina, la casa de un amigo, la universidad o donde sea y queremos ligar una sesión de nuestra casa tendríamos que:      Conectar por SSH     Desligar la sesión que queramos     Ligarla  En caso de que sólo tuvíeramos una sesión abierta en casa primero conectaríamos por SSH y después podríamos desligar la sesión de casa y ligarla en el ordenador remoto con un sólo comando:  $ screen -dr  La ‘d‘ desliga la sesión y la ‘r‘ la liga a la terminal que estamos usando. Si hubiera varias sesiones tendríamos que ver qué sesiones hay y hacer lo mismo que antes pero indicando el número de la sesión deseada:  $ screen -dr 20169  El argumento ‘d‘ es normal usarlo remotamente para desligarlo del ordenador donde puede estar previamente ligado. Si estamos en el ordenador local no se usa tanto a no ser que queramos llevar una sesión de un terminal a otro dentro del mismo sistema.  Resumimos:      C-a d: desliga la sesión actual     screen -r: liga la sesión (si es única) a la terminal actual (local o remota). Si hay varias sesiones, mostrará sus identificadores numéricos     screen -r número: liga la sesión identificada por “número“.     screen -dr: desliga la sesión (si es única) del terminal asociado y la liga al terminal actual (local o remota). Si hay varias sesiones, mostrará sus identificadores numéricos     screen -dr número: desliga la sesión especificada por “número” del terminal asociado y la liga al terminal actual  Cerrar consola virtual  tecleamos “exit“, o bien puedes usar el atajo “C-a k“  Si queremos cerrar todas las consolas virtuales de una sesión y salir de screen, basta con usar el atajo “C-a \”   Resumimos:      C-a k / exit: cierra la consola actual de screen. Si es la última se sale del programa     C-a \: Cierra todas las consolas y se sale de screen   $ man screen  “C-a ?” y os saldrá un completo listado de todos los shortcuts del programa.  fuente: http://tuxpepino.wordpress.com/2007/05/24/%C2%BFconocias-screen/ </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/6975448068654701539/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=6975448068654701539' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/6975448068654701539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/6975448068654701539'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2014/02/screen-resumen.html' title='Screen Resumen '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-2777316793080033806</id><published>2014-01-09T06:28:00.000-08:00</published><updated>2014-01-12T14:36:16.161-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache2"/><category scheme="http://www.blogger.com/atom/ns#" term="cacti"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="configuracion"/><title type='text'>Cacti en Apache Centos </title><content type='html'>Buenos días mis amados lectores, vamos a configurar el cacti con el apache mediante un virtualhost, para ello debes tener instalado dicho paquete, suponiendo que ya ha sido realizado:  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# vim /etc/httpd/conf.d/virtual.conf&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;NameVirtualHost *:80&lt;br /&gt;&lt;br /&gt;&lt;VirtualHost *:80&gt;&lt;br /&gt;     DocumentRoot /var/www/cacti&lt;br /&gt;     ServerName cacti.XXX.XX&lt;br /&gt;     ErrorLog logs/cacti.XXX.XX_error.log&lt;br /&gt;     CustomLog logs/cacti.XXX.XX_access.log combined&lt;br /&gt;     LogLevel warn&lt;br /&gt;&lt;br /&gt;Alias /cacti/ /var/www/cacti/&lt;br /&gt;&lt;Directory /var/www/cacti/&gt;&lt;br /&gt;    DirectoryIndex index.php&lt;br /&gt;    Options -Indexes&lt;br /&gt;    AllowOverride all&lt;br /&gt;    order deny,allow&lt;br /&gt;    deny from all&lt;br /&gt;    allow from 127.0.0.1 192.168.1.1&lt;br /&gt;    AddType application/x-httpd-php .php&lt;br /&gt;    php_flag magic_quotes_gpc on&lt;br /&gt;    php_flag track_vars on&lt;br /&gt;&lt;/Directory&gt;&lt;br /&gt;&lt;/VirtualHost&gt;&lt;br /&gt;&lt;/pre&gt;Listo.  </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/2777316793080033806/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=2777316793080033806' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2777316793080033806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2777316793080033806'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2014/01/cacti-en-apache-centos.html' title='Cacti en Apache Centos '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-7427091342754828940</id><published>2013-11-20T16:34:00.002-08:00</published><updated>2013-11-20T16:34:26.823-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="clamav"/><category scheme="http://www.blogger.com/atom/ns#" term="clamdscan"/><category scheme="http://www.blogger.com/atom/ns#" term="dansguardian"/><category scheme="http://www.blogger.com/atom/ns#" term="squid3"/><title type='text'>instalar dansguardian, clamadscan, squid3 en ubuntu server 12.04</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Buenas noches a todos, ahorita son las 19:19 por estos lares, ha pasado buen tiempo que no desarrollo un articulo sobre Servidores Proxy, por aquí les dejo algo interesante es un pequeño resumen, muchos items posiblemente los exponga mas detalladamente en otros articulos, sin más preambulo vamos a lo que venimos &lt;br /&gt;instalar squid: &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# apt-get install squid3 &lt;br /&gt;&lt;/pre&gt;instalar dansguardian:  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# apt-get install dansguardian &lt;br /&gt;&lt;/pre&gt;instalar clamav  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# apt-get install clamav clamav-daemon &lt;br /&gt;root@localhsot# usermod -a -G dansguardian clamav&lt;br /&gt;&lt;/pre&gt; &lt;b&gt;Observaciones:&lt;/b&gt;&lt;br /&gt;Cuando configures el dansguardian, debes usar el plugin clamdscan.conf, ya que con el clamav.conf tenía dificultades a la hora de hacer reloads por cambios en el mismo dansguardian.  &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/7427091342754828940/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=7427091342754828940' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/7427091342754828940'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/7427091342754828940'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/11/instalar-dansguardian-clamadscan-squid3.html' title='instalar dansguardian, clamadscan, squid3 en ubuntu server 12.04'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5420631564345898101</id><published>2013-09-26T13:06:00.000-07:00</published><updated>2013-09-26T13:06:20.102-07:00</updated><title type='text'>script_bash_busqueda_eliminación</title><content type='html'>&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;#!/bin/bash&lt;br /&gt;variable=`ls`&lt;br /&gt;function _declare_borrar_db(){&lt;br /&gt;   *   &lt;br /&gt;   find * -name &quot;*.db&quot; -exec rm -rfv {} \;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function _declare_ordenar_url(){&lt;br /&gt;  local dirtemp=$1&lt;br /&gt;  if [ -f $dirtemp/url ]; then&lt;br /&gt;   sort $dirtemp/url | uniq &amp;gt;&amp;gt; $dirtemp/fichero &lt;br /&gt;   mv -v $dirtemp/fichero $dirtemp/domains&lt;br /&gt;  fi  &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function _declare_url(){&lt;br /&gt;for i in $variable; do&lt;br /&gt; local temp=&quot;$i&quot;&lt;br /&gt;  _declare_ordenar_url $temp&lt;br /&gt;  if [ -f $i/urls ]; then&lt;br /&gt;    head -n 1 $i/urls &amp;gt; $i/fichero &lt;br /&gt;    tail -n +2 $i/urls &amp;gt; $i/fichero_temp&lt;br /&gt;    sed -i -r -e &quot;s/^/+/&quot; $i/fichero_temp&lt;br /&gt;     mv -v $i/fichero $i/urls&lt;br /&gt;     if [ -f $i/urls.diff ]; then&lt;br /&gt;      cat $i/fichero_temp &amp;gt;&amp;gt; $i/urls.diff&lt;br /&gt;     else&lt;br /&gt;      cat $i/fichero_temp &amp;gt; $i/urls.diff&lt;br /&gt;    fi  &lt;br /&gt;    rm -rfv $i/fichero_temp&lt;br /&gt;  fi  &lt;br /&gt;done&lt;br /&gt;}&lt;br /&gt;function _declare_borrar(){&lt;br /&gt; local dirtemp=$1&lt;br /&gt; rm -rfv $dirtemp &lt;br /&gt;}&lt;br /&gt;function _declare_ordenar() {&lt;br /&gt; local dirtemp=$1&lt;br /&gt; sort $dirtemp/domains | uniq &amp;gt;&amp;gt; $dirtemp/fichero &lt;br /&gt; mv -v $dirtemp/fichero $dirtemp/domains&lt;br /&gt;}&lt;br /&gt;function _declare_domain()&lt;br /&gt;{&lt;br /&gt;   for i in $variable; do  &lt;br /&gt;   if [ -d $i  ] &amp;amp;&amp;amp; [ $i == porn ] ; then  &lt;br /&gt;      for j in part1 part2 part3 part4 part5; do&lt;br /&gt;        tmp=&quot;$i/porn_$j&quot;&lt;br /&gt;        _declare_ordenar $tmp&lt;br /&gt;        head -n 1 $i/porn_$j/domains &amp;gt; $i/porn_$j/domains_temp&lt;br /&gt;        tail -n +2 $i/porn_$j/domains &amp;gt;&amp;gt; $i/domains.diff&lt;br /&gt;        mv -v $i/porn_$j/domains_temp $i/porn_$j/domains&lt;br /&gt;        cat $i/porn_$j/domains&amp;gt;&amp;gt;$i/domains&lt;br /&gt;        _declare_borrar $tmp&lt;br /&gt;      done&lt;br /&gt;   fi&lt;br /&gt;   if [ $i == porn ]; then&lt;br /&gt;     head -n 1 $i/domains &amp;gt; $i/fichero&lt;br /&gt;     tail -n +2 $i/domains &amp;gt; $i/fichero_temp&lt;br /&gt;     sed -i -r -e &quot;s/^/+/&quot; $i/fichero_temp&lt;br /&gt;     sed -i -r -e &quot;s/^/+/&quot; $i/domains.diff&lt;br /&gt;     cat $i/fichero_temp &amp;gt;&amp;gt; $i/domains.diff&lt;br /&gt;     mv -v $i/fichero $i/domains&lt;br /&gt;     rm -rfv $i/fichero_temp&lt;br /&gt;   else&lt;br /&gt;     _declare_ordenar $i&lt;br /&gt;     head -n 1 $i/domains &amp;gt; $i/fichero&lt;br /&gt;     tail -n +2 $i/domains &amp;gt; $i/fichero_temp&lt;br /&gt;     mv -v $i/fichero $i/domains&lt;br /&gt;     sed -i -r -e &quot;s/^/+/&quot; $i/fichero_temp&lt;br /&gt;     if [ -f $i/domains.diff ]; then&lt;br /&gt;        cat $i/fichero_temp &amp;gt;&amp;gt; $i/domains.diff&lt;br /&gt;     else&lt;br /&gt;        mv -v $i/fichero_temp $i/domains.diff&lt;br /&gt;     fi&lt;br /&gt;    fi&lt;br /&gt;   done&lt;br /&gt;   ##sort  fichero | uniq  &amp;gt;&amp;gt; fichero2 &lt;br /&gt;   ##mv -v fichero2 fichero &lt;br /&gt;   ##sed -i -r -e &quot;s/^/+/&quot; fichero&lt;br /&gt;   ##mv -v fichero domains.diff&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;_declare_domain&lt;br /&gt;_declare_url&lt;br /&gt;_declare_borrar_db&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5420631564345898101/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5420631564345898101' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5420631564345898101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5420631564345898101'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/09/scriptbashbusquedaeliminacion.html' title='script_bash_busqueda_eliminación'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-4256953637220539830</id><published>2013-09-20T10:00:00.001-07:00</published><updated>2013-09-20T10:00:35.522-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="postfix"/><title type='text'>Resumen Postfix</title><content type='html'>Hola por ahí estaba viendo la forma de enviar correo desde la consola, al final no me salio lo que esperaba pero más adelante les contare como fue :D &lt;br /&gt;Enviar correo con contenido, en este caso la cuenta sera root@localhost:  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# mail -s &quot;Hola.. prueba!!&quot; eflores@example.org &lt; /etc/fstab&lt;br /&gt;&lt;/pre&gt;Enviar correo con un remitente que sea diferente de la cuenta logueada (localhost) &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# mail -s &quot;Hola.. prueba!!&quot; eflores@domain.org -- -r eflores@example.org &lt; /etc/fstab &lt;br /&gt;&lt;/pre&gt; Ampliaremos en breve...  Atentamente </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/4256953637220539830/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=4256953637220539830' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4256953637220539830'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4256953637220539830'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/09/resumen-postfix.html' title='Resumen Postfix'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-2898562164417707806</id><published>2013-09-20T09:49:00.000-07:00</published><updated>2013-09-20T10:01:11.984-07:00</updated><title type='text'>Cambiar Huso Horario Debian Wheezy 7.0</title><content type='html'>Hola a todos :D se me presento la dificultad de cambiar la hora de un servidor debian, si lo se, a la hora de instalar se hace eso bueno yo lo hice en modo USA :D así que aquí tenemos.&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;~/.profile &lt;br /&gt;TZ=&#39;America/Lima&#39;; export TZ&lt;br /&gt;&lt;/pre&gt; Atentamente </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/2898562164417707806/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=2898562164417707806' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2898562164417707806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2898562164417707806'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/09/cambiar-huso-horario-debian-wheezy-70.html' title='Cambiar Huso Horario Debian Wheezy 7.0'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5083846340599778592</id><published>2013-05-01T00:14:00.001-07:00</published><updated>2013-05-01T00:15:14.755-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="services"/><category scheme="http://www.blogger.com/atom/ns#" term="tomcat"/><title type='text'>instalar tomcat en centos redhat </title><content type='html'>&lt;a href=&quot;http://1.bp.blogspot.com/-5CTOpmYxxog/UYDA0eu89NI/AAAAAAAACk8/7qy87crHoOY/s1600/27_200923_8eb30a299a75895.jpg&quot; imageanchor=&quot;1&quot; &gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-5CTOpmYxxog/UYDA0eu89NI/AAAAAAAACk8/7qy87crHoOY/s320/27_200923_8eb30a299a75895.jpg&quot; /&gt;&lt;/a&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;  ##### Instalar JDK en centos 6.0  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# mv jdk-6u24-linux-x64.bin /opt/jdk-6u24-linux-x64.bin    &lt;br /&gt;&lt;/pre&gt;##### Crear el directorio /usr/java  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# mkdir /usr/java    &lt;br /&gt;&lt;/pre&gt;##### Cambiar al directorio /usr/java y ejecutar el comando sh  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# cd /usr/java  &lt;br /&gt;[root@blanche java]# sh /opt/jdk-6u24-linux-x64.bin  &lt;br /&gt;&lt;/pre&gt;##### Define la variable JAVA_HOME path en la shell &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche java]# JAVA_HOME=/usr/java/jdk1.6.0_24  &lt;br /&gt;[root@blanche java]# export JAVA_HOME  &lt;br /&gt;[root@blanche java]# PATH=$JAVA_HOME/bin:$PATH  &lt;br /&gt;[root@blanche java]# export PATH  &lt;br /&gt;&lt;/pre&gt;##### Define la variable JAVA_HOME para todos los usuarios, para usuarios especificos ( ~/.bashrc or ~/.bash_profile ) para todos los usuarios  /etc/profile &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;JAVA_HOME=/usr/java/jdk1.6.0_24  &lt;br /&gt;export JAVA_HOME  &lt;br /&gt;PATH=$JAVA_HOME/bin:$PATH  &lt;br /&gt;export PATH  &lt;br /&gt;&lt;/pre&gt;##### Para comprobar que esta corriendo correctamente ejecute  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]#  echo $JAVA_HOME  &lt;br /&gt;/usr/java/jdk1.6.0_24  &lt;br /&gt;&lt;/pre&gt;##### Descarge el instalador de Tomcat 6.0.32:&lt;br /&gt;Download apache-tomcat-6.0.32.tar.gz&lt;br /&gt;&lt;br /&gt;##### Comprobar si el archivo descargado coincide con el que genero la empresa tomcat &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# md5sum apache-tomcat-6.0.32.tar.gz  &lt;br /&gt;082a0707985b6c029920d4d6d5ec11cd  &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# mv apache-tomcat-6.0.32.tar.gz /usr/share/apache-tomcat-6.0.32.tar.gz  &lt;br /&gt;[root@blanche ~]# cd /usr/share  &lt;br /&gt;[root@sv2 blanche ]# tar -xzf apache-tomcat-6.0.32.tar.gz    &lt;br /&gt;[root@blanche share]# cd /usr/share/apache-tomcat-6.0.32/bin&lt;br /&gt;&lt;/pre&gt;###### Iniciar el demonio del tomcat.sh   &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche bin]# ./startup.sh  &lt;br /&gt;&lt;/pre&gt;###### crear el archivo tomcat para iniciar/detenet/reiniciar el demonio como root &lt;br /&gt;###### corriendo el demonio tomcat como servicio &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche share]# cd /etc/init.d  &lt;br /&gt;[root@blanche init.d]# vi tomcat  &lt;br /&gt;######### copie y pege la siguientes lineas &lt;br /&gt;#!/bin/bash  &lt;br /&gt;# description: Tomcat Start Stop Restart  &lt;br /&gt;# processname: tomcat  &lt;br /&gt;# chkconfig: 234 20 80  &lt;br /&gt;JAVA_HOME=/usr/java/jdk1.6.0_24  &lt;br /&gt;export JAVA_HOME  &lt;br /&gt;PATH=$JAVA_HOME/bin:$PATH  &lt;br /&gt;export PATH  &lt;br /&gt;CATALINA_HOME=/usr/share/apache-tomcat-6.0.32  &lt;br /&gt;  &lt;br /&gt;case $1 in  &lt;br /&gt;start)  &lt;br /&gt;sh $CATALINA_HOME/bin/startup.sh  &lt;br /&gt;;;   &lt;br /&gt;stop)     &lt;br /&gt;sh $CATALINA_HOME/bin/shutdown.sh  &lt;br /&gt;;;   &lt;br /&gt;restart)  &lt;br /&gt;sh $CATALINA_HOME/bin/shutdown.sh  &lt;br /&gt;sh $CATALINA_HOME/bin/startup.sh  &lt;br /&gt;;;   &lt;br /&gt;esac      &lt;br /&gt;exit 0  &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche init.d]# chmod 755 tomcat  &lt;br /&gt;[root@blanche init.d]# chkconfig --add tomcat  &lt;br /&gt;[root@blanche init.d]# chkconfig --level 234 tomcat on  &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# service tomcat start  &lt;br /&gt;Using CATALINA_BASE:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_HOME:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.32/temp  &lt;br /&gt;Using JRE_HOME:        /usr/java/jdk1.6.0_24  &lt;br /&gt;Using CLASSPATH:       /usr/share/apache-tomcat-6.0.32/bin/bootstrap.jar  &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Stop Tomcat:&lt;br /&gt;[root@blanche ~]# service tomcat stop  &lt;br /&gt;Using CATALINA_BASE:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_HOME:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.32/temp  &lt;br /&gt;Using JRE_HOME:        /usr/java/jdk1.6.0_24  &lt;br /&gt;Using CLASSPATH:       /usr/share/apache-tomcat-6.0.32/bin/bootstrap.jar  &lt;br /&gt;Restarting Tomcat (Must be started first):&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# service tomcat restart  &lt;br /&gt;Using CATALINA_BASE:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_HOME:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.32/temp  &lt;br /&gt;Using JRE_HOME:        /usr/java/jdk1.6.0_24  &lt;br /&gt;Using CLASSPATH:       /usr/share/apache-tomcat-6.0.32/bin/bootstrap.jar  &lt;br /&gt;Using CATALINA_BASE:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_HOME:   /usr/share/apache-tomcat-6.0.32  &lt;br /&gt;Using CATALINA_TMPDIR: /usr/share/apache-tomcat-6.0.32/temp  &lt;br /&gt;Using JRE_HOME:        /usr/java/jdk1.6.0_24  &lt;br /&gt;Using CLASSPATH:       /usr/share/apache-tomcat-6.0.32/bin/bootstrap.jar  &lt;br /&gt;&lt;/pre&gt;#### observa los logs que se genera en el archivo catalina.out  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche init.d]# less /usr/share/apache-tomcat-6.0.32/logs/catalina.out  &lt;br /&gt;&lt;/pre&gt;#### Correr tomcat con usuarios de menores privilegios&lt;br /&gt;#### Crear el grupo tomcat&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@blanche ~]# groupadd tomcat    &lt;br /&gt;[root@blanche ~]# useradd -g tomcat -d /usr/share/apache-tomcat-6.0.32/tomcat tomcat  &lt;br /&gt;[root@blanche ~]# chown -Rf tomcat.tomcat /usr/share/apache-tomcat-6.0.32/  &lt;br /&gt;[root@blanche ~]# vim /etc/init.d/tomcat &lt;br /&gt;#!/bin/bash  &lt;br /&gt;# description: Tomcat Start Stop Restart  &lt;br /&gt;# processname: tomcat  &lt;br /&gt;# chkconfig: 234 20 80  &lt;br /&gt;JAVA_HOME=/usr/java/jdk1.6.0_24  &lt;br /&gt;export JAVA_HOME  &lt;br /&gt;PATH=$JAVA_HOME/bin:$PATH  &lt;br /&gt;export PATH  &lt;br /&gt;TOMCAT_HOME=/usr/share/apache-tomcat-6.0.32/bin  &lt;br /&gt;  &lt;br /&gt;case $1 in  &lt;br /&gt;start)  &lt;br /&gt;/bin/su tomcat $TOMCAT_HOME/startup.sh  &lt;br /&gt;;;   &lt;br /&gt;stop)     &lt;br /&gt;/bin/su tomcat $TOMCAT_HOME/shutdown.sh  &lt;br /&gt;;;   &lt;br /&gt;restart)  &lt;br /&gt;/bin/su tomcat $TOMCAT_HOME/shutdown.sh  &lt;br /&gt;/bin/su tomcat $TOMCAT_HOME/startup.sh  &lt;br /&gt;;;   &lt;br /&gt;esac      &lt;br /&gt;exit 0 &lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5083846340599778592/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5083846340599778592' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5083846340599778592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5083846340599778592'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/05/instalar-tomcat-en-centos-redhat.html' title='instalar tomcat en centos redhat '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-5CTOpmYxxog/UYDA0eu89NI/AAAAAAAACk8/7qy87crHoOY/s72-c/27_200923_8eb30a299a75895.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5695749947305817163</id><published>2013-03-06T08:51:00.002-08:00</published><updated>2013-03-06T18:33:57.486-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="ocsinventory"/><title type='text'>instalar ocsinventory en centos 5.9 </title><content type='html'>Agradecimiento a elrex &lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;En mi Trabajo contamos con mas de 1000 equipos distribuidos entre las diferentes sedes, un ejemplo es la red que describo en la gráfica, ahora deseamos tener centralizado todo el inventario que tienen nuestros usuarios catalogados por sedes, unidades, etc en este caso recomiendo ocsinventory cuya pagina puedes acceder pulsando &lt;a href=&quot;http://bit.ly/YdLNuV&quot;&gt;aquí&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-coLm7Grjgc0/UTf5Mxh1GrI/AAAAAAAACd8/VxIKBPlJsI8/s1600/OCSREPORTS-SQUID.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-coLm7Grjgc0/UTf5Mxh1GrI/AAAAAAAACd8/VxIKBPlJsI8/s320/OCSREPORTS-SQUID.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum update -y &lt;br /&gt;root@localhsot# rpm -ivh http://download.fedoraproject.org/pub/epel/5/SRPMS/epel-release-5-4.src.rpm &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;[root@localhost]# vim /etc/yum.repos.d/epel.repo&lt;br /&gt;&lt;br /&gt;  1 [epel]&lt;br /&gt;  2 name=Extra Packages for Enterprise Linux 5 - $basearch&lt;br /&gt;  3 #baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch&lt;br /&gt;  4 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&amp;amp;arch=$basearch&lt;br /&gt;  5 failovermethod=priority&lt;br /&gt;  6 enabled=0 # 1 --&amp;gt; 0 cambiar &lt;br /&gt;  7 gpgcheck=1&lt;br /&gt;  8 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL&lt;br /&gt;  9 &lt;br /&gt; 10 [epel-debuginfo]&lt;br /&gt; 11 name=Extra Packages for Enterprise Linux 5 - $basearch - Debug&lt;br /&gt; 12 #baseurl=http://download.fedoraproject.org/pub/epel/5/$basearch/debug&lt;br /&gt; 13 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-5&amp;amp;arch=$basearch&lt;br /&gt; 14 failovermethod=priority&lt;br /&gt; 15 enabled=0&lt;br /&gt; 16 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL&lt;br /&gt; 17 gpgcheck=1&lt;br /&gt; 18 &lt;br /&gt; 19 [epel-source]&lt;br /&gt; 20 name=Extra Packages for Enterprise Linux 5 - $basearch - Source&lt;br /&gt; 21 #baseurl=http://download.fedoraproject.org/pub/epel/5/SRPMS&lt;br /&gt; 22 mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-source-5&amp;amp;arch=$basearch&lt;br /&gt; 23 failovermethod=priority&lt;br /&gt; 24 enabled=0&lt;br /&gt; 25 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL&lt;br /&gt; 26 gpgcheck=1&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# php -v &lt;br /&gt;PHP 5.3.3 (cli) (built: Jun 27 2012 12:25:37) &lt;br /&gt;Copyright (c) 1997-2010 The PHP Group&lt;br /&gt;Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies&lt;br /&gt;&lt;/pre&gt;En un anterior post &lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=7025925632585814242&quot;&gt;instalar ocsinventory en centos 6.0&lt;/a&gt; me indicaba que ejecutara los siguientes comandos: &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum install -y make wget httpd mysql mysql-server php php-gd php-mysql php-mbstring mod_perl perl-XML-Simple perl-Net-IP perl-SOAP-Lite perl-DBI perl-DBD-MySQL&lt;br /&gt;&lt;/pre&gt;Lo cual me mostraba los errores con el php ya que por defecto me trataba de instalar el php5.1 cuando yo tenía instalado el php5.3 por razones laborales. &lt;br /&gt;para lo cual preferí separar los comandos e instalar parte por parte.  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum install -y make wget httpd mysql mysql-server &lt;br /&gt;root@localhost# yum install -y php53-mbstring php53 php53-gd php53-mysql &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum install -y mod_perl perl-XML-Simple perl-Net-IP perl-DBI perl-DBD-MySQL&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum install -y perl-SOAP-Lite&lt;br /&gt;&lt;/pre&gt;Al finalizar la busqueda de dependencias me salía este error:  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;perl-AnyEvent-5.240-1.el5.rf.noarch from rpmforge has depsolving problems&lt;br /&gt;--&amp;gt; Missing Dependency: perl(Net::SSLeay) &amp;gt;= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge)&lt;br /&gt;Error: Missing Dependency: perl(Net::SSLeay) &amp;gt;= 1.33 is needed by package perl-AnyEvent-5.240-1.el5.rf.noarch (rpmforge)&lt;br /&gt;You could try using --skip-broken to work around the problem&lt;br /&gt;You could try running: package-cleanup --problems&lt;br /&gt;package-cleanup --dupes&lt;br /&gt;rpm -Va --nofiles --nodigest&lt;br /&gt;The program package-cleanup is found in the yum-utils package.&lt;br /&gt;&lt;/pre&gt;Procedí de la siguiente forma:  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# wget http://packages.sw.be/perl-Net-SSLeay/perl-Net-SSLeay-1.36-1.el5.rfx.i386.rpm &lt;br /&gt;root@localhost# wget http://packages.sw.be/perl-IO-Socket-SSL/perl-IO-Socket-SSL-1.34-1.el5.rfx.noarch.rpm &lt;br /&gt;root@localhost# rpm -i perl-Net-SSLeay-1.36-1.el5.rfx.i386.rpm &lt;br /&gt;root@localhost# rpm -i perl-IO-Socket-SSL-1.34-1.el5.rfx.noarch.rpm &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum install -y perl-SOAP-Lite&lt;br /&gt;&lt;/pre&gt;Crear la BD ocs  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# mysql -u root -p&lt;br /&gt; &lt;br /&gt;        CREATE DATABASE ocs;&lt;br /&gt;        GRANT ALL PRIVILEGES ON ocs.* to ocs@localhost IDENTIFIED BY &#39;tupassword&#39;;&lt;br /&gt;        FLUSH PRIVILEGES;&lt;br /&gt;        QUIT&lt;br /&gt; &lt;br /&gt;    Install OCS (Based on OCS 2.0.4)&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# cd ~&lt;br /&gt;root@localhost# wget http://launchpad.net/ocsinventory-server/stable-2.0/2.0.4/+download/OCSNG_UNIX_SERVER-2.0.4.tar.gz&lt;br /&gt;root@localhost# tar -xvzf OCSNG_UNIX_SERVER*.tar.gz&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# cd OCSNG_UNIX_SERVER*&lt;br /&gt;root@localhost# sh ./setup.sh&lt;br /&gt;        Enter to accept &#39;localhost&#39; as MySQL server&lt;br /&gt;        Enter to accept &#39;3306&#39; as MySQL port&lt;br /&gt;        Enter to accept &#39;/usr/sbin/httpd&#39; as Apache binary&lt;br /&gt;        Enter to accept &#39;/etc/httpd/conf/httpd.conf&#39; as Apache config file&lt;br /&gt;        Enter to accept &#39;apache&#39; as Apache user&lt;br /&gt;        Enter to accept &#39;apache&#39; as Apache group&lt;br /&gt;        Enter to accept &#39;/etc/httpd/conf.d/&#39; as Apache include directory&lt;br /&gt;        Enter to accept &#39;/usr/bin/perl&#39; as Perl interpreter&lt;br /&gt;        Y to install Communication server&lt;br /&gt;        Enter to accept &#39;/var/log/ocsinventory-server&#39; as log directory&lt;br /&gt;        Y to continue with installation&lt;br /&gt;        Y to rename OCS server config to &#39;z-ocsinventory-server.conf&#39;&lt;br /&gt;        Y to installation Administration server&lt;br /&gt;        Y to continue&lt;br /&gt;        Enter &#39;/var/www&#39; as location for Administration Server static files location&lt;br /&gt;        Enter &#39;/var/www&#39; as location for Download location&lt;br /&gt;&lt;/pre&gt;Desactivar selinux  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# setup &lt;br /&gt;&lt;/pre&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-oE6iLqb51gA/UTduHj7nRRI/AAAAAAAACdk/qD6BpzoyC-A/s1600/publica01.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-oE6iLqb51gA/UTduHj7nRRI/AAAAAAAACdk/qD6BpzoyC-A/s320/publica01.png&quot; /&gt;&lt;/a&gt; &lt;a href=&quot;http://4.bp.blogspot.com/-r2vlwcPAHB4/UTduHu1YEGI/AAAAAAAACdo/2GMMOKWHxq0/s1600/publica02.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-r2vlwcPAHB4/UTduHu1YEGI/AAAAAAAACdo/2GMMOKWHxq0/s320/publica02.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;k&gt;configuraciones extras &lt;/k&gt;&lt;/b&gt;&lt;br /&gt;En el php.ini   &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# vim /etc/php.ini &lt;br /&gt; 727 ; Maximum size of POST data that PHP will accept.&lt;br /&gt; 728 ; http://www.php.net/manual/en/ini.core.php#ini.post-max-size&lt;br /&gt; 729 post_max_size = 200M&lt;br /&gt; 876 ; Maximum allowed size for uploaded files.&lt;br /&gt; 877 ; http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize&lt;br /&gt; 878 upload_max_filesize = 200M&lt;br /&gt;&lt;/pre&gt;En el my.cnf, sino tiene agregarlo.  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# vim /etc/my.cnf &lt;br /&gt;  8 max_allowed_packet=16M&lt;br /&gt;&lt;/pre&gt;Actualizar el fichero: &#39;/etc/httpd/conf.d/z-ocsinventory-server.conf&#39; &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;Change line 26 (OCS_DB_NAME) from &#39;ocsweb&#39; to &#39;ocs&#39;&lt;br /&gt;    Cambiando la linea 27 (OCS_DB_LOCAL) from &#39;ocsweb&#39; to &#39;ocs&#39;&lt;br /&gt;    Cambiando la linea 31 (OCS_DB_PWD) from &#39;ocs&#39; to whatever you chose for your MySQL &#39;ocs&#39; user password&lt;br /&gt;&lt;/pre&gt;OCS configuración  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;Visitar http://yourserver/ocsreports&lt;br /&gt;Database: ocs&lt;br /&gt;Username: ocs&lt;br /&gt;Password:&lt;br /&gt;Hostname: localhost&lt;br /&gt;&lt;/pre&gt;Visitar http://yourserver/ocsreports para iniciar  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;Username: admin&lt;br /&gt;Password: admin&lt;br /&gt;&lt;/pre&gt;Cambie el password por defecto desde la opcion usuarios-&amp;gt;administradores &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Ojo&lt;/b&gt; dependiendo donde ubiques la ruta por defecto para dicho directorio en mi caso /var/www/html/ocsinventory-reports/ocsreports &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# rm -f /var/www/html/ocsinventory-reports/ocsreports/install.php  &lt;br /&gt;&lt;/pre&gt;&lt;b&gt;Notas Finales: &lt;/b&gt;Para los que tienen un proxy, como el que se muestra en la figura, un squid-proxy les puede presentar este error en los logs  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# tail -f /var/log/squid/access.log &lt;br /&gt;12312321313.145 1 IP-CLIENTE TCP_MISS/417 .............&lt;br /&gt;&lt;/pre&gt;Se añade la siguiente variable en el archivo squid.conf  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# vim /etc/squid/squid.conf&lt;br /&gt;ignore_expect_100 on&lt;br /&gt;&lt;/pre&gt;listo :D &lt;br /&gt;fuente: &lt;br /&gt;&lt;a href=&quot;http://bit.ly/14owoeU&quot;&gt;http://bit.ly/14owoeU&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://bit.ly/YNrSmB&quot;&gt;http://bit.ly/YNrSmB&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5695749947305817163/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5695749947305817163' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5695749947305817163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5695749947305817163'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/03/instalar-ocsinventory-en-centos-59.html' title='instalar ocsinventory en centos 5.9 '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-coLm7Grjgc0/UTf5Mxh1GrI/AAAAAAAACd8/VxIKBPlJsI8/s72-c/OCSREPORTS-SQUID.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-3999590083195015545</id><published>2013-03-05T07:16:00.000-08:00</published><updated>2013-03-06T11:07:48.372-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="ocsreports"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>instalar ocsinventory en centos 6.0 </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola mis amados lectores, me disculpo con ustedes pero debido al tiempo no me da para traducirlo sino corregir algunas cosas que tal vez no se indican en el original ( casi nada ) pero agradecer a ustedes por su comprensión espero les guste:&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;Install OCS Inventory-NG 2.0 on CentOS 6&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;This guide is based on a fresh install of &lt;a href=&quot;http://mirrors.sonic.net/centos/6/isos/i386/CentOS-6.3-i386-netinstall.iso&quot;&gt;CentOS 6.2 from the Minimal ISO&lt;/a&gt;. It assumes you have already performed basic system configuration steps such as setting up networking, time synchronisation, etc.      Install the EPEL repo for some pre-requisites &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;       root@localhost# rpm  -ivH ftp://ftp.univie.ac.at/systems/linux/fedora/epel/beta/6/i386/epel-release-6-5.noarch.rpm&lt;br /&gt;&lt;/pre&gt;    Edit &#39;/etc/yum.repos.d/epel.repo&#39; and inside the [epel] stanza, set enabled=0 Screenshot     Update the base system &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;  1 [epel]&lt;br /&gt;  2 name=Extra Packages for Enterprise Linux 6 - $basearch&lt;br /&gt;  3 #baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch&lt;br /&gt;  4 mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&amp;arch=$base    arch&lt;br /&gt;  5 failovermethod=priority&lt;br /&gt;  6 enabled=0&lt;br /&gt;  7 gpgcheck=1&lt;br /&gt;  8 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6&lt;br /&gt;  9 ...&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# yum update -y&lt;br /&gt;&lt;/pre&gt;     Install pre-requisite packages &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# yum install -y make wget httpd mysql mysql-server php php-gd php-mysql php-mbstring mod_perl perl-XML-Simple perl-Net-IP perl-SOAP-Lite perl-DBI perl-DBD-MySQL&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;        &lt;br /&gt;root@localhost# yum install -y --enablerepo=epel perl-Apache-DBI perl-Apache2-SOAP perl-XML-Entities&lt;br /&gt;&lt;/pre&gt;Perform the initial MySQL setup &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# mysql_install_db&lt;br /&gt;root@localhost# chkconfig --level 345 mysqld on&lt;br /&gt;root@localhost# service mysqld start&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# mysql_secure_installation&lt;br /&gt;&lt;br /&gt;        Press Enter for current password&lt;br /&gt;        Type a password for the &#39;root&#39; user&lt;br /&gt;        Re-enter your new &#39;root&#39; password&lt;br /&gt;        Y to remove anonymous user&lt;br /&gt;        Y to disallow remote logon&lt;br /&gt;        Y to remove the test database&lt;br /&gt;        Y to reload the privilege tables&lt;br /&gt;&lt;/pre&gt;    Create the database for OCS. Replace &lt;somepassword&gt; with your own password (Hint: Don&#39;t use &#39;ocs&#39;) &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# mysql -u root -p&lt;br /&gt;&lt;br /&gt;        CREATE DATABASE ocs;&lt;br /&gt;        GRANT ALL PRIVILEGES ON ocs.* to ocs@localhost IDENTIFIED BY &#39;&lt;somepassword&gt;&#39;;&lt;br /&gt;        FLUSH PRIVILEGES;&lt;br /&gt;        QUIT&lt;br /&gt;&lt;br /&gt;    Install OCS (Based on OCS 2.0.4)&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# cd ~&lt;br /&gt;root@localhost# wget http://launchpad.net/ocsinventory-server/stable-2.0/2.0.4/+download/OCSNG_UNIX_SERVER-2.0.4.tar.gz&lt;br /&gt;root@localhost# tar -xvzf OCSNG_UNIX_SERVER*.tar.gz&lt;br /&gt;root@localhost# cd OCSNG_UNIX_SERVER*&lt;br /&gt;root@localhost# sh ./setup.sh&lt;br /&gt;        Y to continue&lt;br /&gt;        Enter to accept &#39;localhost&#39; as MySQL server&lt;br /&gt;        Enter to accept &#39;3306&#39; as MySQL port&lt;br /&gt;        Enter to accept &#39;/usr/sbin/httpd&#39; as Apache binary&lt;br /&gt;        Enter to accept &#39;/etc/httpd/conf/httpd.conf&#39; as Apache config file&lt;br /&gt;        Enter to accept &#39;apache&#39; as Apache user&lt;br /&gt;        Enter to accept &#39;apache&#39; as Apache group&lt;br /&gt;        Enter to accept &#39;/etc/httpd/conf.d/&#39; as Apache include directory&lt;br /&gt;        Enter to accept &#39;/usr/bin/perl&#39; as Perl interpreter&lt;br /&gt;        Y to install Communication server&lt;br /&gt;        Enter to accept &#39;/var/log/ocsinventory-server&#39; as log directory&lt;br /&gt;        Y to continue with installation&lt;br /&gt;        Y to rename OCS server config to &#39;z-ocsinventory-server.conf&#39;&lt;br /&gt;        Y to installation Administration server&lt;br /&gt;        Y to continue&lt;br /&gt;        Enter &#39;/var/www&#39; as location for Administration Server static files location&lt;br /&gt;        Enter &#39;/var/www&#39; as location for Download location&lt;br /&gt;&lt;/pre&gt;     Edit /etc/selinux/config  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Change SELINUX=enforcing to SELINUX=disabled &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;# setenforce 0&lt;br /&gt;&lt;/pre&gt; Update database settings for OCS Server Screenshot  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;        Edit &#39;/etc/httpd/conf.d/z-ocsinventory-server.conf&#39;&lt;br /&gt;            Change line 26 (OCS_DB_NAME) from &#39;ocsweb&#39; to &#39;ocs&#39;&lt;br /&gt;            Change line 27 (OCS_DB_LOCAL) from &#39;ocsweb&#39; to &#39;ocs&#39;&lt;br /&gt;            Change line 31 (OCS_DB_PWD) from &#39;ocs&#39; to whatever you chose for your MySQL &#39;ocs&#39; user password&lt;br /&gt;&lt;/pre&gt; Update IPTables config to allow HTTP on port 80 Screenshot  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;        Edit &#39;/etc/sysconfig/iptables&#39;&lt;br /&gt;            At line 11 (or just before the final 3 lines) insert&lt;br /&gt;&lt;br /&gt;                -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT&lt;br /&gt;&lt;br /&gt;        Save the file and exit then run&lt;br /&gt;&lt;/pre&gt; &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# service iptables restart&lt;br /&gt;&lt;/pre&gt;     Start Apache &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# chkconfig --level 345 httpd on&lt;br /&gt;root@localhost# service httpd start&lt;br /&gt;&lt;/pre&gt;&lt;b&gt;&lt;k&gt;configuraciones extras &lt;/b&gt;&lt;/k&gt;&lt;br /&gt;En el php.ini   &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# vim /etc/php.ini &lt;br /&gt; 727 ; Maximum size of POST data that PHP will accept.&lt;br /&gt; 728 ; http://www.php.net/manual/en/ini.core.php#ini.post-max-size&lt;br /&gt; 729 post_max_size = 200M&lt;br /&gt; 876 ; Maximum allowed size for uploaded files.&lt;br /&gt; 877 ; http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize&lt;br /&gt; 878 upload_max_filesize = 200M&lt;br /&gt;&lt;/pre&gt; En el my.cnf, sino tiene agregarlo.  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# vim /etc/my.cnf &lt;br /&gt;  8 max_allowed_packet=16M&lt;br /&gt;&lt;/pre&gt;    Perform initial OCS config&lt;br /&gt;&lt;br /&gt;        Visit http://yourserver/ocsreports&lt;br /&gt;        You will be shown the database configuration page&lt;br /&gt;            Database: ocs&lt;br /&gt;            Username: ocs&lt;br /&gt;            Password: &lt;somepassword&gt;&lt;br /&gt;            Hostname: localhost&lt;br /&gt;&lt;br /&gt;        Click submit and wait a few seconds while the database is setup by the installation script         You will get a page which should show that everything was successful. You will be prompted to enter a string to show an agent the first time it contacts the OCS server. I leave it blank and click submit.         You will get a page informing you that installation is complete.&lt;br /&gt;        Delete the installation script&lt;br /&gt; Ojo dependiendo donde ubiques la ruta por defecto para dicho directorio en mi caso /usr/share/ocsinventory-reports/ocsreports puede ser también en tu caso /var/www/ &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# rm -f /usr/share/ocsinventory-reports/ocsreports/install.php&lt;br /&gt;&lt;/pre&gt;        Visit http://yourserver/ocsreports to login&lt;br /&gt;            Username: admin&lt;br /&gt;            Password: admin&lt;br /&gt;&lt;br /&gt;        You should change your &#39;admin&#39; password after logging in.         OCS Server installation is complete. You can now begin deploying your agents.&lt;br /&gt;&lt;br /&gt;fuente: &lt;a href=&quot;http://bit.ly/14owoeU&quot;&gt;http://bit.ly/14owoeU&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/3999590083195015545/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=3999590083195015545' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3999590083195015545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3999590083195015545'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/03/instalar-ocsreports-en-centos.html' title='instalar ocsinventory en centos 6.0 '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>1</thr:total><georss:featurename>Lima, Perú</georss:featurename><georss:point>-12.0478158 -77.062202800000023</georss:point><georss:box>-12.1099298 -77.142883800000021 -11.985701800000001 -76.981521800000024</georss:box></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-2625718992556107351</id><published>2013-03-01T16:05:00.001-08:00</published><updated>2013-03-01T16:05:59.428-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="vsftpd"/><title type='text'>instalar vsftpd en centos 6.0 </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola mis amados lectores algo rapido...  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# yum install vsftpd.x86_64&lt;br /&gt;root@localhost# cp -rfv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.old&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# vim /etc/vsftpd/vsftpd.conf&lt;br /&gt;# Example config file /etc/vsftpd/vsftpd.conf&lt;br /&gt;  2 #&lt;br /&gt;  3 # The default compiled in settings are fairly paranoid. This sample file&lt;br /&gt;  4 # loosens things up a bit, to make the ftp daemon more usable.&lt;br /&gt;  5 # Please see vsftpd.conf.5 for all compiled in defaults.&lt;br /&gt;  6 #&lt;br /&gt;  7 # READ THIS: This example file is NOT an exhaustive list of vsftpd options.&lt;br /&gt;  8 # Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd&#39;s&lt;br /&gt;  9 # capabilities.&lt;br /&gt; 10 #&lt;br /&gt; 11 # Allow anonymous FTP? (Beware - allowed by default if you comment this out).&lt;br /&gt; 12 anonymous_enable=YES&lt;br /&gt; 13 #&lt;br /&gt; 14 # Uncomment this to allow local users to log in.&lt;br /&gt; 15 local_enable=YES&lt;br /&gt; 16 #&lt;br /&gt; 17 # Uncomment this to enable any form of FTP write command.&lt;br /&gt; 18 write_enable=YES&lt;br /&gt; 19 #&lt;br /&gt; 20 # Default umask for local users is 077. You may wish to change this to 022,&lt;br /&gt; 21 # if your users expect that (022 is used by most other ftpd&#39;s)&lt;br /&gt; 22 local_umask=022&lt;br /&gt; 23 #&lt;br /&gt; 24 # Uncomment this to allow the anonymous FTP user to upload files. This only&lt;br /&gt; 25 # has an effect if the above global write enable is activated. Also, you will&lt;br /&gt; 26 # obviously need to create a directory writable by the FTP user.&lt;br /&gt; 27 #anon_upload_enable=YES&lt;br /&gt; 28 #&lt;br /&gt; 29 # Uncomment this if you want the anonymous FTP user to be able to create&lt;br /&gt; 30 # new directories.&lt;br /&gt; 31 #anon_mkdir_write_enable=YES&lt;br /&gt; 32 #&lt;br /&gt; 33 # Activate directory messages - messages given to remote users when they&lt;br /&gt; 34 # go into a certain directory.&lt;br /&gt; 35 dirmessage_enable=YES&lt;br /&gt; 36 #&lt;br /&gt; 37 # The target log file can be vsftpd_log_file or xferlog_file.&lt;br /&gt; 38 # This depends on setting xferlog_std_format parameter&lt;br /&gt;39 xferlog_enable=YES&lt;br /&gt; 40 #&lt;br /&gt; 41 # Make sure PORT transfer connections originate from port 20 (ftp-data).&lt;br /&gt; 42 connect_from_port_20=YES&lt;br /&gt; 43 #&lt;br /&gt; 44 # If you want, you can arrange for uploaded anonymous files to be owned by&lt;br /&gt; 45 # a different user. Note! Using &quot;root&quot; for uploaded files is not&lt;br /&gt; 46 # recommended!&lt;br /&gt; 47 #chown_uploads=YES&lt;br /&gt; 48 #chown_username=whoever&lt;br /&gt; 49 #&lt;br /&gt; 50 # The name of log file when xferlog_enable=YES and xferlog_std_format=YES&lt;br /&gt; 51 # WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log&lt;br /&gt; 52 #xferlog_file=/var/log/xferlog&lt;br /&gt; 53 #&lt;br /&gt; 54 # Switches between logging into vsftpd_log_file and xferlog_file files.&lt;br /&gt; 55 # NO writes to vsftpd_log_file, YES to xferlog_file&lt;br /&gt; 56 xferlog_std_format=YES&lt;br /&gt; 57 #&lt;br /&gt; 58 # You may change the default value for timing out an idle session.&lt;br /&gt; 59 idle_session_timeout=600&lt;br /&gt; 60 #&lt;br /&gt; 61 # You may change the default value for timing out a data connection.&lt;br /&gt; 62 data_connection_timeout=120&lt;br /&gt; 63 #&lt;br /&gt; 64 # It is recommended that you define on your system a unique user which the&lt;br /&gt; 65 # ftp server can use as a totally isolated and unprivileged user.&lt;br /&gt; 66 #nopriv_user=ftpsecure&lt;br /&gt; 67 #&lt;br /&gt; 68 # Enable this and the server will recognise asynchronous ABOR requests. Not&lt;br /&gt; 69 # recommended for security (the code is non-trivial). Not enabling it,&lt;br /&gt; 70 # however, may confuse older FTP clients.&lt;br /&gt;71 #async_abor_enable=YES&lt;br /&gt; 72 #&lt;br /&gt; 73 # By default the server will pretend to allow ASCII mode but in fact ignore&lt;br /&gt; 74 # the request. Turn on the below options to have the server actually do ASCII&lt;br /&gt; 75 # mangling on files when in ASCII mode.&lt;br /&gt; 76 # Beware that on some FTP servers, ASCII support allows a denial of service&lt;br /&gt; 77 # attack (DoS) via the command &quot;SIZE /big/file&quot; in ASCII mode. vsftpd&lt;br /&gt; 78 # predicted this attack and has always been safe, reporting the size of the&lt;br /&gt; 79 # raw file.&lt;br /&gt; 80 # ASCII mangling is a horrible feature of the protocol.&lt;br /&gt; 81 #ascii_upload_enable=YES&lt;br /&gt; 82 #ascii_download_enable=YES&lt;br /&gt; 83 #&lt;br /&gt; 84 # You may fully customise the login banner string:&lt;br /&gt; 85 ftpd_banner=Welcome to blah FTP service.&lt;br /&gt; 86 #&lt;br /&gt; 87 # You may specify a file of disallowed anonymous e-mail addresses. Apparently&lt;br /&gt; 88 # useful for combatting certain DoS attacks.&lt;br /&gt; 89 #deny_email_enable=YES&lt;br /&gt; 90 # (default follows)&lt;br /&gt; 91 #banned_email_file=/etc/vsftpd/banned_emails&lt;br /&gt; 92 #&lt;br /&gt; 93 # You may specify an explicit list of local users to chroot() to their home&lt;br /&gt; 94 # directory. If chroot_local_user is YES, then this list becomes a list of&lt;br /&gt; 95 # users to NOT chroot().&lt;br /&gt; 96 chroot_local_user=YES&lt;br /&gt; 97 #chroot_list_enable=YES&lt;br /&gt; 98 # (default follows)&lt;br /&gt; 99 #chroot_list_file=/etc/vsftpd/chroot_list&lt;br /&gt;100 #&lt;br /&gt;101 # You may activate the &quot;-R&quot; option to the builtin ls. This is disabled by&lt;br /&gt;102 # default to avoid remote users being able to cause excessive I/O on large&lt;br /&gt;103 # sites. However, some broken FTP clients such as &quot;ncftp&quot; and &quot;mirror&quot; assume&lt;br /&gt;104 # the presence of the &quot;-R&quot; option, so there is a strong case for enabling it.&lt;br /&gt;105 ls_recurse_enable=YES&lt;br /&gt;106 #&lt;br /&gt;107 # When &quot;listen&quot; directive is enabled, vsftpd runs in standalone mode and&lt;br /&gt;108 # listens on IPv4 sockets. This directive cannot be used in conjunction&lt;br /&gt;109 # with the listen_ipv6 directive.&lt;br /&gt;110 listen=YES&lt;br /&gt;111 #&lt;br /&gt;112 # This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6&lt;br /&gt;113 # sockets, you must run two copies of vsftpd with two configuration files.&lt;br /&gt;114 # Make sure, that one of the listen options is commented !!&lt;br /&gt;115 #listen_ipv6=YES&lt;br /&gt;116 &lt;br /&gt;117 pam_service_name=vsftpd&lt;br /&gt;118 userlist_enable=YES&lt;br /&gt;119 tcp_wrappers=YES&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/pre&gt;Si se necesita permitir el acceso utilizando las cuentas de usuarios del anfitrión local, a fin de que éstos puedan acceder a sus directorio de inicio, se debe habilitar la política ftp_home_dir: &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;setsebool -P ftp_home_dir 1&lt;br /&gt;&lt;/pre&gt;Para hacer que SELinux permita acceder a los usuarios locales al resto del sistema de archivos, ejecute el siguiente mandato: &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;setsebool -P allow_ftpd_full_access 1&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/2625718992556107351/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=2625718992556107351' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2625718992556107351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2625718992556107351'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/03/instalar-vsftpd-en-centos-60.html' title='instalar vsftpd en centos 6.0 '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-3623691472016275965</id><published>2013-02-12T18:12:00.001-08:00</published><updated>2013-02-12T18:13:20.520-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="entorno"/><category scheme="http://www.blogger.com/atom/ns#" term="escritorio"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="x"/><category scheme="http://www.blogger.com/atom/ns#" term="xorg"/><title type='text'>install X Escritorio in centos</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Para propósitos de desarrollo, a veces es necesario convertir un servidor CentOS sin interfaz gráfica, a uno con interfaz gráfica o GUI.   En general, no recomiendo hacer esto en servidores de producción, hospedaje, etc, sino por ejemplo para hacer pruebas en una máquina virtual como puede ser VirtualBox y además de montar la imagen del servidor, tener una interfaz gráfica, para probar aspectos de lado del cliente.   La opción más fácil es que yum nos gestione una lista de aplicaciones seleccionadas por la distribución para realizar este entorno gráfico. Antes de nada, es importante comprobar los paquetes que serán instalados, por si alguno puede entrar en conflicto o no deseas instalarlo.   &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# yum groupinstall &quot;Escritorio&quot;&lt;br /&gt;root@localhost# yum groupinstall &#39;X Window System&#39;&lt;br /&gt;&lt;/pre&gt;Reinicia tu máquina y tras iniciar tu sesión de consola escribe “startx” para pasar a modo gráfico. &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/3623691472016275965/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=3623691472016275965' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3623691472016275965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3623691472016275965'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/02/install-vlan-in-centos.html' title='install X Escritorio in centos'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-4113984662909527438</id><published>2013-02-11T13:43:00.000-08:00</published><updated>2013-02-12T18:08:04.642-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="8021q"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="interfaces"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="vlan"/><title type='text'>vlan in centos 6.0</title><content type='html'>Hola a todos mis amados lectores después de tiempo que les coloco algo, configurar vlan en centos 6.0 clonico de RED HAT.  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# modprobe 8021q&lt;br /&gt;root@localhost# lsmod | grep --color 8021q&lt;br /&gt;root@localhost# yum install vconfig&lt;br /&gt;root@localhost# cat &quot;modprobe 8021q&quot; &gt;&gt; /etc/rc.modules&lt;br /&gt;root@localhost# chmod +x /etc/rc.modules&lt;br /&gt;&lt;/pre&gt; Definir las interfaces de red, que te van a permitir utilizar y/o crear las redes vlan  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;DEVICE=&quot;eth0&quot;&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;HWADDR=&quot;4C:72:B9:20:9A:AD&quot;&lt;br /&gt;ONBOOT=&quot;no&quot;&lt;br /&gt;TYPE=Ethernet &lt;br /&gt;IPADDR=0.0.0.0&lt;br /&gt;NETMASK=255.255.255.0&lt;br /&gt;&lt;br /&gt;[root@sakito ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.11 &lt;br /&gt;DEVICE=eth0.11&lt;br /&gt;VLAN=yes&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;IPADDR=172.16.7.131&lt;br /&gt;NETMASK=255.255.255.224&lt;br /&gt;&lt;/pre&gt; Observación: &quot;Si tiene instalado el network manager, te generara inconvenientes, mejor desinstalarlo con el siguiente comando&quot; &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# yum remove NetworkManager.x86_64 &lt;br /&gt;root@localhost# chkconfig network on&lt;br /&gt;&lt;/pre&gt;  </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/4113984662909527438/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=4113984662909527438' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4113984662909527438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4113984662909527438'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/02/vlan-in-centos-60.html' title='vlan in centos 6.0'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5515717018273911532</id><published>2013-02-08T11:14:00.000-08:00</published><updated>2013-02-12T04:50:20.782-08:00</updated><title type='text'>install dansguardian clamav in debian </title><content type='html'>Hola a todos mis lectores después de años, publico algo :D, lo que sucede es que las actividades han aumentado y también los problemas, pero veamos como instalar un dansguardian en debian squeeze.  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# apt-get install dansguardian squid &lt;br /&gt;root@localhost# vim /etc/dansguardian/dansguardian.conf &lt;br /&gt;###### Comentar la linea &lt;br /&gt;#UNCONFIGURED &lt;br /&gt;###### Descomentar la linea &lt;br /&gt;contentscanner=..../clamdscan.conf &lt;br /&gt;daemonuser= &#39;dansguardian&#39;&lt;br /&gt;daemongroup= &#39;dansguardian&#39; &lt;br /&gt;&lt;br /&gt;root@localhost# apt-get install clamav-daemon &lt;br /&gt;root@localhost# vim /etc/clamav/clamad.conf&lt;br /&gt;####### Cambiar los siguientes parametros &lt;br /&gt;LogSyslog yes &lt;br /&gt;LogVerbose yes&lt;br /&gt;LogFileMaxSize 3M &lt;br /&gt;root@localhost# gpasswd -a clamav dansguardian&lt;br /&gt;root@localhost# /etc/init.d/clamav-daemon restart&lt;br /&gt;root@localhost# /etc/init.d/dansguardian restart &lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5515717018273911532/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5515717018273911532' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5515717018273911532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5515717018273911532'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2013/02/install-dansguardian-clamav-in-debian.html' title='install dansguardian clamav in debian '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5204497708853463860</id><published>2012-11-28T07:55:00.002-08:00</published><updated>2012-11-28T07:55:31.194-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="interfaces"/><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="networking"/><category scheme="http://www.blogger.com/atom/ns#" term="vlan"/><title type='text'>interface vlan up debian squeeze </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola mis amados lectores no tenia nombre para este titulo, solo un problema quería levantar una interfaz con vlan sin la necesidad de estar colocándole una ip, anteriormente en otros manuales que elabore para poder tener conectividad con un switch vlaneado lo que hacía era colocar una ip y si usaba una virtual a travez de dicha interfaz lograba tener conectividad  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# cat &gt;&gt; /etc/network/interfaces &lt;&lt; &quot;EOF&quot;&lt;br /&gt;# This file describes the network interfaces available on your system&lt;br /&gt;# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;&lt;br /&gt;# The loopback network interface&lt;br /&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;&lt;br /&gt;auto eth0 &lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 172.16.7.133 &lt;br /&gt;netmask 255.255.255.224&lt;br /&gt;gateway 172.16.7.158&lt;br /&gt;dns-nameservers 192.168.1.1&lt;br /&gt;&lt;br /&gt;auto eth1&lt;br /&gt;iface eth1 inet manual&lt;br /&gt;&lt;br /&gt;auto eth1.2 &lt;br /&gt;iface eth1.2 inet manual&lt;br /&gt;vlan_raw_device eth1&lt;br /&gt;up ifconfig eth1.2 up&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5204497708853463860/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5204497708853463860' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5204497708853463860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5204497708853463860'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/11/interface-vlan-up-debian-squeeze.html' title='interface vlan up debian squeeze '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-3758902239062264541</id><published>2012-11-13T09:07:00.001-08:00</published><updated>2012-11-13T09:08:34.202-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="sarg"/><category scheme="http://www.blogger.com/atom/ns#" term="squeeze"/><title type='text'>instalar sarg en debian squeeze </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;hola amados lectores vamos a instalar sarg en debian &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# cat &gt;&gt; /etc/apt/source.list &lt;&lt; &quot;EOF&quot;&lt;br /&gt;deb http://ubuntu.ich.edu.pe/backports.debian.org/debian-backports/ squeeze-backports main&lt;br /&gt;EOF&lt;br /&gt;root@localhost# apt-get install sarg&lt;br /&gt;root@localhost# ln -s /etc/sarg/sarg.conf /etc/squid/sarg.conf&lt;br /&gt;root@localhost# ln -s /etc/sarg/usertab /etc/squid/usertab&lt;br /&gt;root@localhost# apt-get install apache2 &lt;br /&gt;&lt;/pre&gt; Modificar la variable HTMLOUT para indicarle la ubicación exacta donde se almacenara los index creados, en nuestro caso sera /var/www/html/squid-reports &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# set | grep --color HTMLOUT &lt;br /&gt;HTMLOUT=/var/lib/sarg&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# vim /etc/sarg/sarg-reports.conf&lt;br /&gt;HTMLOUT=/var/www/squid-reports&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# sarg-reports today &lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/3758902239062264541/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=3758902239062264541' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3758902239062264541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3758902239062264541'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/11/instalar-sarg-en-debian-squeeze.html' title='instalar sarg en debian squeeze '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-817697262682334568</id><published>2012-11-10T23:09:00.000-08:00</published><updated>2012-11-10T23:24:16.287-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="nfs"/><category scheme="http://www.blogger.com/atom/ns#" term="nfs-server"/><category scheme="http://www.blogger.com/atom/ns#" term="pormap"/><title type='text'>instalar centos por red via nfs </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola a todos, tenemos HOST Server: ubuntu-12.04 y deseamos instalar un CentOS de 64 bits en varias maquinas, como le hacemos :D &lt;br /&gt;En el host Server:  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# apt-get install nfs-kernel-server &lt;br /&gt;root@localhost# cat /etc/exports &lt;br /&gt;#directorio_compartido &lt;hosts_permitidos&gt;(ro,insecure,no_root_squash)&lt;br /&gt;/var/CentOS/x86_64 *(ro,insecure,no_root_squash)&lt;br /&gt;&lt;/hosts_permitidos&gt;&lt;/pre&gt;reiniciamos el servicios: &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# /etc/init.d/nfs-kernel-server restart&lt;br /&gt;root@localhost# exportfs &lt;br /&gt;/var/CentOS/x86_64 &lt;world&gt;&lt;br /&gt;&lt;/world&gt;&lt;/pre&gt;copiamos los cds del centos al directorio compartido &quot;/var/CentOS/x86_64&quot; &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# cp -rfv /media/data/instaladores/iso/CentOS-5.8-x86_64-bin-{1..8}of8.iso /var/CentOS/X86_64/.&lt;br /&gt;&lt;/pre&gt;Levantamos la maquina virtual para iniciar la instalación, ver el procedimiento gráfico: &lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-zfUFcmJjaeA/UJ9M5nunjLI/AAAAAAAACZ4/w5iZy2tjjec/s1600/imagen01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;220&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-zfUFcmJjaeA/UJ9M5nunjLI/AAAAAAAACZ4/w5iZy2tjjec/s400/imagen01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-UFeQH61I9-w/UJ9NdR4lgjI/AAAAAAAACaE/w02cfNPq7kA/s1600/imagen02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;337&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-UFeQH61I9-w/UJ9NdR4lgjI/AAAAAAAACaE/w02cfNPq7kA/s400/imagen02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JJzGu3jJ7Po/UJ9M3B7yKUI/AAAAAAAACZU/W6S5E8DZAIw/s1600/imagen03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;337&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-JJzGu3jJ7Po/UJ9M3B7yKUI/AAAAAAAACZU/W6S5E8DZAIw/s400/imagen03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-KYJd4bh6G1M/UJ9M4aOQmNI/AAAAAAAACZg/sfEABNn6uQE/s1600/imagen04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-KYJd4bh6G1M/UJ9M4aOQmNI/AAAAAAAACZg/sfEABNn6uQE/s400/imagen04.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xar-YB8k8V4/UJ9M48OEdsI/AAAAAAAACZs/RLID-tYiboA/s1600/imagen05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-xar-YB8k8V4/UJ9M48OEdsI/AAAAAAAACZs/RLID-tYiboA/s400/imagen05.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-bMaN62RuQY8/UJ9NqYrLPmI/AAAAAAAACa0/JN_2lQrH30M/s1600/imagen06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-bMaN62RuQY8/UJ9NqYrLPmI/AAAAAAAACa0/JN_2lQrH30M/s400/imagen06.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-xKfC4DbQ1f0/UJ9NoWT1VeI/AAAAAAAACaQ/ZcpIxIdTP80/s1600/imagen07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-xKfC4DbQ1f0/UJ9NoWT1VeI/AAAAAAAACaQ/ZcpIxIdTP80/s400/imagen07.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-SUSuaGBnFkg/UJ9NpiithqI/AAAAAAAACao/NYfKY5hE1kM/s1600/imagen08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-SUSuaGBnFkg/UJ9NpiithqI/AAAAAAAACao/NYfKY5hE1kM/s400/imagen08.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-Hmu97t2IBuo/UJ9SE4Nt5XI/AAAAAAAACb0/0qVI3cqDQDA/s1600/imagen09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-Hmu97t2IBuo/UJ9SE4Nt5XI/AAAAAAAACb0/0qVI3cqDQDA/s400/imagen09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-B2YkKFU6HQY/UJ9N9u_tBQI/AAAAAAAACbA/dY0wt_qconk/s1600/imagen10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-B2YkKFU6HQY/UJ9N9u_tBQI/AAAAAAAACbA/dY0wt_qconk/s400/imagen10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;     &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/817697262682334568/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=817697262682334568' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/817697262682334568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/817697262682334568'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/11/instalar-centos-por-red-via-nfs.html' title='instalar centos por red via nfs '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-zfUFcmJjaeA/UJ9M5nunjLI/AAAAAAAACZ4/w5iZy2tjjec/s72-c/imagen01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-4083950899188433662</id><published>2012-10-05T15:58:00.001-07:00</published><updated>2012-10-05T15:58:21.838-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="console"/><category scheme="http://www.blogger.com/atom/ns#" term="extensión"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="pack"/><title type='text'>instalar oracle extensión pack por consola</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola a todos mis lectores se me presento un ligero inconveniente de instalación del oracle extensión pack para reconocer dispositivos usb, no tengo un servidor o entorno gráfico que me permita ayudar en la instalación para lo que realizo un procedimiento manual del mismo, pero veamos como se realiza entonces:   &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# VBoxManage extpack install --replace /usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack.vbox-extpack &lt;br /&gt;&lt;/pre&gt; &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/4083950899188433662/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=4083950899188433662' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4083950899188433662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/4083950899188433662'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/10/instalar-oracle-extension-pack-por.html' title='instalar oracle extensión pack por consola'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-3704706340253200386</id><published>2012-10-02T15:14:00.000-07:00</published><updated>2012-10-02T15:15:37.076-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL)</title><content type='html'>&lt;b&gt;This is guide, howto install Oracle VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL).&lt;/b&gt; This guide should work with Fedora 17/16/15/14/13/12, CentOS 6.3/6.2/6.1/6.0/5.8, Red Hat (RHEL) 6.3/6.2/6.1/6/5.8.&lt;br /&gt;VirtualBox  Guest Additions is special software that can be installed inside Linux  virtual machines to improve performance and make integration much more  seamless. Among the features provided by these VirtualBox Guest  Additions are mouse pointer integration and arbitrary screen solutions  (e.g. by resizing the guest window).&lt;br /&gt;&lt;h2&gt;Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL)&lt;/h2&gt;&lt;h3&gt;1. Change root user&lt;/h3&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;su&lt;/span&gt; -&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## OR ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; &lt;span style=&quot;color: #bed6ff;&quot;&gt;-i&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3&gt;2. Mount VirtualBox Guest Additions&lt;/h3&gt;Click &lt;b&gt;Devices &amp;gt; Install Guest Additions…&lt;/b&gt; on VirtualBox&lt;br /&gt;&lt;a class=&quot;fancybox&quot; href=&quot;http://media.if-not-true-then-false.com/2010/07/virtualbox-install-guest-additions.png&quot; rel=&quot;fancybox0&quot; title=&quot;VirtualBox Install Guest Additions&quot;&gt;&lt;img alt=&quot;VirtualBox Install Guest Additions&quot; class=&quot;aligncenter size-full wp-image-2010&quot; height=&quot;234&quot; src=&quot;http://media.if-not-true-then-false.com/2010/07/virtualbox-install-guest-additions.png&quot; title=&quot;VirtualBox Install Guest Additions&quot; width=&quot;526&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Mount VirtualBox Guest Additions device&lt;br /&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;mkdir&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;media&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;VirtualBoxGuestAdditions&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;mount&lt;/span&gt; &lt;span style=&quot;color: #bed6ff;&quot;&gt;-r&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;cdrom &lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;media&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;VirtualBoxGuestAdditions&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3&gt;3. Make sure that you are running latest kernel&lt;/h3&gt;Update virtual machine kernel and reboot&lt;br /&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;yum update&lt;/span&gt; kernel&lt;span style=&quot;color: white;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;reboot&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3&gt;4. Install following packages&lt;/h3&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;yum install&lt;/span&gt; &lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;gcc&lt;/span&gt; kernel-devel kernel-headers&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3&gt;5. Add KERN_DIR environment variable&lt;/h3&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## Current running kernel on Fedora ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #729fcf;&quot;&gt;KERN_DIR&lt;/span&gt;=&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;src&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;kernels&lt;span style=&quot;color: white;&quot;&gt;/`&lt;/span&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;uname&lt;/span&gt; -r&lt;span style=&quot;color: white;&quot;&gt;`&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## Current running kernel on CentOS and Red Hat (RHEL) ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #729fcf;&quot;&gt;KERN_DIR&lt;/span&gt;=&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;src&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;kernels&lt;span style=&quot;color: white;&quot;&gt;/`&lt;/span&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;uname&lt;/span&gt; -r&lt;span style=&quot;color: white;&quot;&gt;`&lt;/span&gt;-&lt;span style=&quot;color: white;&quot;&gt;`&lt;/span&gt;&lt;span style=&quot;color: white; font-weight: bold;&quot;&gt;uname&lt;/span&gt; -m&lt;span style=&quot;color: white;&quot;&gt;`&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## Fedora example ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #729fcf;&quot;&gt;KERN_DIR&lt;/span&gt;=&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;src&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;kernels&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;2.6.33.5-&lt;span style=&quot;color: #7fb347;&quot;&gt;124&lt;/span&gt;.fc13.i686&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## CentOS and Red Hat (RHEL) example ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #729fcf;&quot;&gt;KERN_DIR&lt;/span&gt;=&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;src&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;kernels&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;2.6.18-194.11.1.el5-x86_64&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;## Export KERN_DIR ##&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #d3d7cf;&quot;&gt;export&lt;/span&gt; KERN_DIR&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;h3&gt;6. Install Guest Additions&lt;/h3&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;&lt;span style=&quot;color: #d3d7cf;&quot;&gt;cd&lt;/span&gt; &lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;media&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;VirtualBoxGuestAdditions&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# 32-bit and 64-bit systems run following&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: black;&quot;&gt;.&lt;span style=&quot;color: white;&quot;&gt;/&lt;/span&gt;VBoxLinuxAdditions.run&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;Output looks like following:&lt;br /&gt;&lt;pre&gt;[root@fedora VBoxGuestAdditions]# ./VBoxLinuxAdditions.run&lt;br /&gt;Verifying archive integrity... All good.&lt;br /&gt;Uncompressing VirtualBox 4.1.6 Guest Additions for Linux.........&lt;br /&gt;VirtualBox Guest Additions installer&lt;br /&gt;Removing installed version 4.1.6 of VirtualBox Guest Additions...&lt;br /&gt;Removing existing VirtualBox DKMS kernel modules           [  OK  ]&lt;br /&gt;Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]&lt;br /&gt;Building the VirtualBox Guest Additions kernel modules&lt;br /&gt;Building the main Guest Additions module                   [  OK  ]&lt;br /&gt;Building the shared folder support module                  [  OK  ]&lt;br /&gt;Building the OpenGL support module                         [  OK  ]&lt;br /&gt;Doing non-kernel setup of the Guest Additions              [  OK  ]&lt;br /&gt;You should restart your guest to make sure the new modules are actually used&lt;br /&gt;&lt;br /&gt;Installing the Window System drivers&lt;br /&gt;Installing X.Org Server 1.11 modules                       [  OK  ]&lt;br /&gt;Setting up the Window System to use the Guest Additions    [  OK  ]&lt;br /&gt;You may need to restart the hal service and the Window System (or just restart&lt;br /&gt;the guest system) to enable the Guest Additions.&lt;br /&gt;&lt;br /&gt;Installing graphics libraries and desktop services componen[  OK  ]&lt;br /&gt;&lt;/pre&gt;&lt;h3&gt;7. Reboot guest system&lt;/h3&gt;&lt;div class=&quot;wp_syntax&quot;&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;color: #d8d8d8;&quot;&gt;&lt;span style=&quot;background-color: black;&quot;&gt;reboot&lt;/span&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;b&gt;Then VirtualBox Guest Additions install is ready.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/3704706340253200386/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=3704706340253200386' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3704706340253200386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/3704706340253200386'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/10/install-virtualbox-guest-additions-on.html' title='Install VirtualBox Guest Additions on Fedora, CentOS and Red Hat (RHEL)'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5503087205083293586</id><published>2012-10-02T02:54:00.002-07:00</published><updated>2012-10-02T02:55:03.457-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="linuxaskmethod"/><category scheme="http://www.blogger.com/atom/ns#" term="redes"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>instalar centos por red  </title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;En el dictado de clases sobre Linux/GNU contamos con un laboratorio de 30 maquinas, cada maquina debe tener instalado el Centos de 64 bits ahora...!!!! :S como cojones xD se hace .. xD aqui les muestro el procedimiento:&lt;br /&gt;  &lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;b&gt;Equipos Necesarios:&lt;/b&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://loquitoslack.blogspot.com/2012/09/instalar-virtualbox-42-en-centos-58-64.html&quot; style=&quot;color: #ADD8E6; background-color: #7F7F7F; &quot;&gt;Virtualbox de 64 bits&lt;/a&gt;&lt;/li&gt;&lt;li&gt;CD&#39;s de Centos 64 bits &lt;/li&gt;&lt;li&gt;Servidor Apache, Ftp, NFS &lt;/li&gt;&lt;li&gt;Host local Ubuntu/Centos&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Procedimiento:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1) Descargar el &lt;a href=&quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/&quot; style=&quot;color: #ADD8E6; background-color: #7F7F7F;&quot;&gt;CentOS de 64 bits&lt;/a&gt; dependiendo del tipo de instalación que requieras puedes descargar los cds y dvds.&lt;br /&gt;&lt;br /&gt;En formato cd:&lt;br /&gt;&lt;br /&gt;  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-1of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-2of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-3of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-4of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-5of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-6of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-7of8.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-8of8.iso&quot;&lt;br /&gt;&lt;/pre&gt;En formato dvd: &lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-DVD-1of2.iso&quot;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-bin-DVD-2of2.iso&quot;&lt;br /&gt;&lt;/pre&gt;2) Una ves que tienes los cds de instalación descargas el cd netinstall para la instalación por red ( no es necesario si instalas via nfs )  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# wget -c &quot;http://mirror.chpc.utah.edu/pub/centos/5.8/isos/x86_64/CentOS-5.8-x86_64-netinstall.iso&quot;&lt;br /&gt;&lt;/pre&gt;3) Metodo http: En el localhost preparar el servicio apache, &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;En MI ubuntu: &lt;br /&gt;root@localhost# apt-get install apache2 &lt;br /&gt;#### Si tienes cds de instalación &lt;br /&gt;root@localhost# mkdir /var/www/CentOS/&lt;br /&gt;root@localhost# mkdir -p /var/www/CentOS/cds/x86_64/disk{1..8}&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-1of8.iso /var/www/CentOS/cds/x86_64/disk1&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-2of8.iso /var/www/CentOS/cds/x86_64/disk2&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-3of8.iso /var/www/CentOS/cds/x86_64/disk3&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-4of8.iso /var/www/CentOS/cds/x86_64/disk4&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-5of8.iso /var/www/CentOS/cds/x86_64/disk5&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-6of8.iso /var/www/CentOS/cds/x86_64/disk6&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-7of8.iso /var/www/CentOS/cds/x86_64/disk7&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/CentOS-5.8-x86_64-bin-8of8.iso /var/www/CentOS/cds/x86_64/disk8&lt;br /&gt;###### En caso de tener dvds &lt;br /&gt;root@localhost# mkdir /var/www/Centos/dvds/x86_64/dvd{1,2} &lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/x86_64/CentOS-5.8-x86_64-bin-DVD-1of2.iso /var/www/CentOS/dvds/x86_64/dvd1/&lt;br /&gt;root@localhost# mount -t iso9660 -o loop /home/usuario/descargas/x86_64/CentOS-5.8-x86_64-bin-DVD-2of2.iso /var/www/CentOS/dvds/x86_64/dvd2/&lt;br /&gt;###### Instalar virtualbox &lt;br /&gt;root@localhost# cat &gt;&gt; /etc/apt/source.list &lt;&lt; &quot;EOF&quot;&lt;br /&gt;deb http://download.virtualbox.org/virtualbox/debian precise contrib&lt;br /&gt;EOF&lt;br /&gt;root@localhost# apt-get install virtualbox-4.2&lt;br /&gt;root@localhost# gpasswd -a usuario vboxusers&lt;br /&gt;&lt;/pre&gt;4) levantar la virtualización: creamos la maquina virtual siguiendo el procedimiento que se muestra a continuación:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-uua1U5jdN-k/UGnXVGwfkqI/AAAAAAAACQg/xu4SBRRZOZQ/s1600/virtual_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-uua1U5jdN-k/UGnXVGwfkqI/AAAAAAAACQg/xu4SBRRZOZQ/s400/virtual_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-tIcYckGcj4Q/UGnXVjzAbdI/AAAAAAAACQw/_g19xGhFLHg/s1600/virtual_02.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; width=&quot;326&quot; src=&quot;http://2.bp.blogspot.com/-tIcYckGcj4Q/UGnXVjzAbdI/AAAAAAAACQw/_g19xGhFLHg/s400/virtual_02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-lVbepO6d8yg/UGnXWnkMOkI/AAAAAAAACQ4/binQk6Ry_ds/s1600/virtual_03.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-lVbepO6d8yg/UGnXWnkMOkI/AAAAAAAACQ4/binQk6Ry_ds/s400/virtual_03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-mJHBWsgKOrk/UGnXXKKurxI/AAAAAAAACRE/--2cgJv8q3g/s1600/virtual_04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-mJHBWsgKOrk/UGnXXKKurxI/AAAAAAAACRE/--2cgJv8q3g/s400/virtual_04.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-vb3zzDlgAlM/UGnXXjbwzEI/AAAAAAAACRQ/TnVTuGejYVo/s1600/virtual_05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-vb3zzDlgAlM/UGnXXjbwzEI/AAAAAAAACRQ/TnVTuGejYVo/s400/virtual_05.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-45j_-ndovkU/UGnXuJfijuI/AAAAAAAACRc/6Tv0mRCqG6k/s1600/virtual_05.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-45j_-ndovkU/UGnXuJfijuI/AAAAAAAACRc/6Tv0mRCqG6k/s400/virtual_05.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-m27kifbk4tQ/UGnXvT3GX9I/AAAAAAAACRo/lNq5EB1B6AQ/s1600/virtual_06.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-m27kifbk4tQ/UGnXvT3GX9I/AAAAAAAACRo/lNq5EB1B6AQ/s400/virtual_06.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ObkgfgAdZao/UGnXv3lb35I/AAAAAAAACR0/JWjpl6KRABI/s1600/virtual_07.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-ObkgfgAdZao/UGnXv3lb35I/AAAAAAAACR0/JWjpl6KRABI/s400/virtual_07.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-aeCkAbpzsIU/UGnXwXzIeaI/AAAAAAAACSA/4ws4ATzo4pw/s1600/virtual_08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-aeCkAbpzsIU/UGnXwXzIeaI/AAAAAAAACSA/4ws4ATzo4pw/s400/virtual_08.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-ox2aqi8-QBA/UGnXwxJLn3I/AAAAAAAACSM/UnBWYtRhCfA/s1600/virtual_09.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;271&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-ox2aqi8-QBA/UGnXwxJLn3I/AAAAAAAACSM/UnBWYtRhCfA/s400/virtual_09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-LfaBhTBBkzw/UGqp-j-qF6I/AAAAAAAACS0/Dbm1RDTDbHo/s1600/virtual_10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-LfaBhTBBkzw/UGqp-j-qF6I/AAAAAAAACS0/Dbm1RDTDbHo/s400/virtual_10.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-hlOjqII-XmE/UGqp_aNKY4I/AAAAAAAACTA/4SRG7gGTqZs/s1600/virtual_11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;294&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-hlOjqII-XmE/UGqp_aNKY4I/AAAAAAAACTA/4SRG7gGTqZs/s400/virtual_11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-CMboIm8UJ4E/UGqp_0Zr2mI/AAAAAAAACTM/kC5eAI96g1M/s1600/virtual_12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;243&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-CMboIm8UJ4E/UGqp_0Zr2mI/AAAAAAAACTM/kC5eAI96g1M/s400/virtual_12.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-ddoVHiIcjLE/UGqqAQZVrCI/AAAAAAAACTY/cGpE_LmO4tA/s1600/virtual_13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-ddoVHiIcjLE/UGqqAQZVrCI/AAAAAAAACTY/cGpE_LmO4tA/s400/virtual_13.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-P3GEwHctnlI/UGqp-M0VpgI/AAAAAAAACSo/ChltPrBZtbk/s1600/virtual_14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-P3GEwHctnlI/UGqp-M0VpgI/AAAAAAAACSo/ChltPrBZtbk/s400/virtual_14.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-XDGKN4AAPfc/UGqtIhJ0SJI/AAAAAAAACUk/i5xGtqdb32s/s1600/virtual_15.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-XDGKN4AAPfc/UGqtIhJ0SJI/AAAAAAAACUk/i5xGtqdb32s/s400/virtual_15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-_Y4OtvWTNI0/UGqtFCTcW2I/AAAAAAAACT0/Gu4GKa1cKfE/s1600/virtual_16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;291&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-_Y4OtvWTNI0/UGqtFCTcW2I/AAAAAAAACT0/Gu4GKa1cKfE/s400/virtual_16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-Y-Fpp67ODPI/UGqtFjQvqAI/AAAAAAAACUA/q264bearuus/s1600/virtual_17.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-Y-Fpp67ODPI/UGqtFjQvqAI/AAAAAAAACUA/q264bearuus/s400/virtual_17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-HGaRsm6-r_g/UGqtHN_rHtI/AAAAAAAACUY/eSUrEUL7HDU/s1600/virtual_19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-HGaRsm6-r_g/UGqtHN_rHtI/AAAAAAAACUY/eSUrEUL7HDU/s400/virtual_19.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-5AEmH-LVAiM/UGqtGal-E9I/AAAAAAAACUM/XjAjsNyRVdY/s1600/virtual_18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;294&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-5AEmH-LVAiM/UGqtGal-E9I/AAAAAAAACUM/XjAjsNyRVdY/s400/virtual_18.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-c-6DfRhbyJM/UGqvCaxG2NI/AAAAAAAACUw/h90_FKBbGVw/s1600/virtual_20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;189&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-c-6DfRhbyJM/UGqvCaxG2NI/AAAAAAAACUw/h90_FKBbGVw/s400/virtual_20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-EAM3PC7zXTw/UGqypwx4biI/AAAAAAAACV8/G3B89wtN5dE/s1600/virtual_21.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;337&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-EAM3PC7zXTw/UGqypwx4biI/AAAAAAAACV8/G3B89wtN5dE/s400/virtual_21.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-gYiaKpw54ZQ/UGqynZCZ7gI/AAAAAAAACVQ/h41CD8j8gws/s1600/virtual_22.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;337&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-gYiaKpw54ZQ/UGqynZCZ7gI/AAAAAAAACVQ/h41CD8j8gws/s400/virtual_22.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-t7TbfBpQioc/UGqyob8wszI/AAAAAAAACVY/BgPuIbuDQAg/s1600/virtual_23.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-t7TbfBpQioc/UGqyob8wszI/AAAAAAAACVY/BgPuIbuDQAg/s400/virtual_23.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-_MsC4HeZW1o/UGqyozpX_rI/AAAAAAAACVk/LDBm2VrF5yg/s1600/virtual_24.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-_MsC4HeZW1o/UGqyozpX_rI/AAAAAAAACVk/LDBm2VrF5yg/s400/virtual_24.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-R5xrPp9oUI8/UGqypR1LN3I/AAAAAAAACVw/QF882lYh-gk/s1600/virtual_25.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-R5xrPp9oUI8/UGqypR1LN3I/AAAAAAAACVw/QF882lYh-gk/s400/virtual_25.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-2_JKzXdZKyE/UGq2UMv3y9I/AAAAAAAACXA/vwbZB19qfA0/s1600/virtual_26.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-2_JKzXdZKyE/UGq2UMv3y9I/AAAAAAAACXA/vwbZB19qfA0/s400/virtual_26.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xWZyoQNLKPg/UGq2RpQWOkI/AAAAAAAACWc/-BLEmePhIeI/s1600/virtual_27.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://1.bp.blogspot.com/-xWZyoQNLKPg/UGq2RpQWOkI/AAAAAAAACWc/-BLEmePhIeI/s400/virtual_27.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Ga3sdcTuRIw/UGq2SPPvpOI/AAAAAAAACWo/RqmdrqRs2K0/s1600/virtual_28.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;255&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-Ga3sdcTuRIw/UGq2SPPvpOI/AAAAAAAACWo/RqmdrqRs2K0/s400/virtual_28.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt; &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-yZM_WhPeLVw/UGq2S7wmNtI/AAAAAAAACW4/_vdE5QZ2PsY/s1600/centos_01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; width=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-yZM_WhPeLVw/UGq2S7wmNtI/AAAAAAAACW4/_vdE5QZ2PsY/s400/centos_01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;     </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5503087205083293586/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5503087205083293586' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5503087205083293586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5503087205083293586'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/10/instalar-centos-por-red.html' title='instalar centos por red  '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-uua1U5jdN-k/UGnXVGwfkqI/AAAAAAAACQg/xu4SBRRZOZQ/s72-c/virtual_01.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-1775799981821526270</id><published>2012-09-26T18:42:00.001-07:00</published><updated>2012-09-26T18:42:16.363-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>instalar virtualbox 4.2 en centos 5.8 64 bits</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Hola a todos los lectores de mi blog, estoy a punto de dictar un curso de windows server 2008R2, si ya sé... :S que cojones hago instalando en virtualbox instalado para centos el windows, XD pues como el 2008-R2 es una arquitectura de 64 bits trato de demostrar que sobre un centos xD corre mi windows, ojo un centos de 64 bits para mantener la compatibilidad, lo primero que se me dificulto es como instalar el virtualbox econtre un sin número de manuales pero espero que este contribuya más con alguno de ustedes:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-mix1FEnHfS8/UGOu3TsFnLI/AAAAAAAACQE/KSnLvNB5VHY/s1600/7962690024_71f69443e4_m.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; width=&quot;224&quot; src=&quot;http://4.bp.blogspot.com/-mix1FEnHfS8/UGOu3TsFnLI/AAAAAAAACQE/KSnLvNB5VHY/s400/7962690024_71f69443e4_m.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# cd /etc/yum.repos.d&lt;br /&gt;root@localhost# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost#cat /etc/yum.repos.d/virtualbox.repo &lt;br /&gt;[virtualbox]&lt;br /&gt;name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox&lt;br /&gt;baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch&lt;br /&gt;enabled=1&lt;br /&gt;gpgcheck=1&lt;br /&gt;gpgkey=http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;[root@virtual ~]# yum search virtualbox&lt;br /&gt;Loaded plugins: fastestmirror, security&lt;br /&gt;Loading mirror speeds from cached hostfile&lt;br /&gt; * base: mirror.trouble-free.net&lt;br /&gt; * extras: mirrors.coopvgg.com.ar&lt;br /&gt; * rpmforge: mirror.us.leaseweb.net&lt;br /&gt; * updates: mirror.trouble-free.net&lt;br /&gt;base                                                                                                                                            | 1.1 kB     00:00     &lt;br /&gt;extras                                                                                                                                          | 2.1 kB     00:00     &lt;br /&gt;rpmforge                                                                                                                                        | 1.9 kB     00:00     &lt;br /&gt;updates                                                                                                                                         | 1.9 kB     00:00     &lt;br /&gt;virtualbox                                                                                                                                      |  951 B     00:00     &lt;br /&gt;========================================================================= Matched: virtualbox =========================================================================&lt;br /&gt;VirtualBox-3.1.x86_64 : Powerful PC virtualization solution&lt;br /&gt;VirtualBox-3.2.x86_64 : Oracle VM VirtualBox&lt;br /&gt;VirtualBox-4.0.x86_64 : Oracle VM VirtualBox&lt;br /&gt;VirtualBox-4.1.x86_64 : Oracle VM VirtualBox&lt;br /&gt;VirtualBox-4.2.x86_64 : Oracle VM VirtualBox&lt;br /&gt;virt-what.x86_64 : Detect if we are running in a virtual machine&lt;br /&gt;&lt;/pre&gt;Hemos verificado que contamos con el repositorio de oracle virtualbox, ahora es necesario instalar las dependencias para poder instalar el paquete.&lt;br /&gt;&lt;br /&gt;Primero debemos bajar una repositorio de dependencias extras, &lt;a href=&quot;http://wiki.centos.org/AdditionalResources/Repositories/RPMForge&quot;&gt;RPMForge&lt;/a&gt; &lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;i386&lt;/b&gt; &lt;a href=&quot;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm&quot; style=&quot;background-color: #d0e0e3;&quot;&gt; http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;x86_64&lt;/b&gt; &lt;a href=&quot;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&quot; style=&quot;background-color: #d0e0e3;&quot;&gt;http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt&lt;br /&gt;root@localhost# rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm&lt;br /&gt;root@localhost# yum groupinstall &quot;Development Tools&quot;&lt;br /&gt;root@localhost# yum install kernel-devel&lt;br /&gt;root@localhost# yum intall VirtualBox-4.2.x86_64&lt;br /&gt;&lt;/pre&gt;Cuando instalamos el paquete nos percatamos que no esta correctamente instalado:  &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;[root@virtual ~]# /etc/init.d/vboxdrv setup&lt;br /&gt;Stopping VirtualBox kernel modules                         [  OK  ]&lt;br /&gt;Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]&lt;br /&gt;Trying to register the VirtualBox kernel modules using DKMS&lt;br /&gt;Error! Your kernel headers for kernel 2.6.18-308.el5 cannot be found at&lt;br /&gt;/lib/modules/2.6.18-308.el5/build or /lib/modules/2.6.18-308.el5/source.&lt;br /&gt;                                                           [FALLÓ]&lt;br /&gt;  (Failed, trying without DKMS)&lt;br /&gt;Recompiling VirtualBox kernel modules                      [FALLÓ]&lt;br /&gt;  (Look at /var/log/vbox-install.log to find out what went wrong)&lt;br /&gt;[root@virtual ~]# tail -f /var/log/vbox-install.log&lt;br /&gt;Done.&lt;br /&gt;Attempting to install using DKMS&lt;br /&gt;&lt;/pre&gt;Debemos especificar la ruta del kernel para que la instalación finalice &lt;br /&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;root@localhost# export KERN_DIR=/usr/src/kernels/2.6.18-308.13.1.el5-x86_64/&lt;br /&gt;root@localhost#/etc/init.d/vboxdrv setup&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/1775799981821526270/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=1775799981821526270' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/1775799981821526270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/1775799981821526270'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/09/instalar-virtualbox-42-en-centos-58-64.html' title='instalar virtualbox 4.2 en centos 5.8 64 bits'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-mix1FEnHfS8/UGOu3TsFnLI/AAAAAAAACQE/KSnLvNB5VHY/s72-c/7962690024_71f69443e4_m.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-6710480786650105576</id><published>2012-09-19T08:35:00.001-07:00</published><updated>2012-09-19T08:35:42.201-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="exportfs"/><category scheme="http://www.blogger.com/atom/ns#" term="nfs"/><title type='text'>mountd: refused mount nfs illegal port</title><content type='html'>In case you’re getting error while mounting a nfs share, and logs on server showing: &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;Mar 24 10:44:57 localhost mountd[8344]: refused mount request from 192.168.1.2 for /dump (/dump): illegal port 52213&lt;br /&gt;&lt;/pre&gt;Add insecure option in your exports file: &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;/dump  *(ro,sync,no_root_squash,insecure)&lt;br /&gt;&lt;/pre&gt;And do exportfs -r or reload/restart nfs service.</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/6710480786650105576/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=6710480786650105576' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/6710480786650105576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/6710480786650105576'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/09/mountd-refused-mount-nfs-illegal-port.html' title='mountd: refused mount nfs illegal port'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-5721783876531796573</id><published>2012-09-13T14:39:00.000-07:00</published><updated>2012-09-13T14:39:18.559-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="driver"/><category scheme="http://www.blogger.com/atom/ns#" term="grafica"/><category scheme="http://www.blogger.com/atom/ns#" term="interfaz"/><category scheme="http://www.blogger.com/atom/ns#" term="nvidia"/><title type='text'>instalar driver nvidia en centos 6.3 </title><content type='html'>&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# lspci | grep --color -i vga&lt;br /&gt;01:00.0 VGA compatible controller: NVIDIA Corporation G98 [GeForce 8400 GS] (rev a1)&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# cat /etc/issue&lt;br /&gt;CentOS release 6.3 (Final)&lt;br /&gt;Kernel \r on an \m&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# uname -a&lt;br /&gt;Linux alumno-pc 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# yum update -y &amp;&amp; yum upgrade -y&lt;br /&gt;&lt;/pre&gt;Descargar el paquete de la &lt;a href=&quot;http://www.nvidia.com/Download/index.aspx?lang=en-us&quot;&gt;&lt;span style=&quot;color: #6fa8dc;&quot;&gt;pagina oficial&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Vjzeyx4RVgY/UFJMSuFVywI/AAAAAAAACPo/V63lQbndTTA/s1600/Pantallazo-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; width=&quot;400&quot; src=&quot;http://4.bp.blogspot.com/-Vjzeyx4RVgY/UFJMSuFVywI/AAAAAAAACPo/V63lQbndTTA/s400/Pantallazo-3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Desactivar las X, servidor grafico para dicha acción presionar ctrl+alt+f2, usuario y contraseña y digitar  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# init 3 &lt;br /&gt;&lt;/pre&gt;Instalar el compilador gcc &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# yum install gcc &lt;br /&gt;&lt;/pre&gt;Instalar el paquete kernel-devel  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# yum install kernel-devel &lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# uname -r&lt;br /&gt;2.6.32-279.el6.x86_64&lt;br /&gt;&lt;/pre&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;[root@alumno-pc ~]# ./NVIDIA-Linux-x86_64-304.43.run --kernel-source-path=/usr/src/kernels/2.6.32-279.5.2.el6.x86_64/&lt;br /&gt;&lt;/pre&gt; XD exitos XD   &lt;b&gt;posdata:&lt;/b&gt; EL manual del pollito xD  </content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/5721783876531796573/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=5721783876531796573' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5721783876531796573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/5721783876531796573'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/09/instalar-driver-nvidia-en-centos-63.html' title='instalar driver nvidia en centos 6.3 '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-Vjzeyx4RVgY/UFJMSuFVywI/AAAAAAAACPo/V63lQbndTTA/s72-c/Pantallazo-3.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-1119109364724937453</id><published>2012-09-03T14:06:00.002-07:00</published><updated>2012-09-03T14:19:32.478-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="fedora"/><title type='text'> Error: Not using downloaded repomd.xml because it is older than what we have centos</title><content type='html'>&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# yum clean all&lt;br /&gt;root@localhost# yum check-update&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/1119109364724937453/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=1119109364724937453' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/1119109364724937453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/1119109364724937453'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/09/error-not-using-downloaded-repomdxml.html' title=' Error: Not using downloaded repomd.xml because it is older than what we have centos'/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7025925632585814242.post-2222640465522526466</id><published>2012-09-03T08:24:00.001-07:00</published><updated>2012-09-03T08:26:15.517-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="debian"/><category scheme="http://www.blogger.com/atom/ns#" term="export"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="http"/><category scheme="http://www.blogger.com/atom/ns#" term="http_proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="https"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="proxy"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>export http_proxy en Linux Ubuntu Debian Server </title><content type='html'>Hola a todos mis lectores, como exportamos el proxy en nuestros clientes linux por consola siendo nuestra ip y puerto del squid: 192.168.1.1:3128  &lt;b&gt;El modo clasico:&lt;/b&gt;&lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# cat &gt;&gt; ~/.bashrc &lt;&lt; &quot;EOF&quot;&lt;br /&gt;export http_proxy=http://192.168.1.1:3128&lt;br /&gt;export https_proxy=http://192.168.1.1:3128&lt;br /&gt;export ftp_proxy=http://192.168.1.1:3128&lt;br /&gt;EOF&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;Si deseas crear una función en ~/.bashrc &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;#/bin/bash&lt;br /&gt; assignProxy(){&lt;br /&gt;   PROXY_ENV=&quot;http_proxy ftp_proxy https_proxy&quot;&lt;br /&gt;   for envar in $PROXY_ENV&lt;br /&gt;   do&lt;br /&gt;     export $envar=$1&lt;br /&gt;   done&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; clrProxy(){&lt;br /&gt;   assignProxy &quot;http://192.168.1.1:3128&quot; # This is what &#39;unset&#39; does.&lt;br /&gt; }&lt;br /&gt;clrProxy #realiza la llamada principal. &lt;br /&gt;&lt;/pre&gt; En caso de tener un usuario y contraseña sería de la forma &quot;http://$user:$pass@ProxyServerAddress:Port&quot; &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;root@localhost# cat &gt;&gt; ~/.bashrc &lt;&lt; &quot;EOF&quot;&lt;br /&gt;export http_proxy=http://loquitoslack:k791281@192.168.1.1:3128&lt;br /&gt;export https_proxy=http://loquitoslack:k791281@192.168.1.1:3128&lt;br /&gt;export ftp_proxy=http://loquitoslack:k791281@192.168.1.1:3128&lt;br /&gt;EOF&lt;br /&gt;&lt;/pre&gt; Si desarrollamos un script  &lt;pre class=&quot;brush: bash&quot; style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt; assignProxy(){&lt;br /&gt;   PROXY_ENV=&quot;http_proxy ftp_proxy https_proxy&quot;&lt;br /&gt;   for envar in $PROXY_ENV&lt;br /&gt;   do&lt;br /&gt;     export $envar=$1&lt;br /&gt;   done&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; myProxy(){&lt;br /&gt;  user=$1 &lt;br /&gt;  password=$2 &lt;br /&gt;  proxy_value=&quot;http://$user:$pass@ProxyServerAddress:Port&quot;&lt;br /&gt;  assignProxy $proxy_value  &lt;br /&gt; }&lt;br /&gt; my_user(){&lt;br /&gt;   user=YourUserName&lt;br /&gt;   password=MyPassword&lt;br /&gt;   myProxy $user $password &lt;br /&gt;}&lt;br /&gt;myuser&lt;br /&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://loquitoslack.blogspot.com/feeds/2222640465522526466/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7025925632585814242&amp;postID=2222640465522526466' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2222640465522526466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7025925632585814242/posts/default/2222640465522526466'/><link rel='alternate' type='text/html' href='http://loquitoslack.blogspot.com/2012/09/export-httpproxy-en-linux-ubuntu-debian.html' title='export http_proxy en Linux Ubuntu Debian Server '/><author><name>loquitoslack</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://4.bp.blogspot.com/-rm6YVq2h5dg/TnIZhBCLFxI/AAAAAAAAATI/lmQBfaxszTw/s220/esca_van077.jpg'/></author><thr:total>0</thr:total></entry></feed>