<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Devops on jpcercal.com</title><link>https://jpcercal.com/en/categories/devops/</link><description>Recent content in Devops on jpcercal.com</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 15 Aug 2014 10:48:28 +0000</lastBuildDate><atom:link href="https://jpcercal.com/en/categories/devops/index.xml" rel="self" type="application/rss+xml"/><item><title>Accessing Amazon RDS Instances from your Desktop</title><link>https://jpcercal.com/en/accessing-amazon-rds-instances-from-your-desktop/</link><pubDate>Fri, 15 Aug 2014 10:48:28 +0000</pubDate><guid>https://jpcercal.com/en/accessing-amazon-rds-instances-from-your-desktop/</guid><description>&lt;p&gt;After a few minutes of research, I found an interesting solution for connecting to Amazon RDS through a Desktop client, well, the magic formula is an SSH connection that forwards packets to the local machine, allowing a remote connection this way.&lt;/p&gt;&#10;&lt;p&gt;First you need to add your Amazon EC2 service connection key. Do this by running the following command:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ ssh-add &amp;lt;your-key-filename&amp;gt;.pem&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;And to forward the packets, run the following command:&lt;/p&gt;</description></item><item><title>MySQLDump - MySQL database backup</title><link>https://jpcercal.com/en/mysqldump-mysql-database-backup/</link><pubDate>Mon, 21 Oct 2013 12:10:18 +0000</pubDate><guid>https://jpcercal.com/en/mysqldump-mysql-database-backup/</guid><description>&lt;p&gt;Using the &lt;strong&gt;mysqldump&lt;/strong&gt; tool, you can back up a local database and restore it to a&#10;remote database with the same characteristics, all using a simple command. Next, you&amp;rsquo;ll see&#10;practical examples of using the &lt;strong&gt;mysqldump&lt;/strong&gt; tool to export and import&#10;&lt;em&gt;MySQL&lt;/em&gt; databases.&lt;/p&gt;&#10;&lt;p&gt;Below is an export example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ mysqldump -u &lt;span class="o"&gt;[&lt;/span&gt;USERNAME&lt;span class="o"&gt;]&lt;/span&gt; -p&lt;span class="o"&gt;[&lt;/span&gt;PASSWORD&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;DATABASE-NAME&lt;span class="o"&gt;]&lt;/span&gt; &amp;gt; dumpfilename.sql&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;And to import the database:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ mysql -u &lt;span class="o"&gt;[&lt;/span&gt;USERNAME&lt;span class="o"&gt;]&lt;/span&gt; -p&lt;span class="o"&gt;[&lt;/span&gt;PASSWORD&lt;span class="o"&gt;]&lt;/span&gt; &lt;span class="o"&gt;[&lt;/span&gt;DATABASE-NAME&lt;span class="o"&gt;]&lt;/span&gt; &amp;lt; dumpfilename.sql&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Based on the syntax shown above, let&amp;rsquo;s say there is a database called &amp;ldquo;exemplo&amp;rdquo;, and we want to export it.&#10;To do this, we would run the following command:&lt;/p&gt;</description></item><item><title>Getting to Know and Installing the SAMBA server on LINUX</title><link>https://jpcercal.com/en/getting-to-know-and-installing-the-samba-server-on-linux/</link><pubDate>Thu, 22 Nov 2012 02:36:32 +0000</pubDate><guid>https://jpcercal.com/en/getting-to-know-and-installing-the-samba-server-on-linux/</guid><description>&lt;p&gt;&lt;strong&gt;WHAT IS IT?&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;SAMBA is a server and a set of tools that lets Linux and Windows machines communicate with each other,&#10;sharing services (files, directories, printing) through the SMB (Server Message Block)/CIFS&#10;(Common Internet File System) protocol, equivalent to the NetBEUI implementation on Windows.&lt;/p&gt;&#10;&lt;p&gt;It can also be used as a primary domain controller (PDC), serving as an authentication server&#10;for Windows clients.&lt;/p&gt;&#10;&lt;p&gt;In most cases, access control and directory display in samba are more detailed and customizable than in&#10;Microsoft&amp;rsquo;s own system.&lt;/p&gt;</description></item><item><title>Downloading and Installing the libxml library</title><link>https://jpcercal.com/en/downloading-and-installing-the-libxml-library/</link><pubDate>Thu, 22 Dec 2011 19:13:10 +0000</pubDate><guid>https://jpcercal.com/en/downloading-and-installing-the-libxml-library/</guid><description>&lt;p&gt;XML is a standard for building structured documents based on markup containing the data.&lt;/p&gt;&#10;&lt;p&gt;The &lt;strong&gt;libxml2&lt;/strong&gt; library was written in pure &lt;strong&gt;C&lt;/strong&gt; to allow easy reuse across various platforms,&#10;including embedded systems.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Let&amp;rsquo;s get our hands dirty!&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Visit the website and download the latest stable version:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://www.xmlsoft.org/downloads.html"&gt;http://www.xmlsoft.org/downloads.html&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Open the terminal and enter the directory where the library was saved:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;div class="chroma"&gt;&#10;&lt;table class="lntable"&gt;&lt;tr&gt;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code&gt;&lt;span class="lnt"&gt;1&#10;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&#10;&lt;td class="lntd"&gt;&#10;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;$ &lt;span class="nb"&gt;cd&lt;/span&gt; ./Download/&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Extract the file into the &lt;em&gt;&amp;quot;/opt&amp;quot;&lt;/em&gt; directory:&lt;/p&gt;</description></item><item><title>Downloading and Installing the Zlib library</title><link>https://jpcercal.com/en/downloading-and-installing-the-zlib-library/</link><pubDate>Thu, 22 Dec 2011 17:43:30 +0000</pubDate><guid>https://jpcercal.com/en/downloading-and-installing-the-zlib-library/</guid><description>&lt;p&gt;The &lt;strong&gt;zlib&lt;/strong&gt; compression library is intended for the &lt;strong&gt;compression&lt;/strong&gt; and &lt;strong&gt;decompression&lt;/strong&gt; of &lt;em&gt;files&lt;/em&gt;, including&#10;&lt;em&gt;integrity checks&lt;/em&gt; of &lt;em&gt;decompressed&lt;/em&gt; data. This library can also optionally read and write&#10;&lt;strong&gt;gzip streams&lt;/strong&gt; in &lt;em&gt;memory&lt;/em&gt;.&lt;/p&gt;&#10;&lt;p&gt;The &lt;strong&gt;zlib&lt;/strong&gt; format was primarily designed to be compact and fast, for use in memory and communication&#10;channels.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;So, let&amp;rsquo;s get our hands dirty!&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;Visit the official website and download the latest stable version:&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="http://zlib.net/"&gt;http://zlib.net/&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Open the terminal and enter the directory where the library was saved:&lt;/p&gt;</description></item><item><title>Installing the Apache web server on Linux</title><link>https://jpcercal.com/en/installing-the-apache-web-server-on-linux/</link><pubDate>Thu, 22 Dec 2011 09:38:01 +0000</pubDate><guid>https://jpcercal.com/en/installing-the-apache-web-server-on-linux/</guid><description>&lt;p&gt;Well, today I&amp;rsquo;ll show you how to install the &lt;strong&gt;Apache 2&lt;/strong&gt; web server. So, let&amp;rsquo;s go!&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; When I performed the installation, the latest version of the package was &amp;ldquo;2.2.19″. So the tutorial will cover that&#10;version. However, you&amp;rsquo;ll download the most recent version, so your file will probably have a different&#10;name.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="i-apache-2.2.jpg" alt="Installing the Apache web server on Linux" loading="lazy" decoding="async" title="Apache 2.2 Web Server"&gt;&#10;&lt;/p&gt;&#10;&lt;p&gt;First download the latest package containing the &lt;strong&gt;Apache&lt;/strong&gt; source code, in &lt;em&gt;&amp;ldquo;tar.gz&amp;rdquo;&lt;/em&gt; format, from:&lt;/p&gt;</description></item><item><title>What is XAMPP and what is it for?</title><link>https://jpcercal.com/en/what-is-xampp-and-what-is-it-for/</link><pubDate>Wed, 30 Jun 2010 21:21:18 +0000</pubDate><guid>https://jpcercal.com/en/what-is-xampp-and-what-is-it-for/</guid><description>&lt;p&gt;Hello, let me introduce you to my favorite package (Apache + PHP + MySQL). This is how I started; today I install&#10;them separately.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;What is XAMPP?&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;XAMPP is a package that includes the main open-source servers available, including FTP,&#10;the MySQL database and Apache with support for the PHP and Perl languages. With it you can run well-known CMSs such&#10;as WordPress and Drupal on the local machine (on your own computer), speeding up development. Currently&#10;you can use XAMPP on four operating systems, which are:&lt;/p&gt;</description></item></channel></rss>