Debian https://keopx.net/ es Instalación y configuracion de java https://keopx.net/blog/instalacion-y-configuracion-de-java <span> Instalación y configuracion de java</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><h2>Obtenemos java</h2> <p>Antes de descargar una versión de java debemos saber la versión del S.O. esto es, si es x86 o amd64. Para ello ejecutamos lo siguiente:</p> <p><code># uname -a</code><br /><code>Linux Hetz01 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 <strong>x86_64</strong> x86_64 GNU/Linux</code></p> <p>Ahora descargamos java a nuestro equipo:</p> <ul><li><a href="https://web.archive.org/web/20210118110020/http://www.java.com/es/download/linux_manual.jsp?locale=es">http://www.java.com/es/download/linux_manual.jsp?locale=es</a></li> <li><a href="https://web.archive.org/web/20210118110020/http://www.oracle.com/technetwork/es/java/javase/downloads/index.html">http://www.oracle.com/technetwork/es/java/javase/downloads/index.html</a></li> </ul><h2>Instalar JRE</h2> <h3>Subimos JAVA</h3> <p><code>$ scp jre-7u17-linux-x64.tar.gz root@78.47.194.156:.</code></p> <h3>Ahora instalamos en el servidor</h3> <p><code># tar -xvf  jre-7u17-linux-x64.tar.gz</code><br /><code># mkdir /usr/lib/jvm</code><br /><code># mv jre1.7.0_17 /usr/lib/jvm/</code><br /><code># update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0_17/bin/java 0</code><br /><code># update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jre1.7.0_17/bin/javaws 0</code></p> <h2>Instalar JDK</h2> <h3>Subimos JAVA</h3> <p><code>$ scp jdk-7u17-linux-x64.tar.gz root@78.47.194.156:.</code></p> <h3>Ahora instalamos en el servidor</h3> <p><code># tar -xvf  jdk-7u17-linux-x64.tar.gz</code><br /><code># mkdir /usr/lib/jvm</code><br /><code># mv jdk1.7.0_17 /usr/lib/jvm/</code><br /><code># update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0_17/bin/java 1</code><br /><code># update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/&gt;&gt;jdk1.7.0_17/bin/javac 1</code><br /><code># update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0_17/bin/javaws 1</code></p> <h2><code>Enlaces simbólicos</code></h2> <p><code>Para poder actualiza tanto el <strong>jdk</strong> como el <strong>jre</strong> podemos usar el enlace simbólico que apunte concreta de la <strong>jvm</strong> a uno genérico.</code></p> <h3>JRE simbólico</h3> <p><code># ln -s /usr/lib/jvm/jre1.7.0_17 /usr/lib/jvm/jre1.7.0</code></p> <p>Ahora configuramos el nuevo entorno:</p> <p>&gt;<code># update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0/bin/java 0</code><br /> &gt;<code># update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jre1.7.0/bin/javaws 0</code></p> <h3>JDK simbólico</h3> <p><code># ln -s /usr/lib/jvm/jdk1.7.0_17 /usr/lib/jvm/jdk1.7.0</code></p> <p>Ahora configuramos el nuevo entorno:&gt;</p> <p><code># update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/bin/java 1</code><br /><code># update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0/bin/javac 1 </code><br /><code># update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.7.0/bin/javaws 1</code></p> <h2>Reconfigurar java</h2> <p><code># update-alternatives --config java</code><br /><code># update-alternatives --config javac</code><br /><code># update-alternatives --config javaws</code></p> <h2>Referencias</h2> <ul><li><a href="https://web.archive.org/web/20210118110020/http://www.liberiangeek.net/2012/04/install-oracle-java-runtime-jre-7-in-ubuntu-12-04-precise-pangolin/">http://www.liberiangeek.net/2012/04/install-oracle-java-runtime-jre-7-in-ubuntu-12-04-precise-pangolin/</a></li> <li><a href="https://web.archive.org/web/20210118110020/http://www.liberiangeek.net/2012/04/install-oracle-java-jdk-7-in-ubuntu-12-04-precise-pangolin">http://www.liberiangeek.net/2012/04/install-oracle-java-jdk-7-in-ubuntu-12-04-precise-pangolin</a></li> <li><a href="https://web.archive.org/web/20210118110020/http://www.java.com/es/download/linux_manual.jsp?locale=es">http://www.java.com/es/download/linux_manual.jsp?locale=es</a></li> <li><a href="https://web.archive.org/web/20210118110020/http://www.oracle.com/technetwork/es/java/javase/downloads/index.html">http://www.oracle.com/technetwork/es/java/javase/downloads/index.html</a></li> </ul><p> </p> </div> <span><span>keopx</span></span> <span><time datetime="2019-07-29T11:23:23+02:00" title="Lunes, Julio 29, 2019 - 11:23">Lun, 29/07/2019 - 11:23</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/java" hreflang="es">Java</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/java" hreflang="es">Java</a></div> <div class="field__item"><a href="/tag/server" hreflang="es">server</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=302&amp;2=field_comments&amp;3=comment" token="wNnqtKqLMvApCw1DE11sNDEU8kVI9SRvQvrQQNe09rc"></drupal-render-placeholder> </div> </div> </section> Mon, 29 Jul 2019 09:23:23 +0000 keopx 302 at https://keopx.net Instalar certificados de Let's Encrypt - Free SSL/TLS Certificates en Debian / Ubuntu https://keopx.net/blog/instalar-certificados-de-lets-encrypt-free-ssltls-certificates-en-debian-ubuntu <span>Instalar certificados de Let&#039;s Encrypt - Free SSL/TLS Certificates en Debian / Ubuntu</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Activamos ssl para apache:</p> <pre> <code class="language-bash">a2enmod ssl</code></pre><p>Añadimos a nuestro site la configuración correcta:</p> <pre> <code class="language-apache">... &lt;VirtualHost *:443&gt; ServerAdmin keopx@keopx.net ServerName www.keopx.net DocumentRoot /var/www/keopx.net/docroot &lt;Directory /var/www/keopx.net/docroot/&gt; # Options FollowSymLinks Options SymLinksIfOwnerMatch AllowOverride All Require all granted &lt;/Directory&gt; ErrorLog /var/log/apache2/error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ServerSignature On SSLCertificateFile /etc/letsencrypt/live/www.keopx.net/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/www.keopx.net/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf &lt;/VirtualHost&gt; &lt;VirtualHost *:80&gt; ServerName keopx.net Redirect 301 / http://www.keopx.net/ &lt;/VirtualHost&gt; ....</code></pre><p>Procedemos a instalar <strong>letsencrypt:</strong></p> <pre> <code class="language-bash">cd /opt git clone https://github.com/certbot/certbot.git letsencrypt</code></pre><p>Configuramos <strong>letsencrypt</strong>:</p> <pre> <code class="language-bash">nano /etc/letsencrypt/keopx.ini</code></pre><pre> <code class="language-ini">authenticator = webroot webroot-path = /var/www/keopx.net/docroot renew-by-default agree-dev-preview agree-tos email = keopx@keopx.net</code></pre><p>Procedemos a crear el certificado (duran 3 meses):</p> <pre> <code class="language-bash">/opt/letsencrypt/certbot-auto --config /etc/letsencrypt/keopx.ini --user-agent letsencrypt-ubuntu-webroo -d www.keopx.net certonly</code></pre><p>Ahora es necesario reiniciar apache:</p> <pre> <code class="language-bash">service apache2 reload</code></pre><h2>Automatizar renovaciones automáticas:</h2> <p>crontab -e</p> <pre> <code class="language-bash">6 0 1 * * /opt/letsencrypt/certbot-auto --config /etc/letsencrypt/phpmyadmin.isarea.ini --user-agent letsencrypt-ubuntu-webroot -d phpmyadmin.isarea.com certonly &amp;&amp; service apache2 reload</code></pre><p> </p> </div> <span><span>keopx</span></span> <span><time datetime="2016-12-09T19:41:34+01:00" title="Viernes, Diciembre 9, 2016 - 19:41">Vie, 09/12/2016 - 19:41</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/letsencrypt" hreflang="es">letsencrypt</a></div> <div class="field__item"><a href="/categoria/sistemas" hreflang="es">Sistemas</a></div> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/categoria/apache2" hreflang="es">Apache2</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/ssl" hreflang="es">SSL</a></div> <div class="field__item"><a href="/tag/apache" hreflang="es">apache</a></div> <div class="field__item"><a href="/tag/sistemas" hreflang="es">Sistemas</a></div> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios<span class="comments__count">1</span></h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=268&amp;2=field_comments&amp;3=comment" token="ViRdZ4E193bGeokwU7Vx3JhRTMv5dcCOesVVnXH3wco"></drupal-render-placeholder> </div> </div> <article data-comment-user-id="0" id="comment-2406" class="comment js-comment comment--level-1 by-anonymous" role="article" data-drupal-selector="comment"> <span class="hidden" data-comment-timestamp="1481529425"></span> <div class="comment__picture-wrapper"> <div class="comment__picture"> <div> </div> </div> </div> <div class="comment__text-wrapper"> <footer class="comment__meta"> <p class="comment__author"><a rel="nofollow" href="http://example.com">Anonymous (no verificado)</a></p> <p class="comment__time">hace 8 años</p> </footer> <div class="comment__content"> <h3><a href="/comment/2406#comment-2406" class="permalink" rel="bookmark" hreflang="es">Muy bueno</a></h3> <div class="text-content field field--name-comment-body field--type-text-long field--label-hidden field__item comment__text-content"><p>Gracias tenía agendado hacer esto en mi web y todavía no lo había buscado. A los favoritos!</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=2406&amp;1=default&amp;2=es&amp;3=" token="XKZRmaQE02eOBhDwVf2FSfXRCPk_vEfNYu7q-LsQSy4"></drupal-render-placeholder> </div> </div> </article> </section> Fri, 09 Dec 2016 18:41:34 +0000 keopx 268 at https://keopx.net Driver no oficial de realtek RTL8273AE-BT para Toshiba Satellite C855 en Debian y Ubuntu https://keopx.net/blog/driver-no-oficial-de-realtek-rtl8273ae-bt-para-toshiba-satellite-c855-en-debian-y-ubuntu <span>Driver no oficial de realtek RTL8273AE-BT para Toshiba Satellite C855 en Debian y Ubuntu</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><strong>Como compilar e instalar los driver para Ubuntu</strong></p> <p>Abrimos una terminal con Ctrl+Alt+T.</p> <p>Necesitaras descargarte estos paquetes para poder compilar los drivers:</p> <pre>$ sudo apt-get install build-essential linux-headers-generic linux-headers-`uname -r`</pre><p>Pega este linea en la consola para descargar y extraer el driver en un solo paso:</p> <pre>$ wget -O- http://dl.dropbox.com/u/57056576/DRIVERS/REALTEK/rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012.tar.gz | tar -xz</pre><p>Cambia a la carpeta donde ha sido extraído el driver descargado, compílalo e instala el driver:</p> <pre>$ cd rtl_92ce_92se_92de_8723ae_linux_mac80211_0006.0514.2012 $ make $ sudo make install</pre><p>Pruebe la carga del controlador (este paso solo se ejecuta una vez, después de que reinicie, el controlador debe cargar automáticamente en cada arranque:</p> <pre>$ sudo modprobe rtl8723e</pre><pre>MD5: fd10e9a347c6447f649324d6bdab53de SHA1: 1ccd6ae73878d8bf65bd7c0384e333b121606230</pre><p>Referencia:</p> <ul><li><a href="http://askubuntu.com/a/165002">http://askubuntu.com/a/165002</a></li> <li><a href="http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-bt-is-not-recognized">http://askubuntu.com/questions/139632/wireless-card-realtek-rtl8723ae-b…</a></li> <li><a href="http://www.linlap.com/wiki/toshiba+satellite+c850-c855">http://www.linlap.com/wiki/toshiba+satellite+c850-c855</a></li> </ul></div> <span><span>keopx</span></span> <span><time datetime="2012-09-02T19:50:54+02:00" title="Domingo, Septiembre 2, 2012 - 19:50">Dom, 02/09/2012 - 19:50</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/tag/driver" hreflang="es">Driver</a></div> <div class="field__item"><a href="/tag/hardware" hreflang="es">hardware</a></div> <div class="field__item"><a href="/tag/red" hreflang="es">red</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=234&amp;2=field_comments&amp;3=comment" token="IGt7uRNuziqzjFbRXF2Omi2nEI2_6fLU4oNbRitAQS4"></drupal-render-placeholder> </div> </div> </section> Sun, 02 Sep 2012 17:50:54 +0000 keopx 234 at https://keopx.net https://keopx.net/blog/driver-no-oficial-de-realtek-rtl8273ae-bt-para-toshiba-satellite-c855-en-debian-y-ubuntu#comments Actualizar plugin de flash para chromium y firefox/iceweasel. https://keopx.net/blog/actualizar-plugin-de-flash-para-chromium-y-firefoxiceweasel <span>Actualizar plugin de flash para chromium y firefox/iceweasel.</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><pre class="brush: bash"> sudo cp -r usr/* /usr</pre><pre class="brush: bash"> sudo cp libflashplayer.so /usr/lib/chromium/plugins/ sudo cp libflashplayer.so /usr/lib/opera/plugins/ cp libflashplayer.so /home/keopx/.mozilla/plugins/</pre><p>Java</p> <pre class="brush: bash"> sudo cp /usr/lib/jvm/jdk1.7.0_05/jre/lib/amd64/libnpjp2.so /usr/lib/chromium/plugins/ sudo cp /usr/lib/jvm/jdk1.7.0_05/jre/lib/amd64/libnpjp2.so /usr/lib/opera/plugins/ cp libflashplayer.so /home/keopx/.mozilla/plugins/ </pre></div> <span><span>keopx</span></span> <span><time datetime="2012-07-14T11:42:22+02:00" title="Sábado, Julio 14, 2012 - 11:42">Sáb, 14/07/2012 - 11:42</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/ubuntu" hreflang="es">Ubuntu</a></div> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/flash" hreflang="es">Flash</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=232&amp;2=field_comments&amp;3=comment" token="dFLQa2r-a4WT6CTBDgJc66pOYmliYwUUvkSXiRhbvDM"></drupal-render-placeholder> </div> </div> </section> Sat, 14 Jul 2012 09:42:22 +0000 keopx 232 at https://keopx.net https://keopx.net/blog/actualizar-plugin-de-flash-para-chromium-y-firefoxiceweasel#comments Debian Wheezy amd64 con kernel 3.2 y vmware workstation 8.0.2 https://keopx.net/blog/debian-wheezy-amd64-con-kernel-32-y-vmware-workstation-802 <span>Debian Wheezy amd64 con kernel 3.2 y vmware workstation 8.0.2</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Este tutorial esta pensado para Debian Wheezy testing amd64 bits con kernel 3.2 y vmware workstation 8.0.2</p> <p>Siguiendo estos pasos podremos conseguir que funcione correctamente la maquina virtual.</p> <pre>$ wget http://weltall.heliohost.org/wordpress/wp-content/uploads/2012/01/vmware802fixlinux320.tar.gz</pre><pre>$ tar xvzf vmware802fixlinux320.tar.gz</pre><pre>$ cd /usr/lib/vmware/modules/source</pre><pre>$ sudo tar xvf vmnet.tar</pre><pre>$ sudo patch -p1 &lt; /home/usuario/vmware3.2.0.patch</pre><pre>$ sudo tar cvf vmnet.tar vmnet-only/</pre><pre>$ sudo vmware-modconfig --console --install-all</pre><p>Y ya tenemos corriendo correctamente el parche para la VMware 8.0.2 con el kernel 3.2</p> <p>Referencias:</p> <ul><li><a href="http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-0-2-player-4-0-2-fix-for-linux-kernel-3-2-and-3-3/">http://weltall.heliohost.org/wordpress/2012/01/26/vmware-workstation-8-…</a></li> <li><a href="http://slackblogs.blogspot.com/2012/01/vmware-workstation-802-and-linux-kernel.html">http://slackblogs.blogspot.com/2012/01/vmware-workstation-802-and-linux…</a></li> </ul></div> <span><span>keopx</span></span> <span><time datetime="2012-02-23T19:31:02+01:00" title="Jueves, Febrero 23, 2012 - 19:31">Jue, 23/02/2012 - 19:31</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/virtualizacion" hreflang="es">Virtualización</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/vmware" hreflang="es">VMware</a></div> <div class="field__item"><a href="/tag/virtualizacion" hreflang="es">Virtualización</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=229&amp;2=field_comments&amp;3=comment" token="uycXdOg61d8DjU3_98YyNE9N5a3FMEM4GnlXtre2Nog"></drupal-render-placeholder> </div> </div> </section> Thu, 23 Feb 2012 18:31:02 +0000 keopx 229 at https://keopx.net https://keopx.net/blog/debian-wheezy-amd64-con-kernel-32-y-vmware-workstation-802#comments Cambiar el uid en Debian GNU/Linux https://keopx.net/blog/cambiar-el-uid-en-debian-gnulinux <span>Cambiar el uid en Debian GNU/Linux</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hay necesidades de las más variadas, en este caso para conectar un NAS por NFS me fue necesario cambiar el uid de un usuario para que pudiese tener la acceso al recurso.</p> <p>Antes de realizar estos pasos es necesario que el usuario este deslogueado del sistema. Puede ser que el usuario root no este habilitado y el unico usuario que tengamos en el equipo sea un sudoer, para eso visitar el post anterior.</p> <p>Ver id del usuario:</p> <pre> # id keopx</pre><p>Cambiamos el uid:</p> <pre> # usermod -u 1002 keopx</pre><p>Comprobamos el nuevo id:</p> <pre> # id keopx</pre></div> <span><span>keopx</span></span> <span><time datetime="2012-01-26T18:56:28+01:00" title="Jueves, Enero 26, 2012 - 18:56">Jue, 26/01/2012 - 18:56</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/seguridad" hreflang="es">seguridad</a></div> <div class="field__item"><a href="/tag/consola" hreflang="es">consola</a></div> <div class="field__item"><a href="/tag/terminal" hreflang="es">Terminal</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=228&amp;2=field_comments&amp;3=comment" token="F017HooqnwYJ7sGxf8Bh8MKzpSkng0wENNKONQ8fG-k"></drupal-render-placeholder> </div> </div> </section> Thu, 26 Jan 2012 17:56:28 +0000 keopx 228 at https://keopx.net Activar y desactivar root en Debian GNU/Linux https://keopx.net/blog/activar-y-desactivar-root-en-debian-gnulinux <span>Activar y desactivar root en Debian GNU/Linux</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Pues la solución es bastante sencilla.</p> <p>No suele ser muy habitual tener que realizar esta tarea, pero puede ser necesario habilitar el usuario <strong>root</strong> para realizar algunas tareas. De esta forma sencilla se puede habilitar y deshabilitar el usuario <strong>root</strong>.</p> <p> </p> <p>Habilitar root:</p> <pre> sudo passwd root</pre><p>Deshabilitar root:</p> <pre> sudo passwd -l root</pre></div> <span><span>keopx</span></span> <span><time datetime="2012-01-25T17:44:47+01:00" title="Miércoles, Enero 25, 2012 - 17:44">Mié, 25/01/2012 - 17:44</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/terminal" hreflang="es">Terminal</a></div> <div class="field__item"><a href="/tag/consola" hreflang="es">consola</a></div> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=227&amp;2=field_comments&amp;3=comment" token="QTIV-GLktq5FXYFS_aPfjYc_mbnBJN7LWZFN-DpvnN4"></drupal-render-placeholder> </div> </div> </section> Wed, 25 Jan 2012 16:44:47 +0000 keopx 227 at https://keopx.net Instalar flash player 64 bits en Debian/Ubuntu https://keopx.net/blog/instalar-flash-player-64-bits-en-debianubuntu <span>Instalar flash player 64 bits en Debian/Ubuntu</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Vamos a instalar de forma sencilla flash player 64 bits de forma nativa en Debian testing (Wheezy) y/o Ubuntu. Para ello el sistema operativo tiene que estar ser de 64 bits.</p> <pre>$ wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.0.1.152/install_flash_player_11_linux.x86_64.tar.gz $ tar xvzf install_flash_player_11_linux.x86_64.tar.gz $ mv libflashplayer.so ~/.mozilla/plugins/ $ sudo cp -r usr/* /usr/ $ rm -r usr/ </pre><p>De esta forma sencilla ya tendremos flash 64 bits de forma nativa en linux.</p> <p>Para conprobar que todo esta correcto podemos visitar la siguiente pagina:</p> <p><a href="http://www.adobe.com/software/flash/about/">http://www.adobe.com/software/flash/about/</a></p> </div> <span><span>keopx</span></span> <span><time datetime="2011-10-06T11:23:15+02:00" title="Jueves, Octubre 6, 2011 - 11:23">Jue, 06/10/2011 - 11:23</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/ubuntu" hreflang="es">Ubuntu</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/ubuntu" hreflang="es">Ubuntu</a></div> <div class="field__item"><a href="/tag/flash" hreflang="es">Flash</a></div> <div class="field__item"><a href="/tag/amd64" hreflang="es">amd64</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=226&amp;2=field_comments&amp;3=comment" token="pbSmCa5Y2ipm15vC23YXVm3Bo3QRh45d0t4WB15Urd8"></drupal-render-placeholder> </div> </div> </section> Thu, 06 Oct 2011 09:23:15 +0000 keopx 226 at https://keopx.net https://keopx.net/blog/instalar-flash-player-64-bits-en-debianubuntu#comments Instalacion de Cisco AnyConnect en Debian 64 bits https://keopx.net/blog/instalacion-de-cisco-anyconnect-en-debian-64-bits <span>Instalacion de Cisco AnyConnect en Debian 64 bits</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Descargar del portal que corresponde el cliente de cisco para vpn.</p> <p>Como veremos nos mostrara un error, esto se debe a que el programa esta diseñado para 32 bits y no para la arquitectura de 64 bits. Procedemos a dar la explicación de instalación.</p> <p>Una vez descargado cambiarle los permisos:</p> <pre class="terminal">$ chmod 755 vpnsetup.sh </pre><p>Ahora lo ejecutamos para que se instale:</p> <pre>$ sudo ./vpnsetup.sh </pre><p>Puede nos dara un error de librerias:</p> <pre>Installing Cisco AnyConnect VPN Client ... Removing previous installation... /opt/cisco/vpn/bin/manifesttool: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory vpnagentd: no process found Extracting installation files to /tmp/vpn.Na7eGw/vpninst114446196.tgz... Unarchiving installation files to /tmp/vpn.Na7eGw... Starting the VPN agent... /opt/cisco/vpn/bin/vpnagentd: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory </pre><p>Para solucionar este inconveniente instalamos lo siguiente:</p> <pre>sudo aptitude install ia32-libs lib32nss-mdns libcurl3 libxml2 </pre><p>Y ahora instamos de nuevo:</p> <pre>$ sudo ./vpnsetup.sh </pre><p>Y nos dirá que todo ha ido bien:</p> <pre>Installing Cisco AnyConnect VPN Client ... Removing previous installation... vpnagentd: no process found Extracting installation files to /tmp/vpn.zeQubZ/vpninst004198745.tgz... Unarchiving installation files to /tmp/vpn.zeQubZ... Starting the VPN agent... Done! </pre><p>Esto se debe a las diferentes arquitecturas.</p> <p><strong>Actulizazion</strong>:</p> <p>Si utilizamos otro entorno que no sea gnome, necesitaremos instalar el siguiente paquete:</p> <pre>sudo aptitude install ia32-libs-gtk </pre><p>De lo contrario nos dara el siguiente error:</p> <pre>error while loading shared libraries: libatk-1.0.so.0: cannot open </pre><p>Referencia:</p> <ul><li><a href="http://faq.oit.gatech.edu/content/cisco-anyconnect-installation-instructions-linux">http://faq.oit.gatech.edu/content/cisco-anyconnect-installation-instructions-linux</a></li> </ul></div> <span><span>keopx</span></span> <span><time datetime="2011-05-19T13:34:13+02:00" title="Jueves, Mayo 19, 2011 - 13:34">Jue, 19/05/2011 - 13:34</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/categoria/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/vpn" hreflang="es">VPN</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/amd64" hreflang="es">amd64</a></div> <div class="field__item"><a href="/tag/cisco" hreflang="es">Cisco</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=218&amp;2=field_comments&amp;3=comment" token="Zc2UsMlPlbk4IZMpxd5NpHlPdCIPI-b7q1DBHNqp1dk"></drupal-render-placeholder> </div> </div> </section> Thu, 19 May 2011 11:34:13 +0000 keopx 218 at https://keopx.net https://keopx.net/blog/instalacion-de-cisco-anyconnect-en-debian-64-bits#comments Cambiar las preferencias de java (alternatives) en Debian/Ubuntu https://keopx.net/blog/cambiar-las-preferencias-de-java-alternatives-en-debianubuntu <span>Cambiar las preferencias de java (alternatives) en Debian/Ubuntu</span> <div class="text-content clearfix field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>En Debian nos encontramos que la maquina virtual de java por defecto es OpenJDK, pero debido a muchos desarrollos es necesario utilizar otra maquina de java, en casi todos ellos Sun/Oracle JDK.</p> <p>Veamos como cambiar esos parametros para su funcionamiento.</p> <p>Si accedemos a la ruta:</p> <pre line="1" lang="bash" xml:lang="bash">$ cd /etc/alternatives </pre><p>Y ejecutamos:</p> <pre line="1" lang="bash" xml:lang="bash">$ ls -la ja*</pre><p>Y veremos el siguiente resultado:</p> <pre line="1" lang="bash" xml:lang="bash">java -&gt; /usr/lib/jvm/java-6-openjdk/jre/bin/java </pre><p>Para modificarlo es necesario ejecutar los siguiente comandos.</p> <p>Listar las maquinas virtuales java:</p> <pre line="1" lang="bash" xml:lang="bash">$ sudo update-java-alternatives -l java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk java-6-sun 63 /usr/lib/jvm/java-6-sun </pre><p>Procedemos a cambiar de maquina virtual java:</p> <pre line="1" lang="bash" xml:lang="bash">$ sudo update-java-alternatives -s java-6-sun </pre><p>Veremos como ahora java apunta a la maquina sun.</p> <pre line="1" lang="bash" xml:lang="bash">java -&gt; /usr/lib/jvm/java-6-sun/jre/bin/java </pre><p> </p> </div> <span><span>keopx</span></span> <span><time datetime="2011-03-09T16:28:49+01:00" title="Miércoles, Marzo 9, 2011 - 16:28">Mié, 09/03/2011 - 16:28</time> </span> <div class="field field--name-field-tax-cat field--type-entity-reference field--label-above"> <div class="field__label">Categoria</div> <div class="field__items"> <div class="field__item"><a href="/categoria/debian" hreflang="es">Debian</a></div> </div> </div> <div class="field field--name-field-tax-tag field--type-entity-reference field--label-above"> <div class="field__label">Tag</div> <div class="field__items"> <div class="field__item"><a href="/tag/java" hreflang="es">Java</a></div> <div class="field__item"><a href="/tag/jvm" hreflang="es">jvm</a></div> <div class="field__item"><a href="/tag/ubuntu" hreflang="es">Ubuntu</a></div> <div class="field__item"><a href="/tag/debian" hreflang="es">Debian</a></div> <div class="field__item"><a href="/tag/gnu-linux" hreflang="es">GNU Linux</a></div> </div> </div> <section data-drupal-selector="comments" class="comments"> <h2 class="comments__title">Comentarios</h2> <div class="add-comment"> <div class="add-comment__form"> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=216&amp;2=field_comments&amp;3=comment" token="-zpNOF41bO2d5cJYfEFQNntdbo4O2daBnbArtJeeKYU"></drupal-render-placeholder> </div> </div> </section> Wed, 09 Mar 2011 15:28:49 +0000 keopx 216 at https://keopx.net https://keopx.net/blog/cambiar-las-preferencias-de-java-alternatives-en-debianubuntu#comments