<?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-88122224453752029</id><updated>2026-04-17T16:32:04.310-05:00</updated><category term="linux"/><category term="firebird"/><category term="emacs"/><category term="php"/><category term="web"/><category term="firefox"/><category term="android"/><category term="slackware"/><category term="apache"/><category term="mutt"/><category term="zend"/><category term="doom"/><category term="js"/><category term="video"/><category term="libros"/><category term="oracle"/><category term="oracle linux"/><category term=".net"/><category term="AR9285"/><category term="Database"/><category term="Lenovo G585"/><category term="MySQL"/><category term="Mysqli"/><category term="Programming"/><category term="SQL"/><category term="auditoría"/><category term="blog"/><category term="cache"/><category term="doctrine"/><category term="fbauditor"/><category term="flash"/><category term="ibm"/><category term="kde"/><category term="opensource"/><category term="opensuse"/><category term="oracle virtual server"/><category term="org-mode"/><category term="ovmm"/><category term="ovs"/><category term="pretashop"/><category term="python"/><category term="rational rose"/><category term="spacemacs"/><category term="tomcat"/><category term="usb"/><category term="vbox"/><category term="windows"/><category term="wireless"/><category term="xul"/><title type='text'>Pensando en Binario</title><subtitle type='html'>Blog de programación y tecnología</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>73</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-685806245761234788</id><published>2024-11-18T11:07:00.005-05:00</published><updated>2024-11-18T11:07:47.995-05:00</updated><title type='text'>Emacs en windows: arranque rápido</title><content type='html'>&lt;p&gt;En windows la carga de emacs implica una demora en windows pero se puede mejorar usando el demonio de emacs y modificar la llamada usando el demonio. Para esto seguimos los pasos:&lt;/p&gt;&lt;p&gt;1. En el cmd ubicar emacs instalado&amp;nbsp;&lt;/p&gt;&lt;p&gt;where emacs.exe&amp;nbsp;&lt;/p&gt;&lt;p&gt;en mi caso lo tengo en :&amp;nbsp;C:\ProgramData\chocolatey\bin\emacs.exe&lt;/p&gt;&lt;p&gt;2. Ingresar a la carpeta &quot;%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup&quot; y crear un shortcut apuntando a &quot;C:\ProgramData\chocolatey\bin\runemacs.exe --daemon&quot; (carpeta ubicada del paso anterior)&lt;/p&gt;&lt;p&gt;Esto iniciara emacs daemon al iniciar windows para precargar emacs.&amp;nbsp;&lt;/p&gt;&lt;p&gt;3. Modificamos el lanzador de &quot;%APPDATA%\Roaming\Microsoft\Windows\Start Menu\Programs&quot; y editamos el shortcut emacs.exe para que apunte a ejecutar &quot;C:\ProgramData\chocolatey\bin\emacsclientw.exe -c -n -a C:\ProgramData\chocolatey\bin\runemacs.exe&quot;&lt;/p&gt;&lt;p&gt;Con esto tenemos emacs utilizando la carga del emacs daemon.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Listo, es necesario reiniciar y ejecutar emacs.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/685806245761234788/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/685806245761234788' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/685806245761234788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/685806245761234788'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2024/11/emacs-en-windows-arranque-rapido.html' title='Emacs en windows: arranque rápido'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-2108184641123283191</id><published>2024-01-09T15:43:00.001-05:00</published><updated>2024-01-09T15:43:14.257-05:00</updated><title type='text'>Configure Grafana and Slack</title><content type='html'>&lt;p&gt;To configure Grafana to send alerts to Slack, you need to set up a notification channel in Grafana and configure it to use the Slack integration. Here are the steps to configure Grafana to contact Slack:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Create a Slack Workspace:&lt;/h4&gt;&lt;p&gt;If you don&#39;t already have one, create a Slack workspace where you want to receive Grafana alerts. You can sign up for Slack at https://slack.com/.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Set Up an Incoming Webhook:&lt;/h4&gt;&lt;p&gt;To allow Grafana to send messages to Slack, you&#39;ll need to create an Incoming Webhook integration in your Slack workspace. Here&#39;s how:&lt;/p&gt;&lt;p&gt;Go to your Slack workspace.&lt;/p&gt;&lt;p&gt;Click on your workspace name in the top-left corner and select &quot;Settings &amp;amp; administration&quot; &amp;gt; &quot;Manage apps.&quot;&lt;/p&gt;&lt;p&gt;In the &quot;Custom Integrations&quot; section, click on &quot;Incoming Webhooks.&quot;&lt;/p&gt;&lt;p&gt;Activate incoming webhooks if they are not already enabled.&lt;/p&gt;&lt;p&gt;Scroll down and click on &quot;Add New Webhook to Workspace.&quot;&lt;/p&gt;&lt;p&gt;Select a channel where you want to receive Grafana alerts.&lt;/p&gt;&lt;p&gt;Click &quot;Authorize.&quot;&lt;/p&gt;&lt;p&gt;You&#39;ll be provided with a Webhook URL. This URL is required for Grafana to send messages to Slack.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Configure a Notification Channel in Grafana:&lt;/h4&gt;&lt;p&gt;Log in to your Grafana instance.&lt;/p&gt;&lt;p&gt;Click on the gear icon (⚙️) in the left sidebar to open the &quot;Configuration&quot; menu.&lt;/p&gt;&lt;p&gt;Click on &quot;Notification channels&quot; under the &quot;Alerting&quot; section.&lt;/p&gt;&lt;p&gt;Click on &quot;New Channel&quot; to create a new notification channel.&lt;/p&gt;&lt;p&gt;Configure the channel settings:&lt;/p&gt;&lt;p&gt;Name: Give your channel a descriptive name (e.g., &quot;Slack Alerts&quot;).&lt;/p&gt;&lt;p&gt;Type: Select &quot;Slack&quot; from the dropdown menu.&lt;/p&gt;&lt;p&gt;Send reminders: Enable this option if you want to send reminders for unresolved alerts.&lt;/p&gt;&lt;p&gt;Include image: Enable this option to include an image in your alerts (optional).&lt;/p&gt;&lt;p&gt;API URL: Paste the Slack Webhook URL you obtained in step 2 here.&lt;/p&gt;&lt;p&gt;Username: Set the username that will appear in Slack notifications.&lt;/p&gt;&lt;p&gt;Channel: Enter the Slack channel or user where you want to send alerts (e.g., &quot;#general&quot;).&lt;/p&gt;&lt;p&gt;Click &quot;Save.&quot;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Test the Notification Channel:&lt;/h4&gt;&lt;p&gt;After creating the notification channel, you can test it to ensure that alerts are successfully sent to Slack. Click on the &quot;Send Test&quot; button in the notification channel settings to send a test message to Slack. If everything is set up correctly, you should see a message in your Slack channel.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;Set Up Alerts in Grafana:&lt;/h4&gt;&lt;p&gt;To send alerts to the Slack notification channel, you need to configure alert rules in Grafana. Create or edit a dashboard, add an alert panel, and configure the alert conditions as needed. Then, select the Slack notification channel you created as the &quot;Send to&quot; option for the alert.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Now, when the alert conditions are met, Grafana will send notifications to your specified Slack channel using the configured notification channel.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/2108184641123283191/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/2108184641123283191' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2108184641123283191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2108184641123283191'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2024/01/configure-grafana-and-slack.html' title='Configure Grafana and Slack'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-906148589015203575</id><published>2022-05-20T22:38:00.001-05:00</published><updated>2022-05-20T22:38:10.819-05:00</updated><title type='text'>Mostrar la rama GIT en Powershell</title><content type='html'>&lt;p&gt;&amp;nbsp;Algo muy util en los terminales para los desarrolladores es que se muestre el branch actual de la carpeta en la que uno se encuentra.&lt;/p&gt;&lt;p&gt;Powershell es un terminal para windows muy poderoso el cual es facil de configurar para que podamos añadir el nombre de repositorio en el prompt. Para esto necesitamos ejecutar 2 líneas de comandos en Powershell:&lt;/p&gt;&lt;p&gt;&lt;b&gt;(new-object Net.WebClient).DownloadString(&quot;https://raw.githubusercontent.com/psget/psget/master/GetPsGet.ps1&quot;) | iex&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Add-PoshGitToProfile&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;La primera línea se encarga de descargar el módulo necesario, lo instala y lo ejecuta.&lt;/p&gt;&lt;p&gt;La segunda línea se encarga de guardar la configuración por defecto cada vez que se inicie el terminal.&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/906148589015203575/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/906148589015203575' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/906148589015203575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/906148589015203575'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2022/05/mostrar-la-rama-git-en-powershell.html' title='Mostrar la rama GIT en Powershell'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-7939473254237118855</id><published>2021-11-19T13:10:00.004-05:00</published><updated>2021-11-19T13:11:44.693-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="doom"/><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><title type='text'>Emacs: ejecutar comandos linux en windows (rgrep)</title><content type='html'>&lt;p&gt;&amp;nbsp;En Emacs para windows algunos comandos se ejecutan esperando que el sistema sea linux por tanto fallan.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Para solucionar esto debemos realizar instalaciones adicionales.&amp;nbsp;&lt;/p&gt;&lt;p&gt;En nuestro caso vamos a probar con el comando rgrep que depende de los comandos grep y find que en windows no encontramos.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Para esto debemos realizar los siguientes pasos:&lt;/p&gt;&lt;p&gt;1. Primero vamos a &lt;a href=&quot;http://gnuwin32.sourceforge.net/packages.html&quot;&gt;http://gnuwin32.sourceforge.net/packages.html&lt;/a&gt; donde podemos encontrar los comandos de linux para ser ejecutados en windows. De esta web descargamos Grep y FindUtils y los instalamos.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Por defecto este software se instalara en:&amp;nbsp;&lt;b&gt;C:\Program Files (x86)\GnuWin32&lt;/b&gt;&lt;/p&gt;&lt;p&gt;2. En nuestro archivo de configuración .emacs añadimos las siguientes lineas:&lt;/p&gt;&lt;p&gt;&lt;b&gt;(setq find-program &quot;\&quot;c:\\Program Files (x86)\\GnuWin32\\bin\\find.exe\&quot;&quot;)&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;(setq grep-program &quot;\&quot;c:\\Program Files (x86)\\GnuWin32\\bin\\grep.exe\&quot;&quot;)&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Con esto le estamos indicando a Emacs que use como programas para buscar los nuevos comandos ingresados.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. Probamos realizando una búsqueda &lt;b&gt;M-x rgrep&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Indicamos los archivos en donde buscaremos [ENTER]&amp;nbsp; Podemos usar comodines como *.org que buscara en todos los archivos que tengan extensión .org&lt;/li&gt;&lt;li&gt;Indicamos el texto a buscar [ENTER]&lt;/li&gt;&lt;li&gt;Indicamos la carpeta raíz desde donde buscaremos [ENTER]&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;Listo, emacs nos devolverá la lista de archivos con la línea que tiene el texto buscado.&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/7939473254237118855/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/7939473254237118855' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7939473254237118855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7939473254237118855'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2021/11/emacs-ejecutar-comandos-linux-en.html' title='Emacs: ejecutar comandos linux en windows (rgrep)'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-3986940839597951851</id><published>2021-11-17T16:31:00.002-05:00</published><updated>2021-11-19T13:11:32.105-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="doom"/><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><title type='text'>Emacs Doom y swiper</title><content type='html'>&lt;p&gt;Encontré swiper (&lt;a href=&quot;https://github.com/abo-abo/swiper&quot;&gt;https://github.com/abo-abo/swiper&lt;/a&gt;) un buscador alternativo a isearch que permite mostrar todos los resultados de búsqueda.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Para implementarlo en emacs necesitamos configurar los siguiente:&lt;/p&gt;&lt;p&gt;1. En &lt;b&gt;.doom.d/packages.el &lt;/b&gt;añadimos el paquete a instalar&lt;/p&gt;&lt;p&gt;&lt;b&gt;(package! swiper)&lt;/b&gt;&lt;/p&gt;&lt;div&gt;2, En &lt;b&gt;.doom.d/init.el &lt;/b&gt;en la sección de :editor añadimos&lt;/div&gt;&lt;div&gt;&lt;b&gt;swiper&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3. En &lt;b&gt;.doom.d/config.el&lt;/b&gt; añadimos el shortcut para las búsquedas:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;(global-set-key (kbd &quot;C-s&quot;) #&#39;swiper-isearch)&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4. Ejecutamos .emacs.d/bin/doom.cmd sync y reiniciamos emacs&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Listo, con esta configuración podremos realizar búsquedas de una forma mas efectiva:&lt;/div&gt;&lt;div&gt;&lt;br /&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5lvscshHRDXhse7YjUWXY_7wis407v86po3ChoGqN3DFgsnE021FumYpbjweSLczepKutRi1ktfxASAwvcKA_mmyL5GHRWVyiE4Qc34WtYmOOCqHeQtY08Pxfc9iGfyfkCLSSzQxISbZx//&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;871&quot; data-original-width=&quot;920&quot; height=&quot;383&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5lvscshHRDXhse7YjUWXY_7wis407v86po3ChoGqN3DFgsnE021FumYpbjweSLczepKutRi1ktfxASAwvcKA_mmyL5GHRWVyiE4Qc34WtYmOOCqHeQtY08Pxfc9iGfyfkCLSSzQxISbZx/w406-h383/image.png&quot; width=&quot;406&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/3986940839597951851/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/3986940839597951851' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3986940839597951851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3986940839597951851'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2021/11/emacs-doom-y-swiper.html' title='Emacs Doom y swiper'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5lvscshHRDXhse7YjUWXY_7wis407v86po3ChoGqN3DFgsnE021FumYpbjweSLczepKutRi1ktfxASAwvcKA_mmyL5GHRWVyiE4Qc34WtYmOOCqHeQtY08Pxfc9iGfyfkCLSSzQxISbZx/s72-w406-h383-c/image.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-84671668618968323</id><published>2021-11-17T11:07:00.005-05:00</published><updated>2021-11-17T11:21:10.210-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>python: errno 5 input/output error</title><content type='html'>&lt;p&gt;&amp;nbsp;Recientemente tuve el error &quot;errno 5 input/output error&quot; al ejecutar una aplicación en python:&lt;/p&gt;&lt;p&gt;# python3 src/main.py &amp;amp;&lt;/p&gt;&lt;p&gt;El cerrar sesión en el servidor y dejando la ejecución en segundo plano python intenta escribir la salida del comando en la pantalla, pero al cerrar sesión genera el fallo.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Lo debemos realizar en ese caso es enviar la salida a algún archivo (si buscamos guardar un log) o a /dev/null&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;# python3 src/main.py &amp;gt;&amp;gt; /dev/null &amp;amp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;o&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;# python3 src/main.py &amp;gt;&amp;gt; /tmp/miapp.log&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/84671668618968323/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/84671668618968323' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/84671668618968323'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/84671668618968323'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2021/11/python-errno-5-inputoutput-error.html' title='python: errno 5 input/output error'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-4334828937370870260</id><published>2021-03-23T12:08:00.005-05:00</published><updated>2021-11-19T13:11:53.767-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="doom"/><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><title type='text'>Instalar emacs doom en windows</title><content type='html'>&lt;p&gt;&amp;nbsp;Hoy vamos a cambiar nuestro spacemacs a Doom, la razón principal es velocidad.&amp;nbsp;&lt;/p&gt;&lt;p&gt;0. Como pre-requisitos necesitamos tener emacs, git cmd y ripreg&amp;nbsp;&lt;/p&gt;&lt;p&gt;En mi caso emacs se instaló en:&amp;nbsp;&lt;b&gt;C:\Program Files\Emacs\x86_64\bin&lt;/b&gt;&lt;/p&gt;&lt;p&gt;En mi caso instale Ripreg en&amp;nbsp;C:\Program Files (x86)\ripgrep-12.1.1-x86_64-pc-windows-msvc&lt;/p&gt;&lt;p&gt;&lt;b&gt;1. Añadimos las variables de entorno&lt;/b&gt;&lt;/p&gt;&lt;p&gt;HOME: /Users/[USUARIO]&lt;/p&gt;&lt;p&gt;en PATH añadimos:&amp;nbsp;&lt;b&gt;C:\Program Files\Emacs\x86_64\bin&lt;/b&gt;&amp;nbsp;y &lt;b&gt;C:\Program Files (x86)\ripgrep-12.1.1-x86_64-pc-windows-msvc&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2. Clonamos Doom&lt;/b&gt;&lt;/p&gt;&lt;p&gt;En Git CMD entramos a la carpeta:&amp;nbsp;&lt;b&gt;C:\Users\[USUARIO]&lt;/b&gt;&amp;nbsp;y clonamos el proyecto&lt;/p&gt;&lt;p&gt;&lt;b&gt;git clone --depth 1 https://github.com/hlissner/doom-emacs .emacs.d&lt;/b&gt;&lt;/p&gt;&lt;p&gt;con esto se debió crear la carpeta:&amp;nbsp;&lt;b&gt;C:\Users\[USUARIO]\.emacs.d&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2. Iniciamos la instalación&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Seguimos en Git CMD y ejecutamos la instalación:&lt;/p&gt;&lt;p&gt;&lt;b&gt;.emacs.d\bin\doom.cmd install&lt;/b&gt;&lt;/p&gt;&lt;p&gt;En este punto debemos de tener un poco de paciencia ...&lt;/p&gt;&lt;p&gt;Listo, ya tendremos nuestra emacs con doom&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/4334828937370870260/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/4334828937370870260' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/4334828937370870260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/4334828937370870260'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2021/03/doom-emacs-en-windows.html' title='Instalar emacs doom en windows'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-1451135402891917252</id><published>2020-05-01T17:27:00.002-05:00</published><updated>2020-05-01T17:27:31.400-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="spacemacs"/><title type='text'>spacemacs Package undo-tree is unavailable. Is the package name misspelled?</title><content type='html'>Si al iniciar la carga de spacemacs nos aparece el mensaje&amp;nbsp; &quot;Package undo-tree is unavailable. Is the package name misspelled?&quot; quiere decir que no tenemos acceso a una fuenta de paquetes, para habilitar el acceso ejecutamos los siguientes pasos:&lt;br /&gt;
&lt;br /&gt;
1. Editar el archivo .spacemacs cambiando el valor del parámetro &lt;b&gt;dotspacemacs-elpa-https&lt;/b&gt; de &lt;b&gt;1&lt;/b&gt; a &lt;b&gt;nil&lt;/b&gt;, si el parámetro&amp;nbsp; &lt;b&gt;dotspacemacs-elpa-https&lt;/b&gt; esta comentado lo descomentamos. &lt;br /&gt;
&lt;br /&gt;
2. Añadir la llave ELPA:&lt;br /&gt;
&lt;b&gt;sudo gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
3. Reiniciamos emacs.&amp;nbsp; </content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/1451135402891917252/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/1451135402891917252' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/1451135402891917252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/1451135402891917252'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2020/05/spacemacs-package-undo-tree-is.html' title='spacemacs Package undo-tree is unavailable. Is the package name misspelled?'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-8435331543493316670</id><published>2018-07-09T12:12:00.000-05:00</published><updated>2018-07-09T12:12:15.476-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><title type='text'>Slackware post-instalación</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Luego de la instalación quizá no nos guste Slackware desde consola. Vamos a realizar algunos cambios que mejorarán el uso de Slackware después de la instalación.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
1. Arranque rápido&lt;/h2&gt;
Al terminar la instalación e iniciar Slackware por primera vez el Lilo toma 2 minutos de espera. Vamos a disminuir este tiempo a 3 segundos. Para esto debemos editar el archivo /etc/lilo.conf&lt;br /&gt;
&lt;b&gt;#nano /etc/lilo.conf&lt;/b&gt;&lt;br /&gt;
Buscamos la sección&lt;br /&gt;
&lt;b&gt;timeout = 1200&lt;/b&gt;&lt;br /&gt;
y la cambiamos por&lt;br /&gt;
&lt;b&gt;timeout = 30&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Guardamos el archivo (Ctrl+O) y salimos (Ctrl+X)&lt;br /&gt;
&lt;br /&gt;
luego ejecutamos el programa&lt;br /&gt;
&lt;b&gt;#lilo&lt;/b&gt;&lt;br /&gt;
Con esto se carga la nueva configuración, y en el siguiente reinicio tendremos la carga rápida.&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
2. Crear un usuario&amp;nbsp;&lt;/h2&gt;
Es critico para la seguridad usar el usuario root por los permisos que tiene, así que es recomendable tener un usuario no administrador, que se encargue de usar el sistema como un usuario de escritorio. Para esto vamos a crear un usuario llamado &quot;warhammer&quot; (pueden darle otro nombre)&lt;br /&gt;
&lt;b&gt;#adduser warhammer&lt;/b&gt;&lt;br /&gt;
Llenamos los datos que nos piden&lt;br /&gt;
Con esto ya debemos de tener creado el usuario&lt;br /&gt;
&lt;br /&gt;
Vamos a darle permisos en sudoers para poder realizar actividades de administrador usando el comando sudo.&lt;br /&gt;
&lt;b&gt;#nano /etc/sudoers&lt;/b&gt;&lt;br /&gt;
en la sección &quot;User privilege specification&quot; añadiremos a nuestro usuario&lt;br /&gt;
&lt;b&gt;warhammer ALL=(ALL) ALL&lt;/b&gt;&lt;br /&gt;
Guardamos y salimos (Ctrl+O Ctrl+X)&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
3. Iniciar con interface gráfica XFCE&amp;nbsp;&lt;/h2&gt;
Para hacer amigable el inicio con una interface gráfica modificaremos el archivo /etc/inittab&lt;br /&gt;
&lt;b&gt;#nano /etc/inittab&lt;/b&gt;&lt;br /&gt;
Buscamos la sección&lt;br /&gt;
&lt;b&gt;id:3:initdefault:&lt;/b&gt;&lt;br /&gt;
Cambiaremos el valor 3 por 4&lt;br /&gt;
&lt;b&gt;id:4:initdefault:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Guardamos y salimos (Ctrl+O Ctrl+X)&lt;br /&gt;
&lt;br /&gt;
4. Reiniciamos para cargar la nueva configuración&lt;br /&gt;
&lt;b&gt;#shutdown -r 0&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ahora a disfrutar de Slackware con una interface gráfica y un usuario de escritorio.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/8435331543493316670/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/8435331543493316670' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8435331543493316670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8435331543493316670'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/07/slackware-post-instalacion.html' title='Slackware post-instalación'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-143969514508160254</id><published>2018-07-09T11:40:00.003-05:00</published><updated>2018-07-09T11:40:34.340-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><title type='text'>instalar Slackware 14.2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hoy vamos a realizar una instalación básica de Slackware.&lt;br /&gt;
&lt;br /&gt;
Como entorno para la instalación tenemos un PC con las siguientes caracteristicas&lt;br /&gt;
- Procesador Core 2 Duo&lt;br /&gt;
- 1GB de Ram&lt;br /&gt;
- 1HD de 64GB&lt;br /&gt;
- Teclado español latinoamericano&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
0. Preparativos previos:&lt;/h2&gt;
Descargamos la ISO de slackware de&lt;br /&gt;
&lt;a href=&quot;https://mirrors.slackware.com/slackware/slackware-iso/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso&quot;&gt;https://mirrors.slackware.com/slackware/slackware-iso/slackware64-14.2-iso/slackware64-14.2-install-dvd.iso&lt;/a&gt;&lt;br /&gt;
esta ISO pesa 2.6GB la quemamos en un DVD&lt;br /&gt;
&lt;br /&gt;
&lt;h2&gt;
1. Inicio&lt;/h2&gt;
Para iniciar debemos de configurar nuestro BIOS para que cargue desde la unidad DVD e iniciar el booteo con el DVD.&lt;br /&gt;
&lt;br /&gt;
Tendremos una pantalla sencilla y muy agradable:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX87c8WxGPclmwz1OX1ojFpimKQNKVmd0pPsX3OdomWrz_ThX3RI9ldWMYl0gj9HwyutiDRVZIFF8BykUs-RYxaBEWt-bRKYVIwdOZljtNbfj-xALNYezp2Wh7QnbmI7iL5q5-yl1I4sTP/s1600/slackware-paso1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;342&quot; data-original-width=&quot;713&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX87c8WxGPclmwz1OX1ojFpimKQNKVmd0pPsX3OdomWrz_ThX3RI9ldWMYl0gj9HwyutiDRVZIFF8BykUs-RYxaBEWt-bRKYVIwdOZljtNbfj-xALNYezp2Wh7QnbmI7iL5q5-yl1I4sTP/s400/slackware-paso1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta parte podemos indicar como iniciaremos el instalador, quizá necesitemos algunas características especiales para soportar dispositivos, o solo haremos un testeo de memoria. En otro post explicaremos como usar esto a mayor detalle.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Por ahora daremos [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
2. Teclado&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Tendremos una pantalla para la selección del teclado, para seleccionar el teclado es necesario poner el valor 1 [ENTER] en :&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7OxPV7s5E44sXqMwqGxL2qAkmE9Xca_3GIlmaznK5tIzn3w8SqKGw2M3uhF25T9FkoUL5h3lBaG7KwtrK-KuJeAh8Aw_aRJXc9mBbIdmSg0dL8VYoJwOysna10rPrHnWIESeZN8ru3P_/s1600/slackware-paso2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;138&quot; data-original-width=&quot;623&quot; height=&quot;87&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht7OxPV7s5E44sXqMwqGxL2qAkmE9Xca_3GIlmaznK5tIzn3w8SqKGw2M3uhF25T9FkoUL5h3lBaG7KwtrK-KuJeAh8Aw_aRJXc9mBbIdmSg0dL8VYoJwOysna10rPrHnWIESeZN8ru3P_/s400/slackware-paso2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego debemos seleccionar la opción correspondiente a nuestro teclado de la lista:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6bcpuoZXvQI2qWOUKFAQVqURsmIiAnyKdMDP-ailbRMLisfofEgUsnnyyhgRqfg7m4lVsk5bYbWl2aO-M6r-DqCXJ581A-qSEqSepUr7EnGjgfhxMA0yUJ4JvGSsr6KRWNLiy5ADSQNVm/s1600/slackware-paso2-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;335&quot; data-original-width=&quot;533&quot; height=&quot;402&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6bcpuoZXvQI2qWOUKFAQVqURsmIiAnyKdMDP-ailbRMLisfofEgUsnnyyhgRqfg7m4lVsk5bYbWl2aO-M6r-DqCXJ581A-qSEqSepUr7EnGjgfhxMA0yUJ4JvGSsr6KRWNLiy5ADSQNVm/s640/slackware-paso2-1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Al seleccionar la correcta configuración del teclado, puedes probar el mismo en el cuadro de texto que aparece a continuación. Si todo esta bien presionas [ENTER] 1 [ENTER], si todavía no es el teclado que te corresponde regresas a la pantalla de selección escribiendo [ENTER] 2 [ENTER].&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3T4gNaTp3jc3OPuL2k73bF8Kwbca_gJXvMaXDDAJMHgaHfuQNroP5HrlexwReKILFI72KGQa9GtUiYo77xwIQLQ6yQ3nYdMHFgFcWIOzH_ewCPa_WYru_gXc06ZRXrFHwGz3sF437Irdi/s1600/slackware-paso2-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;108&quot; data-original-width=&quot;636&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3T4gNaTp3jc3OPuL2k73bF8Kwbca_gJXvMaXDDAJMHgaHfuQNroP5HrlexwReKILFI72KGQa9GtUiYo77xwIQLQ6yQ3nYdMHFgFcWIOzH_ewCPa_WYru_gXc06ZRXrFHwGz3sF437Irdi/s400/slackware-paso2-3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En mi caso seleccione &lt;b&gt;qwerty/la-latin1.map&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
3. Particionar el disco&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta parte, primero nos pedirá loguearnos con usuario root (sin clave) y tendremos a linea de consola a nuestra disposición.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR9Qqf-kr4ciDn-SjcqCNilJnmOSNASkX7VqOc0OH_858n-GBxp17cQdlWqRImtKhEzWyIXfj5YUTM-PSs1Mhju8Zvvl2aRohHBOo-75Qlofkku_eGLltrAlDtJ5-Egyv4Qp_kjHeAu-0R/s1600/slackware-paso3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;388&quot; data-original-width=&quot;665&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR9Qqf-kr4ciDn-SjcqCNilJnmOSNASkX7VqOc0OH_858n-GBxp17cQdlWqRImtKhEzWyIXfj5YUTM-PSs1Mhju8Zvvl2aRohHBOo-75Qlofkku_eGLltrAlDtJ5-Egyv4Qp_kjHeAu-0R/s400/slackware-paso3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Para particionar usaremos la herramienta &lt;b&gt;cfdisk&lt;/b&gt;, pero si tienes mas experiencia utiliza fdisk (no hay problema&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;# cfdisk&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- La primera parte indica el tipo de LABEL que pondremos al disco, pongamos por defecto DOS[ENTER], tendremos una pantalla como la siguiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXBgqxrViXpn6krSkKrVbxjBBvarkSrn8HIojcciRg08QG2FAhIwkkyfJ_jbU-rtFoOWViqSdaREB2PK1igFVO-5FasxS9yFKTu8I4M7Eh6oKwpcnYeiyObnPuchtZcQroODf-vTFHYptX/s1600/slackware-paso3-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;390&quot; data-original-width=&quot;720&quot; height=&quot;345&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXBgqxrViXpn6krSkKrVbxjBBvarkSrn8HIojcciRg08QG2FAhIwkkyfJ_jbU-rtFoOWViqSdaREB2PK1igFVO-5FasxS9yFKTu8I4M7Eh6oKwpcnYeiyObnPuchtZcQroODf-vTFHYptX/s640/slackware-paso3-1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Bueno ahora crearemos una estructura para nuestros disco duro, calculamos los tamaños de las unidades a crear de acuerdo a nuestra necesidad.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Por defecto separa el tamaño de 2 x RAM para una memoria de intercambio SWAP&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Por defecto separamos 10GB para los archivos base de sistema. Slackware corre en 7GB con todos los paquetes instalados.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Si utilizaremos el disco para oficina, el resto de espacio debemos usarlo para la unidad que apunte a&amp;nbsp; /home (archivos de los usuarios), también aplica si usaras la máquina par servidor FTP&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Si usaremos el disco para un servidor de base de datos, webserver , la carpeta /var debe ser la de mayor tamaño.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Nosotros la usaremos para escritorio por tanto el particionado será de la siguiente manera:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- root: 10GB&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- SWAP: 2GB&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- home: 52GB o restante, hay un espacio que ocupa la tabla de particiones y lo restante puede ser menor.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Partición root:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
new [ENTER] -&amp;gt; partition size: 10G [ENTER]-&amp;gt; primary [ENTER]&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
type: 83 LINUX [ENTER]&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Bootable [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMzdyxTUX2qltEKkNxrvwXWp-x8oVF8K_gLM78xS8LwArguwrG7s58-vocU_seFnsnlMRLDzGR46nozbqw4IXnU1AzT68hgGdVLHKss5mFSRbpLYo9_nG28XU1QLYZdZPO2YF4fP2NWZw/s1600/slackware-paso3-2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;105&quot; data-original-width=&quot;715&quot; height=&quot;46&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVMzdyxTUX2qltEKkNxrvwXWp-x8oVF8K_gLM78xS8LwArguwrG7s58-vocU_seFnsnlMRLDzGR46nozbqw4IXnU1AzT68hgGdVLHKss5mFSRbpLYo9_nG28XU1QLYZdZPO2YF4fP2NWZw/s320/slackware-paso3-2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Partición swap&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
FreeSpace&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
new [ENTER] -&amp;gt; partition size: 2G [ENTER] -&amp;gt; primary [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
type: 82 LINUX SWAP[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Partición home&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
FreeSpace&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
new [ENTER] -&amp;gt; partition size: 52G [ENTER] -&amp;gt; primary [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
type: 83 LINUX [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Tendremos al finalizar la siguiente estructura:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtvWVF9r-xGydTDtR6anweXaGxrnor5_R8kH42-iUYj2RIEZtLsSr5SZC4ZjHg660wlQZ4VCDeZKb3OQ1_lNvZwd31nnY7d85k4ylUpkmKNlpMLmLjtH9OPf1k-FINJ0p_Oy3oatzZXql_/s1600/slackware-paso3-3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;354&quot; data-original-width=&quot;707&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtvWVF9r-xGydTDtR6anweXaGxrnor5_R8kH42-iUYj2RIEZtLsSr5SZC4ZjHg660wlQZ4VCDeZKb3OQ1_lNvZwd31nnY7d85k4ylUpkmKNlpMLmLjtH9OPf1k-FINJ0p_Oy3oatzZXql_/s400/slackware-paso3-3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego escribiremos el disco con los cambios, con la opción write [ENTER] yes [ENTER], Si todo va bien tendremos el mensaje:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;the partition table has been altered.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego de esto saldremos de cfdisk con quit[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
4. Formateo y distribución de unidades&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Regresando a&amp;nbsp; línea de comandos con el usuario root y teniendo los requisitos listos debemos de iniciar la instalación con :&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;# setup[ENTER]&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Vamos a iniciar con la opción 3 ADD SWAP [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCbtX5GFOsq958ItdtyZYagGzP1Ek87i0YtUoSTVra2toxRU7f95SGLDFDTl8sPzZ6mBgNaytEaGhoqGzqAPIPng9thyCaejEkl0VZTxS-nRNqxc8wotPjp05NYnakU2_0i6x-V_hER7gB/s1600/slackware-paso4-swap.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;221&quot; data-original-width=&quot;572&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCbtX5GFOsq958ItdtyZYagGzP1Ek87i0YtUoSTVra2toxRU7f95SGLDFDTl8sPzZ6mBgNaytEaGhoqGzqAPIPng9thyCaejEkl0VZTxS-nRNqxc8wotPjp05NYnakU2_0i6x-V_hER7gB/s400/slackware-paso4-swap.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
El instalador debe mostrar por defecto la unidad marcada como SWAP. Nos permite verificar si debemos ejecutar &lt;b&gt;mkswap&lt;/b&gt; en la unidad, en este caso pondremos YES[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivpXQwJpfarr2DFOp9rYC1Er5EDZyRxQwKELCdCjQu3Jo7GDCukXviOboo26iLIRw1wnTdhekl-vw4DXpObcoC62kpJSwaK6RAACFxWKYuwnVV1fZkLf6Bh7CLPnQj0Ssz8LxiyqMncKqB/s1600/slackware-paso4-swap2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;158&quot; data-original-width=&quot;666&quot; height=&quot;93&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivpXQwJpfarr2DFOp9rYC1Er5EDZyRxQwKELCdCjQu3Jo7GDCukXviOboo26iLIRw1wnTdhekl-vw4DXpObcoC62kpJSwaK6RAACFxWKYuwnVV1fZkLf6Bh7CLPnQj0Ssz8LxiyqMncKqB/s400/slackware-paso4-swap2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Listo tenemos nuestra SWAP. Presionamos OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN5knJe5Q_r2pw-KYHqYSy1UYr9EAD5H7mZcLhr2eWiPiyCNvoaYgYxjO06hbYO2Jeu9DrVU1Rz-l_Hw9MYA-9-jVwc9wYxzoHahlbI1jeVuycY2Av6AHnpIistbXltE1QeiaJPACm1qk-/s1600/slackware-paso4-folders.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;198&quot; data-original-width=&quot;639&quot; height=&quot;123&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjN5knJe5Q_r2pw-KYHqYSy1UYr9EAD5H7mZcLhr2eWiPiyCNvoaYgYxjO06hbYO2Jeu9DrVU1Rz-l_Hw9MYA-9-jVwc9wYxzoHahlbI1jeVuycY2Av6AHnpIistbXltE1QeiaJPACm1qk-/s400/slackware-paso4-folders.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ahora debemos de seleccionar nuestra unidad root (raiz o /), como recordamos en el inicio indicamos que sería el de 10G (adicionalmente cuando lo particionamos lo marcamos como booteable). Presionamos SELECT[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVqGx5pBGgQyCUqGDkl5dhCEdYIIgpuHRBcUN86Io4mQNXthMXZLOCN0Cd6Qz9mCBn7T7zN8F9YoEFwZM-kw9j3wCbD0sz3mJ5cmwcmI-OlyWKhD_DdwSf8-N9bq2I3jLi2-NGb2nvcIVq/s1600/slackware-paso4-folders-format.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;188&quot; data-original-width=&quot;648&quot; height=&quot;115&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVqGx5pBGgQyCUqGDkl5dhCEdYIIgpuHRBcUN86Io4mQNXthMXZLOCN0Cd6Qz9mCBn7T7zN8F9YoEFwZM-kw9j3wCbD0sz3mJ5cmwcmI-OlyWKhD_DdwSf8-N9bq2I3jLi2-NGb2nvcIVq/s400/slackware-paso4-folders-format.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Recomiendo formatear con la segunda opcion (CHECK), sobre todo con los discos que ya tienen un tiempo de vida medio, así verificamos los bloques dañados. Si es un disco nuevo podremos dar la primera opción.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Presionamos OK [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_fBnMqfYPOUsSjNZPfR2Z0dY199xrK1aQuzsTb2LuZlVcKIhe2R6ItXfFZ9zDJdtzgoF2_mUys80TCPhvsanl1KmvGp7rpp50120sBlUuNPKp9waxxtcpaVifCSeJbFNmnGDFjT2a5Vr/s1600/slackware-paso4-folders-format-fs.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;324&quot; data-original-width=&quot;662&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy_fBnMqfYPOUsSjNZPfR2Z0dY199xrK1aQuzsTb2LuZlVcKIhe2R6ItXfFZ9zDJdtzgoF2_mUys80TCPhvsanl1KmvGp7rpp50120sBlUuNPKp9waxxtcpaVifCSeJbFNmnGDFjT2a5Vr/s400/slackware-paso4-folders-format-fs.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Nos toca seleccionar el sistema de archivos, por defecto tenemos seleccionado la ultima versión estable de ext4. Presionamos [OK]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
El instalador de slackware detectara la otra partición y nos preguntara para que la usaremos:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQToMWO3g3vkPvz3wGZgUwizih8dSPOrFeJciOK-zU9gki7trY8eCLHfcx4HMEW5HOps0rOgEmK77fHkdeeU1dUtibeJYnaqGdoZCh7SqE4Y9oF1AtDLs5T8mf9uNo0mgemLRpKOqBupIV/s1600/slackware-paso4-folders-other.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;313&quot; data-original-width=&quot;653&quot; height=&quot;153&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQToMWO3g3vkPvz3wGZgUwizih8dSPOrFeJciOK-zU9gki7trY8eCLHfcx4HMEW5HOps0rOgEmK77fHkdeeU1dUtibeJYnaqGdoZCh7SqE4Y9oF1AtDLs5T8mf9uNo0mgemLRpKOqBupIV/s320/slackware-paso4-folders-other.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Presionamos SELECT[ENTER], luego nos indicara para formatear la unidad. Por defecto la formateamos y nos indicará a que carpeta lo vamos a apuntar&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9gBjJ52bIdlm9i3Tx_XwknR4hIBCslDZMBai2KLMTeSKIpNnFot0cpRQCYASkQ4nSbIj7nygUCGaVe7FSi0ULl2I2gJJ2Utnhy3k4mX8V4vwYPqpCzBCwfYz28ACh-tSHTKfY9fmg6qsM/s1600/slackware-paso4-home.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;181&quot; data-original-width=&quot;554&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9gBjJ52bIdlm9i3Tx_XwknR4hIBCslDZMBai2KLMTeSKIpNnFot0cpRQCYASkQ4nSbIj7nygUCGaVe7FSi0ULl2I2gJJ2Utnhy3k4mX8V4vwYPqpCzBCwfYz28ACh-tSHTKfY9fmg6qsM/s320/slackware-paso4-home.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta sección pondremos /home&amp;nbsp; OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego nos dará un resumen de los cambios que se van a realizar, solo los aceptamos [OK]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1d4wDNUkmzLyZmHxDgV3QaR2gtgH9uJ6lHQ4pf85Tf8l0TTP-aHHtcE5IGCkkN9h3fEpIkZQqnbEQ1rlZSCx8WjR6tUc78Mjo6EimkgzIhfmYPjSTjtzP396u0Jmv0L_wcvicGIGcpQyQ/s1600/slackware-paso4-final.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;229&quot; data-original-width=&quot;663&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1d4wDNUkmzLyZmHxDgV3QaR2gtgH9uJ6lHQ4pf85Tf8l0TTP-aHHtcE5IGCkkN9h3fEpIkZQqnbEQ1rlZSCx8WjR6tUc78Mjo6EimkgzIhfmYPjSTjtzP396u0Jmv0L_wcvicGIGcpQyQ/s400/slackware-paso4-final.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
5. Instalación&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta parte vamos a instalar los paquetes en nuestro sistema. Primero debemos seleccionar la unidad desde donde instalaremos:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2X2Rat6rQJSUjA_2i0tL9HaRNSGQtBQqLcGN5cis9ouPPIlZF-tQqAlWOeL58JvNMY7rF86i7zxe6nMXP57ri-zPgfVCHXOgcSfR-1DFB5Wgwaa5j7yLJTQsEbWYjD5m0hTOFc9zbDsX/s1600/slackware-paso5-select.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;223&quot; data-original-width=&quot;655&quot; height=&quot;135&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp2X2Rat6rQJSUjA_2i0tL9HaRNSGQtBQqLcGN5cis9ouPPIlZF-tQqAlWOeL58JvNMY7rF86i7zxe6nMXP57ri-zPgfVCHXOgcSfR-1DFB5Wgwaa5j7yLJTQsEbWYjD5m0hTOFc9zbDsX/s400/slackware-paso5-select.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Como lo&amp;nbsp; estamos instalando desde DVD, seleccionamos la primera opción y presionamos OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Nos indicará si deseamos hacer una revisión del disco, lo ponemos por defecto la primera opción y presionamos OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta parte tendremos que escoger los paquetes a instalar, podemos dejarlo por defecto, pero como tengo una PC con pocos recursos, voy excluir o desmarcar lo siguiente:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- KDE&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
- Games&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU5rMOUBf4vl-LrloOQJn7DXZ3C0YEZzaUXcB1tKwF5gc-gCkn3es9xB7paKqI8FjItrKfQyD7ccWlG2tTN77viPCgDYdhCFeohF87AcopUq8nRHPJGk5w1DQxeJMh1AwOtTWoPsLlZGhL/s1600/slackware-paso5-packages.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;351&quot; data-original-width=&quot;708&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU5rMOUBf4vl-LrloOQJn7DXZ3C0YEZzaUXcB1tKwF5gc-gCkn3es9xB7paKqI8FjItrKfQyD7ccWlG2tTN77viPCgDYdhCFeohF87AcopUq8nRHPJGk5w1DQxeJMh1AwOtTWoPsLlZGhL/s400/slackware-paso5-packages.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Listo, presionamos OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_R9MR6wo1elfANa4gIA51Pgsx9OSPj9AgMbUmD3NLhPHX9WGS7f4Uo4ABFr-4wx1rVbVEkPmzBuFRsBBeBp3Lz7kZe9aau2Jky_I_FAESWpfZkULUbEFewy_x-Gjv_gsn7c7t4Zad6nys/s1600/slackware-paso5-package-sub.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;304&quot; data-original-width=&quot;703&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_R9MR6wo1elfANa4gIA51Pgsx9OSPj9AgMbUmD3NLhPHX9WGS7f4Uo4ABFr-4wx1rVbVEkPmzBuFRsBBeBp3Lz7kZe9aau2Jky_I_FAESWpfZkULUbEFewy_x-Gjv_gsn7c7t4Zad6nys/s400/slackware-paso5-package-sub.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Podemos tener mayor control de lo que vamos a instalar en esta ventana. Por ahora seleccionaremos la primera opcion FULL -&amp;gt; OK [ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Y arrancan... comienza la instalación. Podemos dejar esto corriendo hasta que termine.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
6. Configurar el Arranque&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego de terminada la instalación de paquetes nos preguntara si deseamos crear un usb booteable, por el momento nos saltamos este paso Skip OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCYE5ExUf-zbv3ZzvscuwQBMkvzvn8-uCOKpG9Q1kx5m7vGd9v9J_Y_yvw5G3r12l2gPcR1pPmdnRhJmLRjCM_lEu67B9h4i7FK89UPRcma5YmEpzObu-fCNV2qhGnssvXqghyA-alF8zv/s1600/slackware-paso6-usb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;279&quot; data-original-width=&quot;656&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCYE5ExUf-zbv3ZzvscuwQBMkvzvn8-uCOKpG9Q1kx5m7vGd9v9J_Y_yvw5G3r12l2gPcR1pPmdnRhJmLRjCM_lEu67B9h4i7FK89UPRcma5YmEpzObu-fCNV2qhGnssvXqghyA-alF8zv/s400/slackware-paso6-usb.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego tendremos que seleccionar la configuración del lanzador de Linux (lilo) dejamos la configuración por defecto&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxjXj2ljn8t4oauIdcCGrJSwWB9GVQhIqlv-wsUOWuXcsRT4z4llxGXQ-K_KjDfffiooqZ_YS7Uvh8fBypb1EuZkqnAB_B5nGhkC82xBT_7YoTXbDaTxNS9eAIWyx-LDwXG0FgYZl0EDB/s1600/slacware-paso6-lilo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;272&quot; data-original-width=&quot;643&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFxjXj2ljn8t4oauIdcCGrJSwWB9GVQhIqlv-wsUOWuXcsRT4z4llxGXQ-K_KjDfffiooqZ_YS7Uvh8fBypb1EuZkqnAB_B5nGhkC82xBT_7YoTXbDaTxNS9eAIWyx-LDwXG0FgYZl0EDB/s400/slacware-paso6-lilo.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
simple OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
De igual forma en la selección de la interface que nos mostrara al iniciar el linux, seleccionamos standard OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge037s8JBGNLNuTWKi__LXoKW_BsI038gYEHHF1buCXFwa9frCfKW5SUmxQkNvMnPpnC3GTx6otlf7OF8Yd8bKfNphWSJo0i5uEwDX8048KHEhfmkLnwIwl1bjK6fnHSqyKHd_2idlX0hp/s1600/slackware-paso6-frame.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;367&quot; data-original-width=&quot;705&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge037s8JBGNLNuTWKi__LXoKW_BsI038gYEHHF1buCXFwa9frCfKW5SUmxQkNvMnPpnC3GTx6otlf7OF8Yd8bKfNphWSJo0i5uEwDX8048KHEhfmkLnwIwl1bjK6fnHSqyKHd_2idlX0hp/s400/slackware-paso6-frame.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En el siguiente paso nos preguntará si queremos añadir parámetros adicionales al kernel, lo dejamos vacío y continuamos.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego tendremos que activar el UTF-8 para las consolas, en la pantalla siguiente ponemos Yes[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcMSVF0i58QoHY8abFHoKuCW-Tol1PA_IZzPQXa9kbhldcfEtCx5IwK-YcYMg8t5lFzX_vdt-o8CQK2okriOCSyOGZ1-0I52PB77pAHhKpDq1px_wOm6XyGdnZOgkLc1apLhoQ68d_bH-l/s1600/slackware-paso6-utf8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;152&quot; data-original-width=&quot;643&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcMSVF0i58QoHY8abFHoKuCW-Tol1PA_IZzPQXa9kbhldcfEtCx5IwK-YcYMg8t5lFzX_vdt-o8CQK2okriOCSyOGZ1-0I52PB77pAHhKpDq1px_wOm6XyGdnZOgkLc1apLhoQ68d_bH-l/s320/slackware-paso6-utf8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
También tendremos que indicar donde instalar el arrancador, lo dejamos por defecto con MBR OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhWMsNXc9Tc9kBLGB4Z9V-o7NN4xRmvYG1YKOjLgJWnNTSL93-MQmv8OZQYpPn4JKfVpDeyJZiJuN9lHHFzk-Yy8h3ih1tIYZLvYG7Ojex1-BFcifg5Xm5cwXGHa0_gley-_rbckRSJ1ag/s1600/slackware-paso6-mbr.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;296&quot; data-original-width=&quot;664&quot; height=&quot;177&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhWMsNXc9Tc9kBLGB4Z9V-o7NN4xRmvYG1YKOjLgJWnNTSL93-MQmv8OZQYpPn4JKfVpDeyJZiJuN9lHHFzk-Yy8h3ih1tIYZLvYG7Ojex1-BFcifg5Xm5cwXGHa0_gley-_rbckRSJ1ag/s400/slackware-paso6-mbr.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ahora debemos de seleccionar como esta conectado el mouse, en mi caso USB&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKwNbUZjcM72lLtlSazP2LX8ZtcEjuqzZNMDBmO3dQ8D3u8Scd7F_Vb-zVxCPjTM8A_NpW-2YgNwyVTJTjNphh9WIyFyIl0kEDgX1GgBQg3ZBaFnjydwSk5H6OY6cZWjx4Xh_rE37Wj4sr/s1600/slackware-paso6-mouse.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;293&quot; data-original-width=&quot;694&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKwNbUZjcM72lLtlSazP2LX8ZtcEjuqzZNMDBmO3dQ8D3u8Scd7F_Vb-zVxCPjTM8A_NpW-2YgNwyVTJTjNphh9WIyFyIl0kEDgX1GgBQg3ZBaFnjydwSk5H6OY6cZWjx4Xh_rE37Wj4sr/s400/slackware-paso6-mouse.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
OK[ENTER] y para configurar la linea que carga el mouse YES[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
7. Red y servicios&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
En esta parte vamos a configurar la red y los servicios:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtCSDDGDvp3yJ3z3VynvT8uoa281VP2UdRutD7q1WQaRl4irrKLohFpfUCkb1OhPwpQ_thCx5Nc34aqzzhoihgH0VyT1h3vDi7_ZvZlBHb4prmiiY4fTsDqVtT6uZQTOGxIWdcrrS7NibF/s1600/slackware-paso7-red.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;81&quot; data-original-width=&quot;562&quot; height=&quot;46&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtCSDDGDvp3yJ3z3VynvT8uoa281VP2UdRutD7q1WQaRl4irrKLohFpfUCkb1OhPwpQ_thCx5Nc34aqzzhoihgH0VyT1h3vDi7_ZvZlBHb4prmiiY4fTsDqVtT6uZQTOGxIWdcrrS7NibF/s320/slackware-paso7-red.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Nos pedirá llenar algunos valores como:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
hostname: mipc.com&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
domain: mipc.com&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego podremos activar algunos servicios o demonios que queremos cargar al iniciar la PC. La dejamos por defecto.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrpq2aoKcUs2Nq8RHDY0BTCNmMMQoslOEAUSsH-67_VhQXOeXiwqK0qmPHFKiq6no_koPS1ZAhyzTCun9C_bBfwj_N6ikSBI0awb4aBJDG-o360P0eEpC-phFnv052ir0nKpya0XE9eI3A/s1600/slackware-paso7-services.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;300&quot; data-original-width=&quot;690&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrpq2aoKcUs2Nq8RHDY0BTCNmMMQoslOEAUSsH-67_VhQXOeXiwqK0qmPHFKiq6no_koPS1ZAhyzTCun9C_bBfwj_N6ikSBI0awb4aBJDG-o360P0eEpC-phFnv052ir0nKpya0XE9eI3A/s400/slackware-paso7-services.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego nos preguntara sobre &quot;Console font configuration&quot; lo dejamos por defecto NO OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Al seleccionar el tipo de configuración del reloj, lo dejamos por defecto.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil2evrhulPV57T1k0XTlpJjrO3L2Hbay0oFhkI1ZbCW9dhky0L9cbzu0r62gDZlFUV2SYT98cXPXSUbbR42o9zTp1UMJPruUuGdhwyV4fgmfM6McB5KE1VVF1O-E52LkYqXYnVhMSXPcLS/s1600/slackware-paso7-time.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;193&quot; data-original-width=&quot;558&quot; height=&quot;137&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil2evrhulPV57T1k0XTlpJjrO3L2Hbay0oFhkI1ZbCW9dhky0L9cbzu0r62gDZlFUV2SYT98cXPXSUbbR42o9zTp1UMJPruUuGdhwyV4fgmfM6McB5KE1VVF1O-E52LkYqXYnVhMSXPcLS/s400/slackware-paso7-time.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Luego debemos de escoger la zona horaria, en mi caso America/Lima OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5ItXOzwrwK8vvEJqd0ORnKx8Qu1UKAJfI6hB09LQTr1F69fLwLZ3MSshI93Pj4LrcbLq5J3sK2tx7HBbbJB87PAzt4Xd3oEine-C-RiN7Q_6ZHKLISuRvzk4sq3xO2oSy-VcpWnAbKWWd/s1600/slackware-paso7-timezone.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;315&quot; data-original-width=&quot;472&quot; height=&quot;266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5ItXOzwrwK8vvEJqd0ORnKx8Qu1UKAJfI6hB09LQTr1F69fLwLZ3MSshI93Pj4LrcbLq5J3sK2tx7HBbbJB87PAzt4Xd3oEine-C-RiN7Q_6ZHKLISuRvzk4sq3xO2oSy-VcpWnAbKWWd/s400/slackware-paso7-timezone.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: left;&quot;&gt;
8. Escritorio de trabajo&amp;nbsp;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Vamos a configurar el escritorio de trabajo en el siguiente paso. Por ahora usaremos xinitrc.xfce OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwxBmIfzBd7TqdUDPlNrgkJy_EfrWWergw7f6vo7tXQlxtM4p-zKFtS-44pGaYv2LgPFZsHaIfkJvEyYQ4Bty3xYEg9VKmw0fTpeyjBU_TDsTpQK64QMDOa1Xcp5kTrGA7Lr5x-FpWwqTJ/s1600/slackware-paso8-desktop.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;279&quot; data-original-width=&quot;694&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwxBmIfzBd7TqdUDPlNrgkJy_EfrWWergw7f6vo7tXQlxtM4p-zKFtS-44pGaYv2LgPFZsHaIfkJvEyYQ4Bty3xYEg9VKmw0fTpeyjBU_TDsTpQK64QMDOa1Xcp5kTrGA7Lr5x-FpWwqTJ/s400/slackware-paso8-desktop.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Finalmente asignaremos el password al usuario root&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0fDZ1Vc-cyI1iwfv3fsdKBBc1yUNmbcfitheUwKX21F8NoOxCPVD_QpdAYb1OdF2SKHSg1SesvJS3E2j6FIiHbMPnVil2bPBY1aAhfhwVi_JX2MljWfakzHnTRK1WL8CMNHawA-sdkxDn/s1600/slackware-paso8-root-password.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;159&quot; data-original-width=&quot;627&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0fDZ1Vc-cyI1iwfv3fsdKBBc1yUNmbcfitheUwKX21F8NoOxCPVD_QpdAYb1OdF2SKHSg1SesvJS3E2j6FIiHbMPnVil2bPBY1aAhfhwVi_JX2MljWfakzHnTRK1WL8CMNHawA-sdkxDn/s400/slackware-paso8-root-password.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
el usuario root sera nuestro administrador, asi que no olvidemos el password. YES[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Ingresamos y reingresamos el password y tendríamos terminada la instalación. OK[ENTER]&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf1eSa76SZGUg7nx9w7qKs8e8D_YaAqzjrahiyP727AuQP0N2kr06CRJMdnNen55b9-BZ1_TTl2OuOdXPR5sMl7Q6GKqqP5TofvxN7J8Vh5kJqfl9PtF7vuesXh5TqYbCQ_dEdMfAKGM4J/s1600/slackware-paso8-finish.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;108&quot; data-original-width=&quot;512&quot; height=&quot;67&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjf1eSa76SZGUg7nx9w7qKs8e8D_YaAqzjrahiyP727AuQP0N2kr06CRJMdnNen55b9-BZ1_TTl2OuOdXPR5sMl7Q6GKqqP5TofvxN7J8Vh5kJqfl9PtF7vuesXh5TqYbCQ_dEdMfAKGM4J/s320/slackware-paso8-finish.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Listo , hemos regresado al menú de pasos y aquí debemos escoger EXIT OK[ENTER] y extraer el DVD de instalación.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
A la pregunta de reboot, reiniciamos el sistema.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVIJBwrKWyOurR5Icwkp1Y73XkRY3_X-viAsh7xJeJ2Bv7HNE_DAe8SJv7VesSpe_BtmqtHnh3FdbvAdSl7l3D-feEe4cu0aT9y8K8KRNh74cp7_ZO_oMMLXAHa7gnLRh2SMrKiRb7xZqr/s1600/slackware-paso9-fin.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;462&quot; data-original-width=&quot;613&quot; height=&quot;300&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVIJBwrKWyOurR5Icwkp1Y73XkRY3_X-viAsh7xJeJ2Bv7HNE_DAe8SJv7VesSpe_BtmqtHnh3FdbvAdSl7l3D-feEe4cu0aT9y8K8KRNh74cp7_ZO_oMMLXAHa7gnLRh2SMrKiRb7xZqr/s400/slackware-paso9-fin.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
No debemos esperar el tiempo que dice abajo, presionamos enter y ya debe iniciar el arranque de Slackware.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/143969514508160254/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/143969514508160254' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/143969514508160254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/143969514508160254'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/07/instalar-slackware-142.html' title='instalar Slackware 14.2'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiX87c8WxGPclmwz1OX1ojFpimKQNKVmd0pPsX3OdomWrz_ThX3RI9ldWMYl0gj9HwyutiDRVZIFF8BykUs-RYxaBEWt-bRKYVIwdOZljtNbfj-xALNYezp2Wh7QnbmI7iL5q5-yl1I4sTP/s72-c/slackware-paso1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-3125717033721074329</id><published>2018-06-25T12:25:00.001-05:00</published><updated>2018-06-25T12:25:14.298-05:00</updated><title type='text'>Emacs: Encriptar archivos</title><content type='html'>Si necesitas seguridad adicional en tus archivos texto o código fuente, puedes usar Emacs como una herramienta de encriptado de archivos de manera muy fácil, para esto tenemos 2 caminos:&lt;br /&gt;
&lt;br /&gt;
- Usando org-mode, lo archivos .org se pueden encriptar fácilmente añadiendo la extensión .gpg y luego una clave cuando emacs nos solicite la clave.&lt;br /&gt;
&lt;br /&gt;
- Sin org-mode, al archivo que quieres encriptar debes añadirle en su primera linea los siguiente:&lt;br /&gt;
&lt;b&gt;# -*- mode:org; epa-file-encrypt-to: (&quot;me@mydomain.com&quot;) -*-&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Luego al guardarlo le añadimos la extensión .gpg . Luego de esto el sistema lo procesara como un archivo org-mode encriptado y pedirá la clave.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PD: &lt;/b&gt;me@mydomain.com: debe ser el propietario de la encriptación, pongan allí su correo.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/3125717033721074329/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/3125717033721074329' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3125717033721074329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3125717033721074329'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/06/emacs-encriptar-archivos.html' title='Emacs: Encriptar archivos'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-8540014600594288459</id><published>2018-06-25T12:02:00.000-05:00</published><updated>2018-06-25T12:03:22.314-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="emacs"/><category scheme="http://www.blogger.com/atom/ns#" term="org-mode"/><title type='text'>Emacs: Hacer consultas a base de datos en org-mode</title><content type='html'>&lt;div&gt;
El modo Org-mode de emacs es una herramienta de productividad increíble. Bajo esta interface es posible realizar consultas a base de datos, el resultado de estas pueden mostrarse inline en el mismo archivo .org. Para esto debemos de configurar algunas cosas pequeñas en Emacs.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1. Vamos a modificar nuestro archivo .emacs y añadir los lenguajes soportados
&lt;br /&gt;
&lt;div class=&quot;source-code&quot;&gt;
(org-babel-do-load-languages&lt;br /&gt;
&#39;org-babel-load-languages&lt;br /&gt;
&#39;((sql . t)))&lt;br /&gt;
;; add additional languages with &#39;((language . t)))&lt;br /&gt;
&lt;br /&gt;
(org-babel-do-load-languages&lt;br /&gt;
&#39;org-babel-load-languages&lt;br /&gt;
&#39;(&lt;br /&gt;
(emacs-lisp . t)&lt;br /&gt;
(org . t)&lt;br /&gt;
(sh . t)&lt;br /&gt;
(C . t)&lt;br /&gt;
(python . t)&lt;br /&gt;
(gnuplot . t)&lt;br /&gt;
(octave . t)&lt;br /&gt;
(R . t)&lt;br /&gt;
(dot . t)&lt;br /&gt;
(awk . t)&lt;br /&gt;
(sql . t)&lt;br /&gt;
))&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
2. Para poder conectarnos a una BD nuestro archivo .org tendremos que añadir algunos tags:&lt;/div&gt;
&lt;div class=&quot;source-code&quot;&gt;
#+name: &lt;b&gt;result-list&lt;/b&gt;&lt;br /&gt;
#+header: :engine &lt;b&gt;mysql&lt;/b&gt;&lt;br /&gt;
#+header: :dbhost &lt;b&gt;localhost&lt;/b&gt;&lt;br /&gt;
#+header: :dbuser &lt;b&gt;mydbuser&lt;/b&gt;&lt;br /&gt;
#+header: :dbpassword &lt;b&gt;mydbpass&lt;/b&gt;&lt;br /&gt;
#+header: :database &lt;b&gt;mydatabase&lt;/b&gt;&lt;br /&gt;
#+begin_src sql :exports results&lt;br /&gt;
&lt;b&gt;select * from table1 order by 1 desc;&lt;/b&gt;&lt;br /&gt;
#+end_src&lt;br /&gt;
&lt;br /&gt;
#+RESULTS: &lt;b&gt;result-list&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
Como observamos debemos de cambiar los valores :&lt;br /&gt;
&lt;b&gt;engine&lt;/b&gt;: el motor de base de datos, en nuestro caso usamos mysql&lt;br /&gt;
&lt;b&gt;dbhost&lt;/b&gt;: el host de la base de datos, en nuestro caso localhost o 127.0.0.1&lt;br /&gt;
&lt;b&gt;dbuser&lt;/b&gt;: el usuario de base de datos&lt;br /&gt;
&lt;b&gt;dbpass&lt;/b&gt;: la clave del usuario de base de datos&lt;br /&gt;
&lt;b&gt;database&lt;/b&gt;: la base de datos a la que nos conectamos&lt;br /&gt;
&lt;b&gt;name&lt;/b&gt;: indica el nombre del bloque de consulta, si observan en RESULT hay uno con el mismo nombre, quiere decir que el resultado de ejecutar el SQL se verá en el bloque RESULT&lt;br /&gt;
&lt;b&gt;begin_src&lt;/b&gt;: esta es la consulta SQL que ejecutaremos&lt;br /&gt;
&lt;br /&gt;
Para ejecutar la consulta nos ubicamos dentro del bloque del código y presionamos Ctrl+c Ctrl+c.&lt;br /&gt;
&lt;br /&gt;
Mayor detalle en :&amp;nbsp;&lt;a href=&quot;https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-sql.html&quot;&gt;https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-sql.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/8540014600594288459/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/8540014600594288459' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8540014600594288459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8540014600594288459'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/06/emacs-hacer-consultas-base-de-datos-en.html' title='Emacs: Hacer consultas a base de datos en org-mode'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-6022507581061774599</id><published>2018-06-25T11:30:00.001-05:00</published><updated>2018-06-25T11:30:10.198-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux: Comparar 2 archivos binarios</title><content type='html'>En esta ocasión vamos a verificar que un archivo es igual a otro, pero vamos a compara archivos binarios.&lt;br /&gt;
&lt;br /&gt;
En mi caso he copiado un archivo ISO de un disco duro extorno a la PC y quiero verificar si se ha copiado correctamente. Para esto usamos &lt;b&gt;&lt;i&gt;diff &amp;lt;archivo1&amp;gt; &amp;lt;archivo2&amp;gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;# diff /media/usb/archivo.iso ./archivo.iso&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Si diff no envía mensaje de diferencia el archivo es idéntico, en caso contrario son distintos.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/6022507581061774599/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/6022507581061774599' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/6022507581061774599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/6022507581061774599'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/06/linux-comparar-2-archivos-binarios.html' title='Linux: Comparar 2 archivos binarios'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-7267964006940572398</id><published>2018-06-25T11:26:00.002-05:00</published><updated>2018-07-09T10:56:28.279-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>Linux: Crear un USB booteable </title><content type='html'>En esta ocasión vamos a crear un USB booteable partiendo de una ISO, esto sobre nuestro querido GNU/Linux.&lt;br /&gt;
&lt;br /&gt;
1. Primero vamos a detectar el USB, para esto insertamos el USB en la PC y en consola ejecutamos&lt;br /&gt;
&lt;b&gt;# sudo fdisk -l&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Nos aparecerá la unidad añadida, en mi caso es una unidad de 8G y formato FAT32&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBfF-BAJ5m2nUiQLNHpHkX9qMtaz9JmcG8_-52TwOS8CKNJtlY9KcdTHj0I05Vearva4UPIA_wOT8BUNsKuOW84wBQfGzFUDiz3zLPzOA4eHqpMOqIuAqsnFoxvhPOrwKh6XftWxxRDnwj/s1600/detect-usb.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;38&quot; data-original-width=&quot;573&quot; height=&quot;42&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBfF-BAJ5m2nUiQLNHpHkX9qMtaz9JmcG8_-52TwOS8CKNJtlY9KcdTHj0I05Vearva4UPIA_wOT8BUNsKuOW84wBQfGzFUDiz3zLPzOA4eHqpMOqIuAqsnFoxvhPOrwKh6XftWxxRDnwj/s640/detect-usb.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Como observamos nuestro dispositivo es /dev/sdb1, ahora desmontamos el dispositivo para poder iniciar el copiado.&lt;br /&gt;
&lt;b&gt;# umount /dev/sdb1&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
2. Comenzamos a realizar la copia de la imagen ISO usando el comando dd, uno de los parámetros principales serán &lt;b&gt;if&lt;/b&gt; (archivo de entrada o ISO) y &lt;b&gt;of&lt;/b&gt; (archivo de salida o unidad USB)&lt;br /&gt;
&lt;b&gt;# sudo dd bs=4M if=TuArchivo.iso of=/dev/sdb&lt;/b&gt;&lt;br /&gt;
Si observan el valor de &lt;b&gt;of&lt;/b&gt; no esta completo /dev/sdb , le falta el valor 1 (/dev/sdb1) esto indica que estamos apuntando a toda la unidad y no a una partición de esta.&lt;br /&gt;
&lt;br /&gt;
Ahora debemos esperar un poco hasta que se termine el copiado del archivo.&lt;br /&gt;
&lt;br /&gt;
PD. Para crear un USB booteable con Windows 10 es necesario usar &lt;a href=&quot;https://github.com/slacka/WoeUSB&quot; target=&quot;_blank&quot;&gt;WoeUSB&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/7267964006940572398/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/7267964006940572398' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7267964006940572398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7267964006940572398'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2018/06/linux-crear-un-usb-booteable.html' title='Linux: Crear un USB booteable '/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBfF-BAJ5m2nUiQLNHpHkX9qMtaz9JmcG8_-52TwOS8CKNJtlY9KcdTHj0I05Vearva4UPIA_wOT8BUNsKuOW84wBQfGzFUDiz3zLPzOA4eHqpMOqIuAqsnFoxvhPOrwKh6XftWxxRDnwj/s72-c/detect-usb.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-8159509964684445910</id><published>2015-11-18T18:15:00.003-05:00</published><updated>2018-06-17T22:52:40.954-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="auditoría"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><title type='text'>Revisar IPs en el Log de Apache para detener ataques de denegación de servicio</title><content type='html'>Como parte del mantenimiento de servidores web es necesario hacer revisión del número de accesos de los usuarios a nuestro servidor web para detectar un ataque de &lt;a href=&quot;https://es.wikipedia.org/wiki/Denegacion_de_servicio&quot;&gt;denegación de servicio&lt;/a&gt;. Para esto veremos como revisar el Log de nuestro servidor web Apache. &lt;br /&gt;
&lt;br /&gt;
Para realizar la revisión buscaremos las IPs que tienen mas de 500 visitas a nuestro portal, para luego bloquearlas. Esto bajo el supuesto que las IPs que pasan las 500 visitas están realizando ataques a nuestra web. (Puede tomar otro valor mayor o menor según como Ud. considere)&lt;br /&gt;
&lt;br /&gt;
Para esto ejecutamos las siguientes líneas.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;source-code&quot;&gt;FILE=&lt;b&gt;/var/log/httpd/access_log&lt;/b&gt;;
 for ip in `sudo cat $FILE |cut -d &#39; &#39; -f 1 |sort |uniq`;
 do { COUNT=`sudo grep ^$ip $FILE |wc -l`;
 if [[ &quot;$COUNT&quot; -gt &quot;&lt;b&gt;500&lt;/b&gt;&quot; ]]; then echo &quot;$COUNT:   $ip&quot;;
 fi }; done
&lt;/pre&gt;
&lt;br /&gt;
La ejecución anterior nos devolverá las IPs con los números de visitas de estas IPs, podemos ayudarnos con una herramienta de Tracking Web &amp;nbsp;( como http://www.ip-tracker.org/) para ver cual es el origen de estas IPs y hacer un análisis de que acción tomar con estas IPs. Por ejemplo, si nuestro portal vende productos peruanos a los peruanos, y observamos en los Logs excesivas visitas de Rusia o USA, deberíamos bloquear esas IPs.&lt;br /&gt;
&lt;br /&gt;
Para bloquear las IPs podemos hacerlo actualizando nuestro portal web, específicamente el archivo .htaccess al cual añadiremos las siguientes líneas (donde IPx es la IP del visitante)&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;order allow,deny
deny from IP1&lt;ip1&gt;
deny from IP2&lt;ip2&gt;
...
deny from IP3&lt;ipn&gt;
allow from all 
&lt;/ipn&gt;&lt;/ip2&gt;&lt;/ip1&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/8159509964684445910/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/8159509964684445910' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8159509964684445910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/8159509964684445910'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2015/11/revisar-ips-en-el-log-de-apache-para.html' title='Revisar IPs en el Log de Apache para detener ataques de denegación de servicio'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-7692680365236860235</id><published>2014-10-27T00:08:00.000-05:00</published><updated>2018-06-17T22:51:34.543-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ibm"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="rational rose"/><title type='text'>Error instalando RSA en GNU/Linux (libstdc++.so.5) </title><content type='html'>Al instalar IBM RSA recientemente en GNU/Linux Ubuntu aparece el problema: &quot;libstdc++.so.6 and libstdc++.so.5 not found in LIBRARY PATH&quot; para solucionar el problema seguiremos los siguientes pasos:&lt;br /&gt;
&lt;br /&gt;
Primero instalamos la librería libstdc++.so.5 en ubuntu&lt;br /&gt;
&lt;b&gt;$sudo apt-get install libstdc++5 libstdc++5:i386&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Luego debemos de crear un enlace simbólico a una carpeta accesible al RSA:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.5 /usr/lib32/libstdc++.so.5&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Listo, ahora si podemos instalar RSA&lt;br /&gt;
&lt;b&gt;$sudo RSA_SETUP/InstallerImage_linux_gtk_x86/install&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/7692680365236860235/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/7692680365236860235' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7692680365236860235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/7692680365236860235'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2014/10/error-instalando-rsa-en-gnulinux.html' title='Error instalando RSA en GNU/Linux (libstdc++.so.5) '/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-2863635796775656869</id><published>2014-07-27T17:39:00.003-05:00</published><updated>2018-06-17T22:52:08.722-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="vbox"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Virtualbox: Backup and Restore (Disaster Recovery)</title><content type='html'>&lt;br /&gt;
&lt;b&gt;Copia de seguridad:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Para sacar una copia de seguridad de nuestra máquina virtual podemos hacer un CRON (Linux) o una TASK (Windows) que ejecute el siguiente script. &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#Detenemos la máquina virtual&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;VBoxManage controlvm &quot;MiVM&quot; savestate&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#Removemos un backup anterior&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;rm MiVM_backup*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#Creamos una copia, exportando la máquina virtual&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;VBoxManage export &quot;MiVM&quot; -o MiVM_backup.ovf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#Iniciamos la máquina virtual&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;VBoxManage startvm sdl &quot;MiVM&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#Copiamos el backup a un servidor ssh &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;scp MiVM_backup* user@ipserver:/carpeta/server&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Restaurar una copia de seguridad:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Para importar la copia que hicimos lo podemos hacer ejecutando: &lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;VBoxManage import MiVM.ovf --dry-run&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/2863635796775656869/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/2863635796775656869' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2863635796775656869'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2863635796775656869'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2014/07/virtualbox-backup-and-restore.html' title='Virtualbox: Backup and Restore (Disaster Recovery)'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-2923618902805801691</id><published>2013-11-19T20:18:00.000-05:00</published><updated>2013-11-19T20:18:57.519-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AR9285"/><category scheme="http://www.blogger.com/atom/ns#" term="Lenovo G585"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle linux"/><category scheme="http://www.blogger.com/atom/ns#" term="wireless"/><title type='text'>Oracle Linux 6 + Atheros AR9285 </title><content type='html'>Lamentablemente el kernel de Oracle Linux 6 no tiene soporte para Atheros AR9285 (wireless), tampoco es posible recompilar los modulos de los fuentes ya que mandan un error.&lt;br /&gt;
&lt;br /&gt;
Revisando en varios sitios encontre la recomendación de cambiar el kernel que carga por defecto.&lt;br /&gt;
&lt;br /&gt;
Si revisamos /etc/grub.conf encontraremos otros kernels disponibles en la distribución, el kernel que recomiendo es el de titulo &quot;Oracle Linux Server Red Hat Compatible Kernel&quot;, lo podemos mover al inicio de la lista y reiniciamos.&lt;br /&gt;
&lt;br /&gt;
Iniciamos el módulo utilizando:&lt;br /&gt;
&lt;br /&gt;
# modprobe ath9k&lt;br /&gt;
&lt;br /&gt;
Y revisamos si esta levantada la tarjeta&lt;br /&gt;
# ifconfig -a&lt;br /&gt;
&lt;br /&gt;
Si todavía tienes problemas recomiendo instalar kmod-compat-wireless de la siguiente manera:&lt;br /&gt;
&lt;br /&gt;
# yum install http://elrepo.reloumirrors.net/elrepo/el6/x86_64/RPMS/kmod-compat-wireless-3.3-2.n.el6.elrepo.x86_64.rpm&lt;br /&gt;
&lt;br /&gt;
y reiniciar.&lt;br /&gt;
&lt;br /&gt;
Con esto ya deberíamos tener levantada la wireless.</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/2923618902805801691/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/2923618902805801691' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2923618902805801691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2923618902805801691'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/11/oracle-linux-6-atheros-ar9285.html' title='Oracle Linux 6 + Atheros AR9285 '/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-5683613002645907441</id><published>2013-11-15T18:05:00.000-05:00</published><updated>2013-11-19T20:20:40.626-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle linux"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle virtual server"/><category scheme="http://www.blogger.com/atom/ns#" term="ovmm"/><category scheme="http://www.blogger.com/atom/ns#" term="ovs"/><title type='text'>Instalar OVMM sobre un Oracle Virtual Server</title><content type='html'>&lt;h2&gt;
&lt;b&gt;Requerimientos:&lt;/b&gt;&lt;/h2&gt;
Tener instalado un servidor OVM con las particiones:&lt;br /&gt;
/ (root) de 16GB&lt;br /&gt;
swap de 16GB&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2&gt;
Pasos:&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;u&gt;1. Crear el hostname de la aplicación&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# hostname&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
el valor mostrado lo añadimos a nuestro archivo /etc/hosts, ya que es necesario para la instalación de OVMM&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# echo &quot;127.0.0.1 &amp;nbsp; [HOSTNAME]&quot; &amp;gt;&amp;gt; /etc/hosts&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;u&gt;2. Añadir memoria RAM a OVS&amp;nbsp;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Modificar el archivo /boot/grub/grub.conf&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
y asignar el valor de&lt;b&gt; dom0_mem=2048M&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;3. Modificamos la versión de Oracle&amp;nbsp;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
OVMM necesita una versión de Oracle Linux superior a la de OVS, por tanto es necesario modificar la versión de linux e instalar algunos paquetes adicionales necesarios&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# echo &quot;RedHat Enterprise Linux Server release 5.5 (Tikanga)&quot; &amp;gt; /etc/redhat-release&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# cd /etc/yum.repos.d/&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# wget http://public-yum.oracle.com/public-yum-e15.repo&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# yum list&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# yum install xz-devel&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# yum install zip&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;4. Instalamos OVMM&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El proceso es sencillo, en mi caso lo hice desde un DVD.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# mkdir /mnt/dvd&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# mount /dev/dvd /mnt/dvd&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# cd /mnt/dvd&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# ./createOracle.sh&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;# ./runInstaller.sh&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Listo!!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/5683613002645907441/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/5683613002645907441' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/5683613002645907441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/5683613002645907441'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/11/instalar-ovmm-sobre-un-oracle-virtual.html' title='Instalar OVMM sobre un Oracle Virtual Server'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-2413464086405663022</id><published>2013-09-18T10:19:00.001-05:00</published><updated>2013-09-20T10:52:51.364-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android: Generar R.java manualmente</title><content type='html'>Me encontré recientemente con el error de&amp;nbsp; que no se genera el archivo &lt;b&gt;R.java&lt;/b&gt;. Revisando algunos portales logre llegar a la solución con este pequeño script. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;PATH_ANDROID=programs/android-studio/sdk/build-tools/android-4.2.2&lt;br /&gt;PATH_MANIFEST=workspaces/DefaultWorkspace/MyApp/AndroidManifest.xml&lt;br /&gt;PATH_RESOURCE=workspaces/DefaultWorkspace/MyApp/res&lt;br /&gt;PATH_LIBS=workspaces/DefaultWorkspace/MyApp/libs &lt;br /&gt;PATH_GENERATE=workspaces/DefaultWorkspace/MyApp/gen&lt;br /&gt;&lt;br /&gt;$PATH_ANDROID/aapt package --non-constant-id -f -m \&lt;br /&gt;-M $PATH_MANIFEST \&lt;br /&gt;-S $PATH_RESOURCE \&lt;br /&gt;-I $PATH_LIBS \&lt;br /&gt;-J $PATH_GENERATE --generate-dependencies&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
El script esta basado en rutas que crea Eclipse, si usas otro IDE puedes cambiar las rutas a las que se ajusten a tu IDE.&lt;br /&gt;
&lt;br /&gt;
Suerte. &lt;br /&gt;
&lt;br /&gt;
(Para hacerlo en Eclipse de forma visual, botón derecho sobre el proyecto -&amp;gt; Android Tools -&amp;gt; Fix project properties)</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/2413464086405663022/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/2413464086405663022' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2413464086405663022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2413464086405663022'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/09/android-generar-rjava-manualmente.html' title='Android: Generar R.java manualmente'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-3626744664980028422</id><published>2013-09-04T11:41:00.001-05:00</published><updated>2013-09-04T11:42:48.360-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android: Compartir en redes sociales especificas</title><content type='html'>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;En el post anterior pudimos compartir en redes sociales, en esta ocación vamos a compartir en redes especificas, como &quot;sólo en facebook&quot; o &quot;sólo por correo&quot;, para esto creamos en nuestro &lt;b&gt;Activity&lt;/b&gt; el siguiente método:&lt;br/&gt;&lt;br/&gt;&lt;b&gt;void shareSpecificSocialNetwork(String nameApp, String title,&lt;br/&gt;            String extraTitle, String filename) {&lt;br/&gt;        try {&lt;br/&gt;            List&lt;intent&gt; targetedShareIntents = new ArrayList&lt;intent&gt;();&lt;br/&gt;            Intent share = new Intent(android.content.Intent.ACTION_SEND);&lt;br/&gt;            share.setType(&quot;image/jpeg&quot;);&lt;br/&gt;            List&lt;resolveinfo&gt; resInfo = getPackageManager()&lt;br/&gt;                    .queryIntentActivities(share, 0);&lt;br/&gt;            if (!resInfo.isEmpty()) {&lt;br/&gt;                for (ResolveInfo info : resInfo) {&lt;br/&gt;                    Intent targetedShare = new Intent(&lt;br/&gt;                            android.content.Intent.ACTION_SEND);&lt;br/&gt;                    targetedShare.setType(&quot;image/jpeg&quot;); &lt;br/&gt;                    if (info.activityInfo.packageName.toLowerCase().contains(&lt;br/&gt;                            nameApp)&lt;br/&gt;                            || info.activityInfo.name.toLowerCase().contains(&lt;br/&gt;                                    nameApp)) {&lt;br/&gt;                        targetedShare.putExtra(Intent.EXTRA_SUBJECT,&lt;br/&gt;                                &quot;Sample Photo&quot;);&lt;br/&gt;                        targetedShare.putExtra(Intent.EXTRA_TEXT, extraTitle);&lt;br/&gt;                        targetedShare.putExtra(Intent.EXTRA_STREAM,&lt;br/&gt;                                Uri.fromFile(new File(filename)));&lt;br/&gt;                        targetedShare.setPackage(info.activityInfo.packageName);&lt;br/&gt;                        targetedShareIntents.add(targetedShare);&lt;br/&gt;                    }&lt;br/&gt;                }&lt;br/&gt;                Intent chooserIntent = Intent.createChooser(&lt;br/&gt;                        targetedShareIntents.remove(0), title);&lt;br/&gt;                chooserIntent.putExtra(Intent.EXTRA_INITIAL_INTENTS,&lt;br/&gt;                        targetedShareIntents.toArray(new Parcelable[] {}));&lt;br/&gt;                startActivity(chooserIntent);&lt;br/&gt;            }&lt;br/&gt;        } catch (Exception e) {&lt;br/&gt;            Log.v(&quot;PensandoEnBinario&quot;, e.getMessage());&lt;br/&gt;        }&lt;br/&gt;    }&lt;/resolveinfo&gt;&lt;/intent&gt;&lt;/intent&gt;&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Igual que el anterior blog deberíamos crear un botón que ejecute el evento de compartir en facebook:&lt;br/&gt;&lt;br/&gt;&lt;b&gt;Button btnFacebook = (Button) dialog&lt;br/&gt;                        .findViewById(R.id.dialogButtonFacebook);&lt;br/&gt;                btnFacebook.setOnClickListener(new OnClickListener() {&lt;br/&gt;                    @Override&lt;br/&gt;                    public void onClick(View v) {&lt;br/&gt;                        shareSpecificSocialNetwork(&quot;facebook&quot;,&quot;PensandoEnBinario&quot;,&lt;br/&gt;                                 &quot;Powered by PensandoEnBinario&quot;,inputFilename);&lt;br/&gt;                    }&lt;br/&gt;                });&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Listo podemos probar con: facebook, twitter, mail, instagram, etc.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=01b9dc1e-37df-891f-8a5e-c5fe1b0143cd&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/3626744664980028422/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/3626744664980028422' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3626744664980028422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/3626744664980028422'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/09/android-compartir-en-redes-sociales_4.html' title='Android: Compartir en redes sociales especificas'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-2632084879073498908</id><published>2013-09-04T11:32:00.001-05:00</published><updated>2013-09-04T11:36:09.723-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android: Compartir en redes sociales</title><content type='html'>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;En esta ocasión vamos a compartir texto e imágenes en las distintas redes sociales, para esto vamos a añadir a nuestro Activity el siguiente método&lt;br/&gt;&lt;br/&gt;&lt;b&gt;public void shareSocialNetwork(String title, String extraTitle,&lt;br/&gt;            String filename) {&lt;br/&gt;        Intent share = new Intent(Intent.ACTION_SEND);&lt;br/&gt;        share.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);&lt;br/&gt;        share.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(new File(filename)));&lt;br/&gt;        share.putExtra(Intent.EXTRA_TITLE, extraTitle);&lt;br/&gt;        share.putExtra(Intent.EXTRA_SUBJECT, extraTitle);&lt;br/&gt;        share.setType(&quot;image/png&quot;);&lt;br/&gt;        startActivity(Intent.createChooser(share, title));&lt;br/&gt;    }&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Este método es el encargado de mostrar el dialogo para la selección de redes sociales y los valores por defecto a compartir.&lt;br/&gt;&lt;br/&gt;Para ejecutarlo creamos un botón con id &lt;b&gt;btnShare&lt;/b&gt; al cual le asignaremos el evento:&lt;br/&gt;&lt;br/&gt;&lt;b&gt;ImageButton btnShare = (ImageButton) findViewById(R.id.btnShare);&lt;br/&gt;        btnShare.setOnClickListener(new OnClickListener() {&lt;br/&gt;            public void onClick(View v) {&lt;br/&gt;&lt;br/&gt;               shareSocialNetwork(&quot;&lt;/b&gt;&lt;b&gt;&lt;b&gt;PensandoEnBinario&lt;/b&gt;&quot;,&lt;br/&gt;             &quot;Powered by PensandoEnBinario&quot;,inputFilename); //inputFilename es una imagen (uri) para compartir&lt;br/&gt;}&lt;br/&gt;});&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Listo, ya tenemos un botón que permite compartir en las redes sociales.&lt;br/&gt;&lt;br/&gt;&lt;div class=&#39;zemanta-pixie&#39;&gt;&lt;img src=&#39;http://img.zemanta.com/pixy.gif?x-id=da86a2ee-5ef3-84fa-be78-d8da59de9048&#39; alt=&#39;&#39; class=&#39;zemanta-pixie-img&#39;/&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/2632084879073498908/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/2632084879073498908' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2632084879073498908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/2632084879073498908'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/09/android-compartir-en-redes-sociales.html' title='Android: Compartir en redes sociales'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-5125081289918910237</id><published>2013-09-04T11:01:00.001-05:00</published><updated>2018-06-17T22:52:54.859-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><title type='text'>Android FullScreen Activity</title><content type='html'>&lt;div xmlns=&#39;http://www.w3.org/1999/xhtml&#39;&gt;Muchas aplicaciones móviles requieren mostrarse en FullScreen, para esto tenemos dos posibilidades&lt;br/&gt;&lt;br/&gt;&lt;b&gt;&lt;u&gt;Fullscreen en toda la aplicación&lt;/u&gt;:&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Es necesario editar el archivo :&lt;br/&gt;&lt;i&gt;&lt;b&gt;AndroidManifest.xml&lt;/b&gt;&lt;/i&gt;&lt;br/&gt;Y en la sección &lt;b&gt;application&lt;/b&gt; se añade el parametro:&lt;br/&gt;&lt;b&gt;android:theme=&quot;@android:style/Theme.NoTitleBar.Fullscreen&quot; &lt;/b&gt;&lt;br/&gt;&lt;br/&gt;&lt;u&gt;&lt;b&gt;Fullscreen en pantallas especificas&lt;/b&gt;&lt;/u&gt;:&lt;br/&gt;&lt;br/&gt;Es necesario en el método: &lt;b&gt;onCreate&lt;/b&gt;&lt;br/&gt;añadir las siguientes líneas (después de super.onCreate(savedInstanceState)):&lt;br/&gt;&lt;br/&gt;&lt;b&gt; requestWindowFeature(Window.FEATURE_NO_TITLE);&lt;br/&gt; getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, &lt;br/&gt; WindowManager.LayoutParams.FLAG_FULLSCREEN);&lt;/b&gt;&lt;br/&gt;&lt;br/&gt;Listo!!&lt;br/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/5125081289918910237/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/5125081289918910237' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/5125081289918910237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/5125081289918910237'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/09/android-fullscreen-activity.html' title='Android FullScreen Activity'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-1619727218226215655</id><published>2013-08-26T17:47:00.000-05:00</published><updated>2013-08-26T18:01:08.845-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="usb"/><title type='text'>Linux + Android SDK + Célular Android (USB Drivers)</title><content type='html'>El presente es un tutorial para conectar Android SDK con los célulares Android de distintos fabricantes.&lt;br /&gt;
&lt;br /&gt;
Lo primero que tenemos que hacer es detectar es el fabricante de nuestro célular. Para eso conectamos por USB el célular a la PC y ejecutamos&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;#lsusb&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Tendremos una lista con los distintos puertos USB y el fabricante del dispositivo conectado.&lt;br /&gt;
&lt;br /&gt;
El fabricante de mi dispositivo (célular) es el siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bus 005 Device 006: ID 0fce:6193 Sony Ericsson Mobile Communications AB &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Si todavía no encuentran el suyo pueden probar ejecutando &quot;lsusb&quot; con y sin conectar por USB el célular. El que se añadede en la lista será el de su célular.&lt;br /&gt;
&lt;br /&gt;
Uno de los parametros de la línea extraida es el Id del fabricante, a continuación lo marcamos de rojo:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Bus 005 Device 006: ID &lt;span style=&quot;color: red;&quot;&gt;0fce&lt;/span&gt;:6193 Sony Ericsson Mobile Communications AB&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Luego de que tenemos detectado el Id del fabricante tendremos que editar o crear el archivo (como usuario root):&lt;br /&gt;
&lt;b&gt;#/etc/udev/rules.d/51-android.rules&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
En este archivo añadimos la siguiente línea&lt;br /&gt;
&lt;b&gt;SUBSYSTEM==&quot;usb&quot;, ATTR{idVendor}==&quot;&lt;span style=&quot;color: red;&quot;&gt;0fce&lt;/span&gt;&quot;, MODE=&quot;0666&quot;, GROUP=&quot;plugdev&quot;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Noten que el Id del fabricante esta marcado de rojo. Este es el valor de nuestro fabricante de dispositivo (Célular)&lt;br /&gt;
&lt;br /&gt;
Nos queda darle permisos al archivo:&lt;br /&gt;
&lt;b&gt;#chmod a+r /etc/udev/rules.d/51-android.rules&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Desconectamos y conectamos el USB de conexión al célular y probamos con la herramienta del SDK Android (sdk/platform-tools)&lt;br /&gt;
&lt;b&gt;#adb devices&lt;/b&gt;&lt;br /&gt;
List of devices attached &lt;br /&gt;
BX903H993B&amp;nbsp;&amp;nbsp;&amp;nbsp; device&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Listo hemos logrado la conexión de nuestro Android SDK con nuestro dispositivo android y podemos comenzar a desarrollar. </content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/1619727218226215655/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/1619727218226215655' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/1619727218226215655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/1619727218226215655'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/08/linux-android-sdk-celular-android.html' title='Linux + Android SDK + Célular Android (USB Drivers)'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-88122224453752029.post-157200945645718915</id><published>2013-07-08T17:43:00.002-05:00</published><updated>2013-07-08T17:43:53.696-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="web"/><category scheme="http://www.blogger.com/atom/ns#" term="zend"/><title type='text'>Apache 2.4 añadir VirtualHost para Zend Framework 2</title><content type='html'>La versión de ZF2 trae por defecto una configuración para levantar un VirtualHost en Apache. Pero esta configuración no funciona correctamente en Apache 2.4.&lt;br /&gt;
&lt;br /&gt;
A continuación adjunto la configuración correcta para Apache 2.4, espero les sea útil.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;&amp;nbsp; ServerName &quot;local.mipagina.com&quot;&lt;br /&gt;&amp;nbsp; DocumentRoot &quot;/home/webmaster/local.mipagina.com/public&quot;&lt;br /&gt;&amp;nbsp; SetEnv APPLICATION_ENV &quot;development&quot;&lt;br /&gt;&amp;nbsp; ErrorLog &quot;/var/log/httpd/local.mipagina.com.err&quot;&lt;br /&gt;&amp;nbsp; &amp;lt;Directory &quot;/home/webmaster/local.mipagina.com/public&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DirectoryIndex index.php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Options Indexes FollowSymLinks&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AllowOverride All&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow from All&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; require all granted&lt;br /&gt;&amp;nbsp; &amp;lt;/Directory&amp;gt;&lt;br /&gt;&amp;lt;/VirtualHost&amp;gt;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;br /&gt;
&lt;virtualhost&gt;&lt;directory home=&quot;&quot; local.mipagina.com=&quot;&quot; public=&quot;&quot; webmaster=&quot;&quot;&gt;Probado en Slackware 14&lt;/directory&gt;
&lt;/virtualhost&gt; </content><link rel='replies' type='application/atom+xml' href='http://pensandoenbinario.blogspot.com/feeds/157200945645718915/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/88122224453752029/157200945645718915' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/157200945645718915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/88122224453752029/posts/default/157200945645718915'/><link rel='alternate' type='text/html' href='http://pensandoenbinario.blogspot.com/2013/07/apache-24-anadir-virtualhost-para-zend.html' title='Apache 2.4 añadir VirtualHost para Zend Framework 2'/><author><name>Juan Carbajal</name><uri>http://www.blogger.com/profile/17046412995422017778</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgu7hAMtJaWkxgRzfGT8rgejYnGABqe2ZSRluEdubaTTnETRlMpCGjsxjCeNTj096x5u_kP-x8xNNcxpTsmUgy7Bmg9btYpTh8c17e33yG-H2cd74-WiQkTGnU_9zownw/s220/2020-05-01.png'/></author><thr:total>0</thr:total></entry></feed>