Debian https://www.keopx.net/ es Instalación y configuracion de java https://www.keopx.net/blog/instalacion-y-configuracion-de-java <span class="field field--name-title field--type-string field--label-hidden">Instalación y configuracion de java</span> <div class="clearfix text-formatted 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="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="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="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="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="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="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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Vie, 26/07/2019 - 08:15</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Fri, 26 Jul 2019 06:15:57 +0000 keopx 302 at https://www.keopx.net Instalar certificados de Let's Encrypt - Free SSL/TLS Certificates en Debian / Ubuntu https://www.keopx.net/blog/instalar-certificados-de-lets-encrypt-free-ssltls-certificates-en-debian-ubuntu <span class="field field--name-title field--type-string field--label-hidden">Instalar certificados de Let&#039;s Encrypt - Free SSL/TLS Certificates en Debian / Ubuntu</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Vie, 09/12/2016 - 19:41</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title">Comentarios</h2> <article role="article" data-comment-user-id="0" id="comment-2406" about="/comment/2406" typeof="schema:Comment" class="comment js-comment by-anonymous clearfix"> <span class="hidden" data-comment-timestamp="1481529425"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__author"><span rel="schema:author"><a rel="nofollow" href="http://front.id" lang="" typeof="schema:Person" property="schema:name" datatype="" class="username">Capy (no verificado)</a></span> </p> <p class="comment__time">Sáb, 10/12/2016 - 15:43 <span property="schema:dateCreated" content="2016-12-10T14:43:06+00:00" class="rdf-meta hidden"></span> </p> <p class="comment__permalink"><a href="/comment/2406#comment-2406" hreflang="es">Enlace permanente</a></p> </footer> <div class="comment__content"> <h3 property="schema:name" datatype=""><a href="/comment/2406#comment-2406" class="permalink" rel="bookmark" hreflang="es">Muy bueno</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><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> </article> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Fri, 09 Dec 2016 18:41:34 +0000 keopx 268 at https://www.keopx.net Limpiar memoria cache en Linux sin reiniciar https://www.keopx.net/blog/limpiar-memoria-cache-en-linux-sin-reiniciar <span class="field field--name-title field--type-string field--label-hidden">Limpiar memoria cache en Linux sin reiniciar</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Cuando un sistema lleva mucho tiempo iniciado y este genera mucha carga suele estar bien limpiar la memoria cache para que no comience a "swapear".</p> <p>El comando en si es sencillo y no excesivamente intrusivo. Al comienzo ira un poco más lento pero a la larga se agradecerá.</p> <p><em>Es necesario ser root</em></p> <pre> <code># sync; echo 3 &gt; /proc/sys/vm/drop_caches</code> </pre><p>Podemos crear un script para que lo realice automáticamente:</p> <pre> <code>$ sudo su</code></pre><pre> <code># nano /root/limpiar_cache.sh</code></pre><pre> <code class="language-bash">#!/bin/sh sync; echo 3 &gt; /proc/sys/vm/drop_caches</code></pre><p>Ahora ponemos permisos de ejecución:</p> <pre><code>chmod +x /root/limpiar_cache.sh</code></pre><p>Ahora creamos una tarea para el se ejecute cada x tiempo:</p> <pre> <code>0 * * * * /root/limpiar_cache.sh</code> </pre><p>Con esto ya tenemos la limpieza automatizada.</p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sáb, 10/11/2012 - 20:38</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 class="field__item"><a href="/categoria/sistemas" hreflang="es">Sistemas</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/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/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/cache" hreflang="es">cache</a></div> </div> </div> <section class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title">Comentarios</h2> <article role="article" data-comment-user-id="0" id="comment-3090" about="/comment/3090" typeof="schema:Comment" class="comment js-comment by-anonymous clearfix"> <span class="hidden" data-comment-timestamp="1537770811"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__author"><span rel="schema:author"><span lang="" typeof="schema:Person" property="schema:name" datatype="">carlos rojas (no verificado)</span></span> </p> <p class="comment__time">Dom, 23/09/2018 - 09:17 <span property="schema:dateCreated" content="2018-09-23T07:17:11+00:00" class="rdf-meta hidden"></span> </p> <p class="comment__permalink"><a href="/comment/3090#comment-3090" hreflang="es">Enlace permanente</a></p> </footer> <div class="comment__content"> <h3 property="schema:name" datatype=""><a href="/comment/3090#comment-3090" class="permalink" rel="bookmark" hreflang="es">buena información, si…</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>buena información, si funciona</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=3090&amp;1=default&amp;2=es&amp;3=" token="et0BUf_2372ZLL6LWPJDYUkXR_7ZT3JfcXaDUfOLRVk"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="0" id="comment-3102" about="/comment/3102" typeof="schema:Comment" class="comment js-comment by-anonymous clearfix"> <span class="hidden" data-comment-timestamp="1570687448"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__author"><span rel="schema:author"><a rel="nofollow" href="https://www.veikel.com" lang="" typeof="schema:Person" property="schema:name" datatype="" class="username">Diego (no verificado)</a></span> </p> <p class="comment__time">Jue, 29/08/2019 - 02:24 <span property="schema:dateCreated" content="2019-08-29T00:24:15+00:00" class="rdf-meta hidden"></span> </p> <p class="comment__permalink"><a href="/comment/3102#comment-3102" hreflang="es">Enlace permanente</a></p> </footer> <div class="comment__content"> <h3 property="schema:name" datatype=""><a href="/comment/3102#comment-3102" class="permalink" rel="bookmark" hreflang="es">Exelente documento</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Muchas gracias, me sirvio, solo le agrego un chmod +x /root/limpiar_cache.sh</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=3102&amp;1=default&amp;2=es&amp;3=" token="K_Hz91YLrGCw_eFdoKpk4Bcyz6YBwBcISbB-TWuq8Pc"></drupal-render-placeholder> </div> </article> <div class="indented"><article role="article" data-comment-user-id="3" id="comment-3103" about="/comment/3103" typeof="schema:Comment" class="comment js-comment by-node-author clearfix"> <span class="hidden" data-comment-timestamp="1570687791"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/users/keopx" class="profile"> </article> <p class="comment__author"><span rel="schema:author"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> </p> <p class="comment__time">Jue, 10/10/2019 - 08:09 <span property="schema:dateCreated" content="2019-10-10T06:09:51+00:00" class="rdf-meta hidden"></span> </p> <p class="comment__permalink"><a href="/comment/3103#comment-3103" hreflang="es">Enlace permanente</a></p> <p class="visually-hidden">En respuesta a <a href="/comment/3102#comment-3102" class="permalink" rel="bookmark" hreflang="es">Exelente documento</a> por <a rel="nofollow" href="https://www.veikel.com" lang="" typeof="schema:Person" property="schema:name" datatype="" class="username">Diego (no verificado)</a></p> </footer> <div class="comment__content"> <h3 property="schema:name" datatype=""><a href="/comment/3103#comment-3103" class="permalink" rel="bookmark" hreflang="es">Gracias Diego, añadido</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Gracias Diego, añadido</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=3103&amp;1=default&amp;2=es&amp;3=" token="IWoTG7Bomcm3uUzUdem6bm-F5qnSAgCSpy3AgSwgsng"></drupal-render-placeholder> </div> </article> </div> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=235&amp;2=field_comments&amp;3=comment" token="ktuwQOuIymAe_e9mWDggSNOSoIBqnz0uBEAaS0I_BJc"></drupal-render-placeholder> </section> Sat, 10 Nov 2012 19:38:16 +0000 keopx 235 at https://www.keopx.net Driver no oficial de realtek RTL8273AE-BT para Toshiba Satellite C855 en Debian y Ubuntu https://www.keopx.net/blog/driver-no-oficial-de-realtek-rtl8273ae-bt-para-toshiba-satellite-c855-en-debian-y-ubuntu <span class="field field--name-title field--type-string field--label-hidden">Driver no oficial de realtek RTL8273AE-BT para Toshiba Satellite C855 en Debian y Ubuntu</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dom, 02/09/2012 - 19:50</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Sun, 02 Sep 2012 17:50:54 +0000 keopx 234 at https://www.keopx.net Actualizar plugin de flash para chromium y firefox/iceweasel. https://www.keopx.net/blog/actualizar-plugin-de-flash-para-chromium-y-firefoxiceweasel <span class="field field--name-title field--type-string field--label-hidden">Actualizar plugin de flash para chromium y firefox/iceweasel.</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sáb, 14/07/2012 - 11:42</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Sat, 14 Jul 2012 09:42:22 +0000 keopx 232 at https://www.keopx.net Debian Wheezy amd64 con kernel 3.2 y vmware workstation 8.0.2 https://www.keopx.net/blog/debian-wheezy-amd64-con-kernel-32-y-vmware-workstation-802 <span class="field field--name-title field--type-string field--label-hidden">Debian Wheezy amd64 con kernel 3.2 y vmware workstation 8.0.2</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jue, 23/02/2012 - 19:31</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Thu, 23 Feb 2012 18:31:02 +0000 keopx 229 at https://www.keopx.net Cambiar el uid en Debian GNU/Linux https://www.keopx.net/blog/cambiar-el-uid-en-debian-gnulinux <span class="field field--name-title field--type-string field--label-hidden">Cambiar el uid en Debian GNU/Linux</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jue, 26/01/2012 - 18:56</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Thu, 26 Jan 2012 17:56:28 +0000 keopx 228 at https://www.keopx.net Activar y desactivar root en Debian GNU/Linux https://www.keopx.net/blog/activar-y-desactivar-root-en-debian-gnulinux <span class="field field--name-title field--type-string field--label-hidden">Activar y desactivar root en Debian GNU/Linux</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Mié, 25/01/2012 - 17:44</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Wed, 25 Jan 2012 16:44:47 +0000 keopx 227 at https://www.keopx.net Instalar flash player 64 bits en Debian/Ubuntu https://www.keopx.net/blog/instalar-flash-player-64-bits-en-debianubuntu <span class="field field--name-title field--type-string field--label-hidden">Instalar flash player 64 bits en Debian/Ubuntu</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jue, 06/10/2011 - 11:23</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Thu, 06 Oct 2011 09:23:15 +0000 keopx 226 at https://www.keopx.net https://www.keopx.net/blog/instalar-flash-player-64-bits-en-debianubuntu#comments Instalacion de Cisco AnyConnect en Debian 64 bits https://www.keopx.net/blog/instalacion-de-cisco-anyconnect-en-debian-64-bits <span class="field field--name-title field--type-string field--label-hidden">Instalacion de Cisco AnyConnect en Debian 64 bits</span> <div class="clearfix text-formatted 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 class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/keopx" typeof="schema:Person" property="schema:name" datatype="">keopx</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jue, 19/05/2011 - 13:34</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 class="field field--name-field-comments field--type-comment field--label-above comment-wrapper"> <h2 class="title comment-form__title">Añadir nuevo comentario</h2> <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> </section> Thu, 19 May 2011 11:34:13 +0000 keopx 218 at https://www.keopx.net