<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux on Abel World</title><link>https://www.abelworld.com/category/linux/</link><description>Recent content in Linux on Abel World</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 30 Jan 2021 16:56:05 +0200</lastBuildDate><atom:link href="https://www.abelworld.com/category/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Docker master slave MySQL replication</title><link>https://www.abelworld.com/docker-master-slave-mysql-replication/</link><pubDate>Tue, 11 Dec 2018 09:45:37 +0200</pubDate><guid>https://www.abelworld.com/docker-master-slave-mysql-replication/</guid><description>&lt;p&gt;Docker master slave mysql replication can be a bit intimidating, but the basics are actually quite easy, just a bit of a laborious work. As of this example I will use docker swarm. for that I assume you have docker already installed fresh on the machine. My example uses CentOS 7.6, but should be similar on other systems like ubuntu. Enjoy the post!&lt;/p&gt;&#10;&lt;h1 id="get-the-mysql-image"&gt;&lt;span id="post-1721-_c0hchzu9jwva"&gt;&lt;/span&gt;Get the mysql image:&lt;/h1&gt;&#10;&lt;pre&gt;&lt;code&gt;docker pull percona:5.7&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;h1&gt;&lt;span id="post-1721-_cv2m9bw5xva6"&gt;&lt;/span&gt;Create a few dirs to hold the structure:&lt;br&gt;&#10;&lt;img src="https://www.abelworld.com/wp-content/uploads/2018/12/word-image-4.png" class="wp-image-1727" /&gt;&lt;/h1&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Two separate folders for master and slave.&lt;/li&gt;&#10;&lt;li&gt;The cnf directory has the configuration files for mysql&lt;/li&gt;&#10;&lt;li&gt;The data directory has the volume of mysql structural data.&lt;/li&gt;&#10;&lt;li&gt;The folders called mysql, performance schema and sys should NOT be created. those are done by MySQL server on start.&lt;/li&gt;&#10;&lt;/ol&gt;</description></item><item><title>Restart or reboot production Linux server in a secure way</title><link>https://www.abelworld.com/restart-production-server-secure-way/</link><pubDate>Fri, 15 Jun 2018 09:15:00 +0200</pubDate><guid>https://www.abelworld.com/restart-production-server-secure-way/</guid><description>&lt;h1 id="restart-process"&gt;Restart Process&lt;/h1&gt;&#10;&lt;p&gt;The following procedure can help you backup the state of a Linux server running software, etc. The idea is to save all the&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;img src="https://www.abelworld.com/wp-content/uploads/2018/06/reboot-neststat-command.png" class="wp-image-1635" aria-describedby="caption-attachment-1635" width="364" height="107" alt="Restart netstat command" /&gt;&#10;&lt;figcaption aria-hidden="true"&gt;Restart netstat command&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;information that will allow you to go back to the same state after a restart. This can be helpful if you are a beginner or experienced sysadmin and need to restart a production server fast. At the same time make sure you can go back to initial state if stuff does not work automatically.&lt;/p&gt;&#10;&lt;h2 id="backup-your-servers-files-and-services"&gt;Backup your servers files and services&lt;/h2&gt;</description></item><item><title>MySQL slave master switch</title><link>https://www.abelworld.com/mysql-slave-master-switch/</link><pubDate>Sat, 01 Jul 2017 17:15:11 +0200</pubDate><guid>https://www.abelworld.com/mysql-slave-master-switch/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;img src="https://www.abelworld.com/wp-content/uploads/2017/07/mysql-replication-principle.png" class="size-full wp-image-1509" aria-describedby="caption-attachment-1509" width="599" height="388" alt="MySQL Slave Master replication" /&gt;&#10;&lt;figcaption aria-hidden="true"&gt;MySQL Slave Master replication&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;MySQL slave to master switch is an operation required in a few situations. Sometimes master dies and you need to make DB available as soon as possible. In this case if the DB is reasonably big then restoring from backup might take to long. Also keep present that slave has a current copy of data, you might have new data after the last backup that you can not afford to lose. Some other common situations where you might require such a procedure is when you want to upgrade your MySQL servers. For instance from Percona 5.6 to Percona 5.7. Also this will help to avoid long downtime.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Notice:&lt;/strong&gt; if you have classic master slave replication some downtime is unavoidable, there are different setups that can be done to achieve having a cluster that does not stop working if you take the master offline, but this is NOT the objective of this post.&lt;/p&gt;&#10;&lt;p&gt;this post is some what related to another recent post; &lt;a href="https://www.abelworld.com/mysql-db-server-change-distro-upgrade/"&gt;Mysql DB server OS change / replacement or distro upgrade; study&lt;/a&gt; case&lt;/p&gt;&#10;&lt;p&gt;Ok, let’s stop the chitchat and let’s get some stuff done.&lt;/p&gt;</description></item><item><title>Mysql DB server OS change / replacement or distro upgrade; study case</title><link>https://www.abelworld.com/mysql-db-server-change-distro-upgrade/</link><pubDate>Tue, 27 Jun 2017 09:35:17 +0200</pubDate><guid>https://www.abelworld.com/mysql-db-server-change-distro-upgrade/</guid><description>&lt;h1 id="mysql-db-server-os-change"&gt;Mysql DB server OS change:&lt;/h1&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;img src="https://www.abelworld.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-27-at-3.07.39-PM.png" class="wp-image-1477 size-full" aria-describedby="caption-attachment-1477" width="170" height="109" alt="MySQL Oracle" /&gt;&#10;&lt;figcaption aria-hidden="true"&gt;MySQL Oracle&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Mysql DB server OS change might be required in different situations, but for those who do not know what I am talking about, let me start by explaining what this is and why you might need it in some situations. Just to serve as an example; let say you are renting a few Virtial Machine Server from X IDC or cloud provider. This cloud provider gave you an a distribution that in 2013 had 4 years of support and everything was cool, you installed you systems. Now is 2017 and you need an upgrade. Let me give more details.&lt;/p&gt;&#10;&lt;p&gt;You are running a web environment with load balancers, web-server, and 2- Mysql DB servers Master and slave replication, etc. Your application needs High availability and you can not afford to have a lot of downtime. Your system is running fine, but last month you got a notification that the EOL (End of life) of your distribution is in 2 months. You also you noticed that your Percona MySQL DB 5.5 has a few limitations that you want to resolve by upgrading toPercona MySQL DB 5.6 or 5.7. So this is the perfect opportunity to upgrade the system and not remain with a legacy OS that will lose support soon. So now you know all you need to know and you are decided to go with progress and make a difference with the change.&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;img src="https://www.abelworld.com/wp-content/uploads/2017/06/Screen-Shot-2017-06-27-at-3.07.48-PM.png" class="wp-image-1476 size-full" aria-describedby="caption-attachment-1476" width="158" height="60" alt="MySQL: MariaDB community logo" /&gt;&#10;&lt;figcaption aria-hidden="true"&gt;MySQL: MariaDB community logo&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;You contact your provider about upgrading your system. They reply with a link (URL) to their FAQ saying that they do not support system upgrade. Then you start reading about it and notice that many virtualization services providers do not really support the upgrade. So you can not just du apt-get dist-upgrade. Not that you can not try, but you will likely not succeed, own experience here long ago when I was young and stupid. Maybe your provider supports it, but you might have grown fond of some other distribution over time and you want to change let say from Debian to Redhat or vise-versa, change of company policy, etc. So reason for wanting to change are many.&lt;/p&gt;</description></item><item><title>Hosting network services services and websites basics</title><link>https://www.abelworld.com/cost-comparison-website-hosting/</link><pubDate>Thu, 12 Nov 2015 19:47:53 +0200</pubDate><guid>https://www.abelworld.com/cost-comparison-website-hosting/</guid><description>&lt;p&gt;&lt;a href="https://www.abelworld.com/get-a-quote/"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2015/11/1hosting-300x205.jpg" class="alignright wp-image-1321 size-medium" srcset="https://www.abelworld.com/wp-content/uploads/2015/11/1hosting-300x205.jpg 300w, https://www.abelworld.com/wp-content/uploads/2015/11/1hosting-1024x701.jpg 1024w, https://www.abelworld.com/wp-content/uploads/2015/11/1hosting-600x411.jpg 600w, https://www.abelworld.com/wp-content/uploads/2015/11/1hosting-438x300.jpg 438w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="205" alt="hosting" /&gt;&lt;/a&gt;Hosting network services and websites or blogs like this one is now a days a regular task of anyone who want to conduct a successful business. This is non written a requirement for many other activities as well. If you are not an ICT professional and you have a website or need to deploy some services in your business and you wander where to store them and how. Then this article is for you.&lt;/p&gt;&#10;&lt;p&gt;More people than you might think want to get a server at their home or office and host their own websites and services locally. I am not 100% against this type of solutions, but the truth is the all the odds now a days are against it unless you have a particularly special need to have it locally. Let see what are the drawbacks.&lt;/p&gt;</description></item><item><title>Fedora Linux review &amp; personal experience.</title><link>https://www.abelworld.com/fedora-linux-review-personal-experience/</link><pubDate>Tue, 10 Mar 2015 09:55:06 +0200</pubDate><guid>https://www.abelworld.com/fedora-linux-review-personal-experience/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400.png" class="size-full wp-image-1209" aria-describedby="caption-attachment-1209" srcset="https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400.png 400w, https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400-150x150.png 150w, https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400-300x300.png 300w, https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400-100x100.png 100w, https://www.abelworld.com/wp-content/uploads/2015/03/infinity-logo_400x400-200x200.png 200w" sizes="(max-width: 400px) 100vw, 400px" width="400" height="400" alt="Fedora logo" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Fedora Logo&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Good day, today I am going to talk about Fedora Linux, I can not say I am a great Fedora expert. I have been following the project for a while. but I have decided to install the workstation just a few days ago. My main experience is with Debian based distros, Mint, Ubuntu. I kind of know the system, I have been working with it for around 8 years as developer, network administrator, consultant and enthusiastic. I love Linux, but redhat was never an option for me, and it’s not an option at least for server. I am going to talk about Fedora, the workstation. Fedora is a Red hat based system, well actually fedora is the testing red hat, and in any case they are the same family. I my case this is what happened.&lt;/p&gt;&#10;&lt;p&gt;I have a laptop ASUS X750J; it’s a very good laptop for my personal needs. It has a core i7, 6Gb or RAM, 750 HDD. The thing is, even with my experience I never managed to configure properly any of my favorite Operating Systems; as I said Debian, Mint or Ubuntu. So I started looking around for options, I decided to try Fedora 21. The experience is amazing, everything worked from the start.I did not even had to modify a single configuration.&lt;/p&gt;</description></item><item><title>Web hosting administration software free alternative.</title><link>https://www.abelworld.com/web-hosting-administration-software-free-alternative/</link><pubDate>Thu, 29 Jan 2015 10:35:17 +0200</pubDate><guid>https://www.abelworld.com/web-hosting-administration-software-free-alternative/</guid><description>&lt;p&gt;Hi, have engaged myself on a quest to look for an administration panel for my customers hosting. I want a good one to have it as an alternative to&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2015/01/webhosting.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2015/01/webhosting.jpg" class="size-full wp-image-1183" aria-describedby="caption-attachment-1183" srcset="https://www.abelworld.com/wp-content/uploads/2015/01/webhosting.jpg 900w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-300x100.jpg 300w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-600x200.jpg 600w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-100x33.jpg 100w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-150x50.jpg 150w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-200x67.jpg 200w, https://www.abelworld.com/wp-content/uploads/2015/01/webhosting-450x150.jpg 450w" sizes="(max-width: 900px) 100vw, 900px" width="900" height="300" alt="Web Hosting Evaluation" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Web Hosting&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;cPanel, the truth is that every day I like the cPanel project less and the free alternatives are getting better. So unless you are committed for some MAJOR reason to cPanel I would not recommend it any more. Use any other GLP like thing from out there, if the problem is support get better support from one of the communities.&lt;/p&gt;</description></item><item><title>LDAP linux configuration and install from source</title><link>https://www.abelworld.com/ldap-linux-configuration-install-source/</link><pubDate>Sun, 11 Jan 2015 21:37:35 +0200</pubDate><guid>https://www.abelworld.com/ldap-linux-configuration-install-source/</guid><description>&lt;p&gt;Hi, if you want to configure LDAP (OpenLDAP) properly and you have never done it, I advise you to read a lot of&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2015/01/config_dit.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2015/01/config_dit.png" class="wp-image-1143 size-full" aria-describedby="caption-attachment-1143" srcset="https://www.abelworld.com/wp-content/uploads/2015/01/config_dit.png 576w, https://www.abelworld.com/wp-content/uploads/2015/01/config_dit-300x152.png 300w, https://www.abelworld.com/wp-content/uploads/2015/01/config_dit-100x51.png 100w, https://www.abelworld.com/wp-content/uploads/2015/01/config_dit-150x76.png 150w, https://www.abelworld.com/wp-content/uploads/2015/01/config_dit-200x101.png 200w, https://www.abelworld.com/wp-content/uploads/2015/01/config_dit-450x227.png 450w" sizes="(max-width: 576px) 100vw, 576px" width="576" height="291" alt="LDAP tree" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;LDAP tree&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;nonsense out there that people write on blogs like mine, before actually trying. After reading a lot of that the you can try, and let me tell you a secret, the best documentation is the one that they provide on &lt;a href="http://www.openldap.org" target="_blank" title="Open-LDAP Official website"&gt;their own website&lt;/a&gt;, just that sometimes that one is a bit complex to understand.&lt;/p&gt;&#10;&lt;p&gt;Well fist the fist, my LDAP version 2.4 never worked installing from repositories on Debian 7. How unable am I or how silly… I don’t know. Bot it did not work as it use to do with earlier versions. I was unable to set the user, password, domain and those initial things using the installer package.deb and dpkg-reconfigure. So I decided immediately that if I am losing the power of having a repository because of this nonsense, then I do not need them any more. I am going to compile the package myself from source. I tried so… but I struggled with the ./configure options. I could not fins the proper ones. and &lt;a href="http://www.openldap.org/lists/openldap-technical/201407/msg00009.html" target="_blank" title="LDAP error report."&gt;this&lt;/a&gt; error report thread gave me the clue to be able to follow the &lt;a href="http://www.openldap.org/doc/admin24/slapdconf2.html" target="_blank" title="LDAP config manual"&gt;LDAP manual&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;After reading this manual I ended up with a file that contains this:&lt;/p&gt;</description></item><item><title>Network segmentation for business</title><link>https://www.abelworld.com/network-segmentation-business/</link><pubDate>Thu, 08 Jan 2015 19:55:09 +0200</pubDate><guid>https://www.abelworld.com/network-segmentation-business/</guid><description>&lt;p&gt;Network segmentation was created to help dividing network from each other. Wikipedia defines it as: &lt;em&gt;“Network&lt;/em&gt;&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2015/01/images.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2015/01/images.jpg" class="size-full wp-image-1029" aria-describedby="caption-attachment-1029" srcset="https://www.abelworld.com/wp-content/uploads/2015/01/images.jpg 259w, https://www.abelworld.com/wp-content/uploads/2015/01/images-100x75.jpg 100w, https://www.abelworld.com/wp-content/uploads/2015/01/images-150x112.jpg 150w, https://www.abelworld.com/wp-content/uploads/2015/01/images-200x150.jpg 200w" sizes="(max-width: 259px) 100vw, 259px" width="259" height="194" alt="Network Segmentetion" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Network Segmentetion&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;segmentation in computer networking is the act or profession of splitting a computer network into sub-networks, each being a network segment or network layer. Advantages of such splitting are primarily for boosting performance and improving security.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;The applications of this are infinite in now a days business world. Let me just explain a little about my customer particular case.&lt;/p&gt;&#10;&lt;p&gt;I decided to write this Network segmentation post due to our last client. He is a hotel owner. The hotel has a lot of rooms. They had a network of a few staff computers plus all the customers computers. The customers access the network using WiFi. Just to serve as an example the customers were on the same network as the accounting computer. That is not a good idea. For instance the day that I was deploying the server at the hotel. I had to cut the network for a few minutes. A customer came to complain and guess what. He was an IT guy. He came saying to me things like the IP address from today is different from the one I had yesterday. I did an NSLOOKUP and it says bla,bla,bla. This guy turned to be a really nice guy, but not everyone has a good heart and intentions.&lt;/p&gt;&#10;&lt;p&gt;So because of an incident the owner called me to find a solution. He wanted a few more things. &lt;a href="https://www.abelworld.com/wp-content/uploads/2015/01/Hotel-Network-Segmentation-1.pptx" title="Network Segmentation"&gt;Here&lt;/a&gt; is part of a presentation we did for him.&lt;/p&gt;</description></item><item><title>GLPI ticket system &amp; Inventory solution a very viable solution</title><link>https://www.abelworld.com/glpi-ticket-system-inventory-solution/</link><pubDate>Tue, 06 Jan 2015 16:00:10 +0200</pubDate><guid>https://www.abelworld.com/glpi-ticket-system-inventory-solution/</guid><description>&lt;blockquote&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/11/team.gif"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/11/team-300x210.gif" class="wp-image-973 size-medium" aria-describedby="caption-attachment-973" srcset="https://www.abelworld.com/wp-content/uploads/2014/11/team-300x210.gif 300w, https://www.abelworld.com/wp-content/uploads/2014/11/team-100x70.gif 100w, https://www.abelworld.com/wp-content/uploads/2014/11/team-150x105.gif 150w, https://www.abelworld.com/wp-content/uploads/2014/11/team-200x140.gif 200w, https://www.abelworld.com/wp-content/uploads/2014/11/team-450x315.gif 450w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="210" alt="GLPI TEAM solution" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Team work organization solutions with GLPI&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;span id="result_box" lang="en" tabindex="-1"&gt;&lt;span class="hps"&gt;&lt;em&gt;&lt;strong&gt;Have a problem to organize team work? have problem to document and follow performance? You do not have satisfactory the statistics about the work done! Have you ever had problems to find simple reports like who is the best worker of the month? Have problems planning resources for the department? Do not know how many computers and other equipment are in the network?&lt;/strong&gt;&lt;/em&gt;&lt;br&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;You can use GLPI to solve all those problems. I have a few years of experience maintaining these type of servers for different environment and customer needs. lso I decided to write this post and share some of the things that you can get with GLPI. The main features of GLPI are:&lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Inventory of computers, peripherals, network printers and associated components through an interface with &lt;a href="http://en.wikipedia.org/wiki/OCS_Inventory" target="_blank" title="OCS Inventory"&gt;OCS Inventory&lt;/a&gt; or FusionInventory.&lt;/li&gt;&#10;&lt;li&gt;Management of issues on many environments through creation of tickets, management of tickets, assignment, tickets scheduling, etc.&lt;/li&gt;&#10;&lt;li&gt;Licenses management (&lt;a href="http://en.wikipedia.org/wiki/ITIL" target="_blank" title="ITIL"&gt;ITIL&lt;/a&gt; compliant)&lt;/li&gt;&#10;&lt;li&gt;Assignment of equipment by geographical area to users and groups&lt;/li&gt;&#10;&lt;li&gt;Management of business and financial information (purchase, guarantee and extension, damping)&lt;/li&gt;&#10;&lt;li&gt;Equipment status management&lt;/li&gt;&#10;&lt;li&gt;Management of applications for assistance of all types of equipment inventory&lt;/li&gt;&#10;&lt;li&gt;Interface to allow the user to file a support ticket&lt;/li&gt;&#10;&lt;li&gt;Business management, contracts, documents related to inventory items&lt;/li&gt;&#10;&lt;li&gt;Equipment booking&lt;/li&gt;&#10;&lt;li&gt;Management of a Frequently-Asked Questions (FAQ).&lt;/li&gt;&#10;&lt;li&gt;Report generator: hardware, network or interventions (support).&lt;/li&gt;&#10;&lt;li&gt;Multilingual support with 45 languages available.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/blockquote&gt;</description></item><item><title>Git client configuration for a local server.</title><link>https://www.abelworld.com/git-client-configuration-local-server/</link><pubDate>Fri, 04 Jul 2014 18:03:31 +0200</pubDate><guid>https://www.abelworld.com/git-client-configuration-local-server/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/07/index.jpeg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/07/index.jpeg" class="size-full wp-image-920" aria-describedby="caption-attachment-920" srcset="https://www.abelworld.com/wp-content/uploads/2014/07/index.jpeg 280w, https://www.abelworld.com/wp-content/uploads/2014/07/index-100x64.jpeg 100w, https://www.abelworld.com/wp-content/uploads/2014/07/index-150x96.jpeg 150w, https://www.abelworld.com/wp-content/uploads/2014/07/index-200x128.jpeg 200w" sizes="(max-width: 280px) 100vw, 280px" width="280" height="180" alt="Gitlab Logo" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Gitlab Logo&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Configuring a &lt;a href="http://git-scm.com/" title="Git"&gt;git&lt;/a&gt; client can be painful sometimes if you are a beginner. I struggled the first time I configured git too. So I am creating this material for others like me to be able to configure git. I hope it works for you. Git is now a days one of the most popular versioning systems. I use git since a few months ago to keep my Symfony 2 projects update.&lt;/p&gt;&#10;&lt;p&gt;Configure gitclient with you User name:&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;git config --global user.name &amp;quot;Abel Guzman&amp;quot;&#10;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Squid proxy server working example Debian GNU Linux</title><link>https://www.abelworld.com/squid-proxy-server-working-example-debian-gnu-linux/</link><pubDate>Tue, 20 May 2014 11:40:29 +0200</pubDate><guid>https://www.abelworld.com/squid-proxy-server-working-example-debian-gnu-linux/</guid><description>&lt;h1 id="hello-guys-this-is-post-is-about-an-squid-working-example-the-version-of-the-squid-that-i-am-running-is"&gt;Hello guys, this is post is about an squid working example. The version of the squid that I am running is&lt;/h1&gt;&#10;&lt;p&gt;2.7 stable. you can check it out running:&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;root@khs01sw10:~# squid -v&#10;Squid Cache: Version 2.7.STABLE9&#10;configure options:  (...)&#10;root@khs01sw10:~#&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-300x240.png" class="wp-image-864 size-medium" aria-describedby="caption-attachment-864" srcset="https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-300x240.png 300w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-1024x819.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-100x80.png 100w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-150x120.png 150w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-200x160.png 200w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-450x360.png 450w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-600x480.png 600w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617-900x720.png 900w, https://www.abelworld.com/wp-content/uploads/2014/05/Screenshot-from-2014-05-13-162617.png 1280w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="240" alt="Squid 3 error page" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Squid 3 error page&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;strong&gt;Note: Uprated on november 25, 2015&lt;/strong&gt;&lt;/p&gt;&#10;&lt;p&gt;This post is part of a bigger Debian material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" title="Linux Server Classes"&gt;here.&lt;/a&gt; If you need to know first the basics about squid configuration, you can check out &lt;a href="https://www.abelworld.com/squid3-proxy-linux-debian-jessie-8/" title="squid3 basic configuration"&gt;here&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Now, the network that I have configured the proxy for. Is a 300 PC network with the following range 10.175.0.0/23 (net mask 255.255.254.0). The IP address of the proxy is 10.175.0.1. My proxy uses a few father proxies.&lt;/p&gt;</description></item><item><title>Squid3 proxy with Linux debian jessie 8.</title><link>https://www.abelworld.com/squid3-proxy-linux-debian-jessie-8/</link><pubDate>Fri, 16 May 2014 16:25:02 +0200</pubDate><guid>https://www.abelworld.com/squid3-proxy-linux-debian-jessie-8/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo.jpg" class="size-full wp-image-862" aria-describedby="caption-attachment-862" srcset="https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo.jpg 236w, https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo-100x72.jpg 100w, https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo-150x109.jpg 150w, https://www.abelworld.com/wp-content/uploads/2014/05/Squid-cache_logo-200x145.jpg 200w" sizes="(max-width: 236px) 100vw, 236px" width="236" height="172" alt="squid3 logo" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;squid3 logo&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Squid3 proxy server is the subject of this post, along this writing I am going to show you how to install and configure this proxy server. For more information you can visit &lt;a href="http://www.squid-cache.org/" target="_blank" title="Squid project"&gt;this&lt;/a&gt; URL; the official website of the project. My system is a Debian jessie 8.&lt;/p&gt;&#10;&lt;p&gt;This post is part of a bigger Linux and Debian basic administration material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" title="Linux Server Classes"&gt;here&lt;/a&gt;. I have also described a squid 2.7 working configuration &lt;a href="https://www.abelworld.com/category/linux/proxy/squid/"&gt;here&lt;/a&gt;. Squid 2.7 is a bit different from squid3 but they are configured basically the same way except for a few new directives and some other changes and deprecations. Let’s play then.&lt;/p&gt;&#10;&lt;p&gt;Installing squid3 is simple:&lt;/p&gt;</description></item><item><title>VirtualBox Virtual machine in Linux- Class 7</title><link>https://www.abelworld.com/virtualbox-virtual-machine-debian-jessie/</link><pubDate>Tue, 13 May 2014 09:15:31 +0200</pubDate><guid>https://www.abelworld.com/virtualbox-virtual-machine-debian-jessie/</guid><description>&lt;p&gt;Virtualbox is today’s posts subject . We will talk about virtualization and how to virtualize a box using Virtualbox. To start we need to know what is virtualization and its advantages.&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/04/vbox_logo2_gradient.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/04/vbox_logo2_gradient.png" class="wp-image-828" aria-describedby="caption-attachment-828" width="140" height="137" alt="virtualbox logo" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;virtualbox logo&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;&lt;strong&gt;Virtualization&lt;/strong&gt;, in computing, refers to the act of creating a virtual (rather than actual) version of something, including but not limited to a virtual computer hardware platform, operating system (OS), storage device, or computer network resources.&lt;/em&gt;&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://en.wikipedia.org/wiki/Virtualization"&gt;http://en.wikipedia.org/wiki/Virtualization&lt;/a&gt; on 2014-04-22.&lt;/p&gt;&#10;&lt;p&gt;This post is part of a bigger Debian material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Apache 2 web server; install and config a virtual host</title><link>https://www.abelworld.com/apache-web-server-virtual-host-linux/</link><pubDate>Tue, 08 Apr 2014 11:08:07 +0200</pubDate><guid>https://www.abelworld.com/apache-web-server-virtual-host-linux/</guid><description>&lt;p&gt;Good day; today we will install a web server using Apache 2. We will specifically use apache because there are many web servers out there, and apache is probably the most popular one even among windows users, when you install Wamp Server, or Xamp,&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server-300x206.png" class="size-medium wp-image-753" aria-describedby="caption-attachment-753" srcset="https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server-300x206.png 300w, https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server-100x68.png 100w, https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server-150x103.png 150w, https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server-200x137.png 200w, https://www.abelworld.com/wp-content/uploads/2014/04/Apache-Web-Server.png 320w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="206" alt="Apache Web Server" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Apache Web Server&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;you are also installing apache 2.x. It has some other advantages or benefits like Openness, a lot of features, extensibility, portability, cost, simple administration, reliability, flexibility, etc. Check out &lt;a href="http://www.downgraf.com/all-articles/benefits-of-web-server-apache/" target="_blank" rel="noopener noreferrer" title="Apache 2 advantages, pros and benefits."&gt;this&lt;/a&gt; link for some explanations. It has also some downsides or disadvantages like for instance; it’s Written By Geeks, For Geeks. That does not mean is difficult or any thing like that, but it can be twisted for some specific situations.&lt;/p&gt;&#10;&lt;p&gt;The Linux philosophy to install a software like Apache 2 is different from Windows. Windows tries to solve all of your problems at once, Linux’s philosophy is to solve only one of your problems using the best practices. Each of this ways of thinking has it pros and cons, but that is not the objective of this class, so we move on.&lt;/p&gt;&#10;&lt;p&gt;To install the package you have to do:&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;aptitude install apache2&#10;&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>DNS Bind 9 Linux Server Debian; Class 5</title><link>https://www.abelworld.com/dns-bind-9-linux-server-debian/</link><pubDate>Mon, 24 Mar 2014 12:18:48 +0200</pubDate><guid>https://www.abelworld.com/dns-bind-9-linux-server-debian/</guid><description>&lt;p&gt;Hello, today I will try to teach how to configure a DNS (Domain Name Server or System). &lt;em&gt;“Putting a DNS server on a network allows for the replacement of IP addresses of individual machines by a name. As a result, it’s&lt;/em&gt;&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/03/DNS.jpeg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/03/DNS.jpeg" class="size-full wp-image-698" aria-describedby="caption-attachment-698" srcset="https://www.abelworld.com/wp-content/uploads/2014/03/DNS.jpeg 251w, https://www.abelworld.com/wp-content/uploads/2014/03/DNS-100x80.jpeg 100w, https://www.abelworld.com/wp-content/uploads/2014/03/DNS-150x120.jpeg 150w, https://www.abelworld.com/wp-content/uploads/2014/03/DNS-200x160.jpeg 200w" sizes="(max-width: 251px) 100vw, 251px" width="251" height="201" alt="DNS" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;DNS&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;even possible to associate multiple names to the same machine to update the different available services. For example, &lt;a href="https://www.example.com"&gt;www.example.com&lt;/a&gt; and pop.example.com, could both point to the primary server where the mail server and the business intranet reside, and the domain could be example.com. It’s easy to remember that these two services are running on the same machine whose IP address is 192.168.0.1.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/span&gt; This post is part of a bigger Debian GNU-Linux material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" rel="noopener noreferrer" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Content&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;a href="#Install" title="Installation DNS bind 9"&gt;DNS Installation&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Config"&gt;Configuration&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Test" title="Test the bind service"&gt;Test the service&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Client" title="Setting up the bind DNS client"&gt;Setting up the client&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;&lt;em&gt;Now imagine that our network administrator decides for some reason or another to move the mail server to the machine 192.168.0.11. The only thing that has to be changed is the DNS server configuration file. You could always go and modify the host configuration for all the users, but that would be time consuming and inconvenient.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Taken from: &lt;a href="https://wiki.debian.org/Bind9"&gt;https://wiki.debian.org/Bind9&lt;/a&gt; on 2014-03-19&lt;/p&gt;&#10;&lt;p&gt;This sounds simply great! But how do we do it?&lt;/p&gt;</description></item><item><title>DHCP server installation and configuration linux Debian; ISC DHCP Server</title><link>https://www.abelworld.com/linux-dhcp-server-install-configure/</link><pubDate>Wed, 05 Mar 2014 11:30:53 +0200</pubDate><guid>https://www.abelworld.com/linux-dhcp-server-install-configure/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-300x164.png" class="size-medium wp-image-606" aria-describedby="caption-attachment-606" srcset="https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-300x164.png 300w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-100x54.png 100w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-150x82.png 150w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-200x109.png 200w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-450x246.png 450w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-600x328.png 600w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol-900x493.png 900w, https://www.abelworld.com/wp-content/uploads/2014/03/dhcpProtocol.png 965w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="164" alt="The Protocol" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;The Protocol&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;h1 id="dhcp-server-basic-principles-installation-and-configuration-isc-server-on-a-debian-linux-system"&gt;DHCP server basic principles; installation and configuration; ISC Server on a Debian Linux system.&lt;/h1&gt;&#10;&lt;p&gt;This post is part of a bigger Debian material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Content&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;a href="#TheProtocol" title="DHCP Protocol"&gt;The DHCP protocol&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Precautions" title="Precautions"&gt;Precautions before we start&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#ISCInstall" title="ISC DHCP Server Install"&gt;Installation of ISC DHCP Sever.&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Config" title="Configuration of the ISC server"&gt;Configuration of the server.&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="#Results" title="Checking the installation Results"&gt;Checking the results&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;&lt;span id="TheProtocol"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Debian; file system, superuser, commands, configuring and installing</title><link>https://www.abelworld.com/debian-file-system-superuser-commands-config-install/</link><pubDate>Tue, 04 Mar 2014 12:34:35 +0200</pubDate><guid>https://www.abelworld.com/debian-file-system-superuser-commands-config-install/</guid><description>&lt;h2 id="along-this-debian-class-we-will-deal-with-the-following-debian-file-system-superuser-editing-text-files-executing-commands-in-the-shell-configuring-installing-and-uninstalling-packages"&gt;Along this Debian class we will deal with the following. Debian file system, superuser, editing text files, executing commands in the shell, configuring, installing and uninstalling packages.&lt;/h2&gt;&#10;&lt;p&gt;This post is part of a bigger Debian material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" rel="noopener noreferrer" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="debian-file-system-users-and-superusers-introduction"&gt;Debian File system, users and superusers; Introduction.&lt;/h2&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Debian GNU Linux uses the superuser paradigm. In computing, &lt;em&gt;“the superuser is a special user account used for system administration. Depending on the operating system, the actual name of this account might be: root, administrator, admin or supervisor. In some cases the actual name is not significant, rather an authorization flag in the user’s profile determines if administrative functions can be performed. In operating systems which have the concept of a superuser, it is generally recommended that most application work be done using an ordinary account which does not have the ability to make system-wide changes.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://en.wikipedia.org/wiki/Superuser"&gt;http://en.wikipedia.org/wiki/Superuser&lt;/a&gt; on 2014-02-16&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Debian Linux is of course a system with the superuser paradigm, by default the superuser name is root. But root might refer also to other parts of the system. Root is where every thing starts in Linux systems is like the alpha of the system. Is the “father&lt;/p&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;directory” (root directory represented by / ) in the file system. And root is also the “superuser”. to see the root directory you can execute the ls command from the &lt;a href="https://www.abelworld.com/debian-gnu-linux-introduction-class-1/" title="Debian GNU Linux Introduction"&gt;fist class&lt;/a&gt;.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;pre&gt;&lt;code&gt;ls /&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;or&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;pre&gt;&lt;code&gt;ls ­-la /&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;and to know if your current user is root you can use the whoami command also from the &lt;a href="https://www.abelworld.com/debian-gnu-linux-introduction-class-1/" title="Debian GNU Linux Introduction"&gt;first class.&lt;/a&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;pre&gt;&lt;code&gt;whoami&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;The root user is the privileged user of the system and is a lot more powerful than the Windows administrator; this user can even destroy the systems and it will not be even waned about it. The concept behind it is that this user should only be used when is strictly required. As you might already figure out you need to be extremely careful when working with this user. &lt;em&gt;A lot of power comes with a lot of respectability&lt;/em&gt;. To continue with the root user now we will learn a command that helps to change your session to other users. ler say you are rafael and you want to change to miguel or to root. Well “su” is the command that you can use for that un debian and in most Linux systems. You can execute this command by it self:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;pre&gt;&lt;code&gt;su ­&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Now it will prompt you for the root password and after you introduce it correctly it will change to the root user. Or if you want to change to a specific user you can use su, followed by the user name.&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;su class&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;To know the user you are in you can use the who am I command again.&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;whoami&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;As some of you might have noticed there is a small difference in the prompt between the root user and the non-privileged user. the non-privileged user appears in the shell with a $ and the root user with a # symbol. Check out this example:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;pre&gt;&lt;code&gt;abel@khs01wxl001:~$ whoami&#10;abel&#10;abel@khs01wxl001:~$ su&#10;Password:&#10;root@khs01wxl001:/home/abel# whoami&#10;root&#10;root@khs01wxl001:/home/abel# su abel&#10;abel@khs01wxl001:~$ whoami&#10;abel&#10;abel@khs01wxl001:~$&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;The linux systems and Debian as one of them works like a cage for users. If you are abel and you execute su, then you login to root. But the session for abel does not end. After you execute su and change to root you can go back to your old session. To do that you just have to execute the command “exit” and it will take you back to the old user.&lt;/p&gt;&#10;&lt;p&gt;Before we continue with other content related to the file system and the super user. Let me introduce a few other commands and concepts.&lt;/p&gt;&#10;&lt;h2 id="system-restart-and-shutdown-init-run-levels-command"&gt;System restart and shutdown; init run levels-command&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;init 0 – Shootsdown the computer. DEPRECATED in favour of “shutdown -h”&lt;/li&gt;&#10;&lt;li&gt;init 6 – Reboots the system.DEPRECATED in favour of shutdown e.g.: “shutdown -r +1”&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Homework A:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;What are the init run levels?&lt;/li&gt;&#10;&lt;li&gt;There are other init run levels from 1 to 5. What do they do?&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="command-to-view-current-the-network-configuration-ifconfig"&gt;Command to view current the network configuration; ifconfig.&lt;/h2&gt;&#10;&lt;p&gt;&lt;em&gt;“The ifconfig  is used to configure the kernel-resident network interfaces.  It is used at boot time to set up interfaces as necessary. After that, it is usually only needed when debugging or when system  tuning  is needed.&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;em&gt;If  no arguments are given, ifconfig displays the status of the currently active interfaces.  If a single interface argument is given, it displays the status of the given interface only; if a single -a  argument is  given,  it displays the status of all interfaces, even those that are down.  Otherwise, it configures an interface.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;p&gt;Taken from ifconfig Debian official manual (man ifconfig)&lt;/p&gt;&#10;&lt;p&gt;Tor now we will use it just to view the network interface to view the interfaces configuration you just have to insert the command as root.&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;root@khs01wxl001:/home/abel# ifconfig &#10;eth0      Link encap:Ethernet  HWaddr 70:71:bc:b9:34:ad  &#10;          inet addr:10.175.0.146  Bcast:10.175.1.255  Mask:255.255.254.0&#10;          inet6 addr: fe80::7271:bcff:feb9:34ad/64 Scope:Link&#10;          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&#10;          RX packets:29874506 errors:0 dropped:0 overruns:0 frame:0&#10;          TX packets:1161761 errors:0 dropped:0 overruns:0 carrier:0&#10;          collisions:0 txqueuelen:1000 &#10;          RX bytes:5595877026 (5.2 GiB)  TX bytes:213607775 (203.7 MiB)&#10;&#10;lo        Link encap:Local Loopback  &#10;          inet addr:127.0.0.1  Mask:255.0.0.0&#10;          inet6 addr: ::1/128 Scope:Host&#10;          UP LOOPBACK RUNNING  MTU:65536  Metric:1&#10;          RX packets:333529 errors:0 dropped:0 overruns:0 frame:0&#10;          TX packets:333529 errors:0 dropped:0 overruns:0 carrier:0&#10;          collisions:0 txqueuelen:0 &#10;          RX bytes:123740836 (118.0 MiB)  TX bytes:123740836 (118.0 MiB)&#10;&#10;root@khs01wxl001:/home/abel#&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Feel free to research about this very useful command.&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;h2 id="remote-connections-using-ssh-protocol"&gt;Remote connections using ssh protocol.&lt;/h2&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;&lt;em&gt;“OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. Additionally, OpenSSH  provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://www.openssh.com/"&gt;http://www.openssh.com/&lt;/a&gt; on 2014-02-16.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;In the other hand, the Debian Official CD version comes with the ssh client installed by default. (that means you can use it to connect to ssh servers). And the ssh server can also be installed from repository. here is as example of how to connect through ssh.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;pre&gt;&lt;code&gt;root@khs01wxl001:~# ssh root@10.175.0.1&#10;&#10;root@10.175.0.1's password:&#10;&#10;Linux khs01sw10 2.6.32­5­amd64 #1 SMP Mon Sep 23&#10;&#10;22:14:43 UTC 2013 x86_64&#10;&#10;(...)&#10;&#10;Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to&#10;&#10;the extent&#10;&#10;permitted by applicable law.&#10;&#10;Last login: Mon Feb 17 15:50:11 2014 from 10.175.0.167&#10;&#10;root@khs01sw10:~#&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Here in the first line you basically say that you are going to use ssh to connect with root at the host 10.175.0.1 (ssh root@10.175.0.1). If your connection is fine, the remote host has a ssh server running and you are allowed to connect from your IP address then you will be prompted for the password. Then insert the password and press enter and thats is it. You should login be logged in to the remote system. Only then you can execute any command on the remote system, like for instance init 6 to restart the remote system or also you can perform any other task there.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="mount-command"&gt;Mount command&lt;/h2&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;As an additional homework lets call it B -I leave you the mount mount command&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;pre&gt;&lt;code&gt;# mount&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Research about how can we use the mount command?&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;div&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/03/filesystem.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-300x225.png" class="size-medium wp-image-585" aria-describedby="caption-attachment-585" srcset="https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-300x225.png 300w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-1024x768.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-100x75.png 100w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-150x112.png 150w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-200x150.png 200w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-450x337.png 450w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-600x450.png 600w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem-900x675.png 900w, https://www.abelworld.com/wp-content/uploads/2014/03/filesystem.png 1056w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="225" alt="File system Linux vs Windows" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;File system Linux vs Windows&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;h2 id="organization-of-the-root-directory-and-hdds-in-linux"&gt;Organization of the root directory and HDDs in Linux.&lt;/h2&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;To organize the file system most modern Linux distribution like Debian use the File system Hierarchy Standard. That is an agreement between some authorities of the Free software, some companies and individuals to improve the systems efficiency and interoperability. As per Wikipedia:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix and Unix-like operating systems, maintained by the Linux Foundation. The current version is 2.3, announced on 29 January 2004.[1]&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard"&gt;http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard&lt;/a&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;on 2014-02-16.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;You can find more information about it &lt;a href="http://www.pathname.com/fhs/pub/fhs-2.3.html" target="_blank" rel="noopener noreferrer" title="Path Name, FHS"&gt;here&lt;/a&gt; and &lt;a href="http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/" target="_blank" rel="noopener noreferrer" title="The Linux Documentation Project."&gt;here&lt;/a&gt;. but for now to continue let me just mention the main directories that we will use along&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-300x243.jpg" class="size-medium wp-image-586" aria-describedby="caption-attachment-586" srcset="https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-300x243.jpg 300w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-100x81.jpg 100w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-150x121.jpg 150w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-200x162.jpg 200w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-450x364.jpg 450w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy-600x486.jpg 600w, https://www.abelworld.com/wp-content/uploads/2014/03/hierarchy.jpg 640w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="243" alt="FHS" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;FHS&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;This classes. Please feel free to user the ls command and also the CD command from &lt;a href="https://www.abelworld.com/debian-gnu-linux-introduction-class-1/" title="Debian GNU Linux Introduction"&gt;class 1&lt;/a&gt; to understand this structure.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;/etc – Configuration files for most of the&lt;/li&gt;&#10;&lt;li&gt;softwares eg: ssh, network, dhcp, etc.&lt;/li&gt;&#10;&lt;li&gt;/home – users folder exept for the root user&lt;/li&gt;&#10;&lt;li&gt;eg: class, abel, pedro, miguel, etc.&lt;/li&gt;&#10;&lt;li&gt;/var -variable data eg: databases, caches,&lt;/li&gt;&#10;&lt;li&gt;logs.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;And secondly we will also work with:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;/media- Is the mounting point for removable media.&lt;/li&gt;&#10;&lt;li&gt;/mnt- mounting point for temporary mounted file systems.&lt;/li&gt;&#10;&lt;li&gt;/boot- boot loader static files.&lt;/li&gt;&#10;&lt;li&gt;/bin – essential user command binaries&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;Also we will work with the root user’s folder. So I will leave a homework, for you to research about it.&lt;/p&gt;&#10;&lt;p&gt;Homework C:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Where is the root user folder?&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Now to continue with the class lets first learn hot to edit with nano.&lt;/p&gt;&#10;&lt;h2 id="editing-files-with-nano"&gt;Editing files with nano.&lt;/h2&gt;&#10;&lt;div dobid="wd-dfn"&gt;&#10;&lt;p&gt;&lt;em&gt;“nano is a text editor for Unix-like computing systems or operating environments using a command line interface. It emulates the Pico text editor, part of the Pine email client, and also provides additional functionality. In contrast to Pico, nano is licensed under the GNU General Public License.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div dobid="wd-dfn"&gt;&#10;&lt;p&gt;Taken from: http://en.wikipedia.org/wiki/Nano_%28text_editor%29 on 2014-03-04&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div dobid="wd-dfn"&gt;&#10;&lt;/div&gt;&#10;&lt;div dobid="wd-dfn"&gt;&#10;&lt;p&gt;There are some other text editors like vi or vim both also for the shell and gedit or leafpad for the graphic interface. You can use the one you want or can. But in this classes I will assume you are using nano. Basics with nano:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div dobid="wd-dfn"&gt;&#10;&lt;div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;To edit a file: $ nano /path/to/file.\&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Nano internal commands:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;CTRL + x: closes the file.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;CTRL + o: saves.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;CTRL + c: cursor position.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;CTRL + k: cuts from nano.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;CTRL + y: paste to nano from nano&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;CTRL + C cancels the current action if it’s not finished or says information about the cursor’s position.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Exersice 1: Create a text file called class1 in /home/class. Write some content and practice the commands from last slide.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="the-repository"&gt;The repository&lt;/h2&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;em&gt;“Commmonly refers to a storage location, often for safety or preservation. Many software publishers and other organizations&lt;/em&gt;&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;em&gt;maintain servers on the Internet for this purpose, either free of charge or for a subscription fee. Repositories may be solely for particular programs, such as CPAN for the Perl programming language, or for an entire operating system. Operators of such repositories typically provide a package management system, tools intended to search for, install and otherwise manipulate software packages from the repositories. For example, many Linux distributions use Advanced Packaging Tool (APT), commonly found in Debian based distributions, or yum found in Red Hat based distributions. There are also multiple independent package management systems, such as pacman, used in Arch Linux and equo, found in Sabayon Linux.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://en.wikipedia.org/wiki/Repository"&gt;http://en.wikipedia.org/wiki/Repository&lt;/a&gt; on 2014-02-16.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Now as the repository is formed by packages we have to define. What is a package?&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;em&gt;“A package format is a type of archive containing files and additional metadata found on packages.While the archive file format itself is unchanged, package formats additionally specify the contents, such as requiring a manifest file or certain directory layout. The term is particularly used on Unix systems, and there are several formats available, both for Linux distributions and BSD systems, though the concept also includes pkg files on Mac OS X, MSI files on Windows, JAR files for Java, among others.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://en.wikipedia.org/wiki/Linux_packages"&gt;http://en.wikipedia.org/wiki/Linux_packages&lt;/a&gt; on 2014-03-04.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;An other valid definition for package could be this one:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;em&gt;“In Linux distributions, a “package” refers to a compressed file archive containing all of the files that come with a particular application. The files are usually stored in the package according to their relative installation paths on your system. Most packages also contain installation instructions for the OS, as well as a list of any other packages that are dependencies (prerequisites required for installation.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://www.internetblog.org.uk/post/1520/what-is-a-linux-package/"&gt;http://www.internetblog.org.uk/post/1520/what-is-a-linux-package/&lt;/a&gt; 2014-03-04.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;h2 id="debian-package-management"&gt;Debian Package Management&lt;/h2&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;apt-get – package manager&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;aptitude – higher level package manager.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;aptitude install ssh&lt;/li&gt;&#10;&lt;li&gt;aptitude install mc&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Homework C –&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;What us the diference between:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;aptitude update&lt;/li&gt;&#10;&lt;li&gt;aptitude install&lt;/li&gt;&#10;&lt;li&gt;aptitude upgrade&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;How do you remove a packege?&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;How can you search for a package?&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;And that is it for today. On the next class we will discus about the package manager and we will install a DHCP server. be ready for it.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Network and DNS configuration Debian Linux - Class 4</title><link>https://www.abelworld.com/network-dns-configuration-debian-linux/</link><pubDate>Mon, 03 Mar 2014 12:38:31 +0200</pubDate><guid>https://www.abelworld.com/network-dns-configuration-debian-linux/</guid><description>&lt;h1 id="network-and-dns-client-configuration-introduction"&gt;Network and DNS client configuration; introduction&lt;/h1&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-300x240.png" class="size-medium wp-image-537" aria-describedby="caption-attachment-537" srcset="https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-300x240.png 300w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-1024x819.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-100x80.png 100w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-150x120.png 150w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-200x160.png 200w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-450x360.png 450w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-600x480.png 600w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519-900x720.png 900w, https://www.abelworld.com/wp-content/uploads/2014/03/Screenshot-from-2014-03-03-084519.png 1280w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="240" alt="Network use of CPU resources" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Network use of CPU resources&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;This post is part of a bigger Linux Debian administration material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Today we will deal with network and DNS configurations from command line. The graphical interface has different tools to configure the network and DNS, but this is a servers administrators post; so we will configure every thing from the command prompt. if you need more basic material explaining other aspects about Linux, Debian, basic commands etc, than you can go to &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank"&gt;the whole index of materials.&lt;/a&gt; We will only deal with IP version 4 (IPv4), but IPv6 is pretty similar. So you can learn IPv4 and then configure a network and DNS with IPv6 with just a few changes.&lt;/p&gt;</description></item><item><title>Debian GNU/Linux Introduction Class 1</title><link>https://www.abelworld.com/debian-gnu-linux-introduction-class-1/</link><pubDate>Fri, 28 Feb 2014 10:40:19 +0200</pubDate><guid>https://www.abelworld.com/debian-gnu-linux-introduction-class-1/</guid><description>&lt;h1 id="debianlinux-evolutionintroduction-to-gnu-linux-linux-environment-in-princess-marina-hospital-servers-services-and-workstations"&gt;Debian Linux Evolution.Introduction to GNU-Linux.  Linux Environment in Princess Marina Hospital; Servers, services and workstations.&lt;/h1&gt;&#10;&lt;p&gt;This post is part of a bigger Debian material that you can access &lt;a href="https://www.abelworld.com/gaborone-botswana-linux-server-classes/" target="_blank" rel="noopener noreferrer" title="Linux Server Classes"&gt;here.&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;Even when this GNU/Linux Debian classes are for Information Technology personnel if you are starting you might have a lot of question.&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;What is Debian? What is Linux? What is GNU? What is Debian GNU/Linux? what is a Distrubution? A Kernel? Are they all the same? Is Linus Torvalds the author of every thing?&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Not intending to answer all of them I will just quote some clever guys from out there.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Content:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="#TheKernel" title="Debian GNU Linux"&gt;The Kernel&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="#GNULinux" title="Debian GNU Linux"&gt;Linux – GNU/Linux&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="#Debian" title="Debian GNU Linux"&gt;Debian&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="#ThePrompt" title="The command prompt"&gt;The command prompt&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;span id="TheKernel"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 id="the-kernel"&gt;The Kernel&lt;/h2&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_-300x237.png" title="Kernel" class="size-medium wp-image-502" aria-describedby="caption-attachment-502" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_-300x237.png 300w, https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_-100x79.png 100w, https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_-150x118.png 150w, https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_-200x158.png 200w, https://www.abelworld.com/wp-content/uploads/2014/02/382px-Kernel_Layout.svg_.png 382w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="237" alt="Kernel" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;&lt;em&gt;Kernel&lt;/em&gt;&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;“A kernel is the central part of an operating system. It manages the tasks of the computer and the hardware -most notably memory and CPU time. There are two types of kernels:&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;em&gt;A microkernel, which only contains basic functionality;&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;A monolithic kernel, which contains many drivers [Linux].&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;&lt;em&gt;A computer user never interacts directly with the kernel. It runs behind the scenes and cannot be seen, except for the text logs that it prints.”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://simple.wikipedia.org/wiki/Kernel"&gt;http://simple.wikipedia.org/wiki/Kernel&lt;/a&gt;_%28computer_science%29 on 2014-02-12&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Nice and simple, so the kernel is the middle man between me and the computer hardware.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;div&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;span id="GNULinux"&gt;&lt;/span&gt;&lt;span id="GNULinux"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 id="linux--gnulinux"&gt;Linux – GNU/Linux&lt;/h2&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;em&gt;“Many Linux users are familiar with Linux being called “GNU/Linux”. This means something special. “GNU” refers to the userland and “Linux” refers to the kernel. Now, you may be wondering if these two components can be swapped. Yes, they can.&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;For example, in the beginning of Linux’s history, the GNU community had no kernel at the time and Linux was just a kernel. So, they put the two projects together. Today, the GNU community has a kernel called “Hurd”.&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;They then swapped the Linux kernel with the Hurd kernel to make “GNU/Hurd” systems. For instance, Arch exists as “GNU/Linux” and “GNU/Hurd”.&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;Not only do various userland and kernel combinations exist, there are different Linux kernels. Also, Linux is not the only perating system with a module (obvious, right?).”&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://www.linux.org/threads/the-linux-kernel-types-of-kernels.5409/"&gt;http://www.linux.org/threads/the-linux-kernel-types-of-kernels.5409/&lt;/a&gt; on 2014/02/11.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-300x215.png" title="Evolution Of Linux" class="size-medium wp-image-505" aria-describedby="caption-attachment-505" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-300x215.png 300w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-1024x735.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-100x71.png 100w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-150x107.png 150w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-200x143.png 200w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-450x323.png 450w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-600x430.png 600w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux-900x646.png 900w, https://www.abelworld.com/wp-content/uploads/2014/02/EvolutionOfLinux.png 1053w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="215" alt="Evolution Of Linux" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Evolution Of Linux&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;The fist bullet is very important where he says that a lot of Linux users are aware that the term GNU/Linux.That GNU is the part of the Operating System (OS) that does the direct work with the user (understand that user does not mean only someone who is using a computer). Then Linux refers to the kernel only, that is the part of the OS that interacts with the hardware.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;So basically they have joined GNU and Linux and created GNU/Linux. Of course afterwards both projects have evolved and improved their different components. And an other incredible thing that happened was that when people saw that they could take the Software modify it and create their own new code and make it available again, more and more people started to cooperate to create their own versions of GNU/Linux or to contribute to existing ones. Check out the picture to get a rough idea of what I am talking about.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt; &lt;/p&gt;&#10;&lt;p&gt;This next picture is a summary of only the most important GNU/Linux distributions created after the code was released for free. What happened at that time was that some distribution appeared and they evolved to our days becoming better and better and better. Also in important to remark that every time that someone does a good contribution this code is free (generally) and it is incorporated again in other distributions making every generally better or at least more updated with the latest free software.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;figure class="alignleft"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-300x216.png" class="size-medium wp-image-509" aria-describedby="caption-attachment-509" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-300x216.png 300w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-1024x738.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-100x72.png 100w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-150x108.png 150w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-200x144.png 200w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-450x324.png 450w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-600x432.png 600w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2-900x649.png 900w, https://www.abelworld.com/wp-content/uploads/2014/02/44218-linuxdistrotimeline-7.2.png 1965w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="216" alt="Linux distribution time-line evolution" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Linux distribution time-line evolution&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;The main branches on this graphic are Red Hat from 1994 with child distributions like Mandrake, PCLinux, CentOS, Mandriva, Fedora Core and some other important distributions. Also we have Suse Linux also from 1994 made by Novel Enterprices. An other of the important branches id Debian, it was started back on 1993, for more information read the following paragraph taken from Debian’s project website.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;&lt;em&gt;“The Debian Project was officially founded by Ian Murdock on &lt;code&gt;August 16th, 1993&lt;/code&gt;. At that time, the whole concept of a “distribution” of Linux was new. Ian intended Debian to be a distribution which would be made openly, in the spirit of Linux and GNU … The creation of Debian was sponsored by the FSF’s GNU project…”&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Taken from: &lt;a href="https://www.debian.org/doc/manuals/project-history/ch-intro.en.html"&gt;https://www.debian.org/doc/manuals/project-history/ch-intro.en.html&lt;/a&gt; on 2014/02/28&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;Now from Debian we also have a whole lot of good derived distributions, like for instance Knopix,Dam Small Linux or the Ubuntu family that started on 2004.Otherwise along this classes we will be working with Debian mostly. But at the end if you know how to work with one of the distributions. You are very likely to be able to work with other distributions with small or no help.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;span id="Debian"&gt;&lt;/span&gt;&lt;span id="Debian"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 id="debian"&gt;Debian&lt;/h2&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;&lt;em&gt;“The Debian Project (…) is a free operating system. An operating system is the set of basic programs and utilities that make your computer run. At the core of an operating system is the kernel. The kernel is the most fundamental program on the computer and does all the basic housekeeping and lets you start other programs.&lt;/em&gt;&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;em&gt;Debian systems currently use the Linux kernel or the FreeBSD kernel. Linux is a piece of software started by Linus Torvalds and&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;supported by thousands of programmers worldwide. FreeBSD is an operating system including a kernel and other software.&lt;/em&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;em&gt;However, work is in progress to provide Debian for other kernels, primarily for the Hurd. The Hurd is free software produced by the GNU project.”&lt;/em&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;Taken from: &lt;a href="http://www.debian.org/intro/about#what"&gt;http://www.debian.org/intro/about#what&lt;/a&gt; 2014/02/11.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;p&gt;To get more information about the GNU/Linux and Debian you can go to the official websites:&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;div style="text-align: justify;"&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Debian Project: &lt;a href="https://www.debian.org"&gt;www.debian.org&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;Linux Project: &lt;a href="https://www.linux.org"&gt;www.linux.org&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;GNU project: &lt;a href="https://www.gnu.org"&gt;www.gnu.org&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-300x206.jpg" class="size-medium wp-image-514" aria-describedby="caption-attachment-514" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-300x206.jpg 300w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-100x68.jpg 100w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-150x103.jpg 150w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-200x137.jpg 200w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-450x309.jpg 450w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-600x412.jpg 600w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5-900x618.jpg 900w, https://www.abelworld.com/wp-content/uploads/2014/02/gnome-shell-5.jpg 1000w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="206" alt="Gnome" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Gnome&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;An other of the Linux myths if that Linux has no graphic interface or very rudimentary ones, the true is that there are some very good projects with great future, although there is still a lot to be done. For instance we have Gnome Prject, check out the image, we can get more information about this project &lt;a href="http://www.gnome.org" target="_blank" rel="noopener noreferrer" title="Gnome Project"&gt;here&lt;/a&gt;. but Linux has a lot other graphic interfaces among them KDE the closest competitor to gnome or fresh one like LXDE and XFCE. But this classes are not for graphic fans but for Network administrators, so I will not talk to much about graphics any more along the course. We will use the Text Terminal mostly, the scary black Screen that many people are afraid of. The true is that this terminal is very pwoerful and you can perform a lot of activities nicely using it, and also most of the work is not like rocket sciences so we can learn it and that is what we will do along the classes.&lt;br&gt;&#10;&lt;span id="ThePrompt"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h2 id="debian-and-linux-command-prompt"&gt;Debian and Linux command prompt&lt;/h2&gt;&#10;&lt;p&gt;&lt;span id="ThePrompt"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;We are going to start with real Linux. So if you do not have your Debian GNU/Linux workstation this is the moment to get it. the first thing that we will do is to change to a text terminal you can do that by pressing:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;CTRL+ALT+(F1 to F6) Opens a Text terminal.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Now to switch back to the graphic terminal you can press:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Alt+F7 Opens the graphic terminal.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;And you can also open a terminal from the graphic interface of your computer. by going to activities and typing terminal in the search box.&lt;/p&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/commands001.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/commands001-300x87.png" class="size-medium wp-image-516" aria-describedby="caption-attachment-516" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/commands001-300x87.png 300w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001-100x29.png 100w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001-150x43.png 150w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001-200x58.png 200w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001-450x130.png 450w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001-600x174.png 600w, https://www.abelworld.com/wp-content/uploads/2014/02/commands001.png 866w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="87" alt="Linux Terminal" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Linux Terminal&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;If you open the you text terminal (black screen) you have to login with a user, because it will prompt you immediately, there you are supposed to put your user and your password. As a curious detail in the Linux terminal when you type a password it does not show the dots that we might be used to in other  systems, so someone might think that is not typing but the terminal is really recording every key that you press. This was done that way for security reasons.&lt;/p&gt;&#10;&lt;p&gt;Once you are in you can type commands already, lets do for instance:&lt;/p&gt;&#10;&lt;p&gt;whoami.&lt;/p&gt;&#10;&lt;p&gt;It should return your user name.&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;root@khs01sw10:~# whoami &#10;root&#10;root@khs01sw10:~#&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-300x240.png" class="size-medium wp-image-517" aria-describedby="caption-attachment-517" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-300x240.png 300w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-1024x819.png 1024w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-100x80.png 100w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-150x120.png 150w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-200x160.png 200w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-450x360.png 450w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-600x480.png 600w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357-900x720.png 900w, https://www.abelworld.com/wp-content/uploads/2014/02/Screenshot-from-2014-02-28-102357.png 1280w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="240" alt="Debian man command linux" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Debian man command linux&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;So running commands is simple. But this is not it, if you do not know how to use a command you can use the commandman passing an other command as augment and it will tell you what it does.&lt;/p&gt;&#10;&lt;p&gt;man &amp;lt;CommandIDon’tKnow&amp;gt;&lt;/p&gt;&#10;&lt;p&gt;for instance:&lt;/p&gt;&#10;&lt;pre&gt;&lt;code&gt;root@khs01sw10:~# man whoami&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;And it will show you the Linux manual for the command. the manuals are always something like  the picture. Also if it is not enough you can go to Internet and research about ways of using any command. To get out of the manual you can just press q key and it will exit the manual.&lt;/p&gt;&#10;&lt;p&gt;That is what I had prepared for today, let me just add the homework that you can do using the manual and we will met in the next class.&lt;/p&gt;&#10;&lt;div&gt;&#10;&lt;h2 id="homework-explain-how-to-use-this-commands-on-adebian-environment"&gt;Homework: Explain how to use this commands on a Debian environment.&lt;/h2&gt;&#10;&lt;pre&gt;&lt;code&gt;Whoami&#10; man&#10; pwd&#10; ls -la&#10; passwd user&#10; cd&#10; mkdir&#10; rm&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;Thank you for your time.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;.&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;&#10;&lt;/div&gt;</description></item><item><title>Linux Server Classes (Introduction)</title><link>https://www.abelworld.com/linux-server-classes-gaborone-botswana/</link><pubDate>Thu, 27 Feb 2014 14:39:18 +0200</pubDate><guid>https://www.abelworld.com/linux-server-classes-gaborone-botswana/</guid><description>&lt;p&gt;&lt;span id="About"&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;h1 id="linux-server-classes-about-this-group-of-materials"&gt;Linux Server Classes; About this group of materials.&lt;/h1&gt;&#10;&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions.jpg"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-300x300.jpg" title="Linux Versions with Tux" class="size-medium wp-image-480" aria-describedby="caption-attachment-480" srcset="https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-300x300.jpg 300w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-150x150.jpg 150w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-100x100.jpg 100w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-200x200.jpg 200w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-450x450.jpg 450w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions-600x600.jpg 600w, https://www.abelworld.com/wp-content/uploads/2014/02/LinuxVersions.jpg 849w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="300" alt="Linux Versions with Tux" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;Linux Versions with Tux&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;I have started this post to bring Linux classes to any one in Gaborone, Botswana. Also you can access and use this materials any where else in the world. The only conditions is that you have to be willing to learn new and useful stuff from the free software movement. This Linux skill sharing was done for the ICT staff in Princess Marina Hospital in Gaborone, Botswana. The main objective was to socialize the Linux knowledge. These skill sharing classes are not part of any certified course. They are just the product of the personal experiences of &lt;a href="https://www.abelworld.com/about/" target="_blank" rel="noopener noreferrer" title="About me"&gt;a Linux and windows network administrator.&lt;/a&gt; Linux is currently being used at the hospital in most of the servers and a few workstations. But the course is thought as a General introduction to networking using GNU Linux Debian.&lt;span id="About"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>GLPI for technical support, the free tickets System.</title><link>https://www.abelworld.com/free-ticket-system-glpi-it-team-work/</link><pubDate>Sat, 09 Nov 2013 10:34:41 +0200</pubDate><guid>https://www.abelworld.com/free-ticket-system-glpi-it-team-work/</guid><description>&lt;figure class="alignright"&gt;&#10;&lt;a href="https://www.abelworld.com/wp-content/uploads/2013/11/Statistic1.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2013/11/Statistic1-300x168.png" title="GLPI Statistic Charts" class="size-medium wp-image-406" aria-describedby="caption-attachment-406" srcset="https://www.abelworld.com/wp-content/uploads/2013/11/Statistic1-300x168.png 300w, https://www.abelworld.com/wp-content/uploads/2013/11/Statistic1-1024x575.png 1024w, https://www.abelworld.com/wp-content/uploads/2013/11/Statistic1.png 1366w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="168" alt="GLPI Statistic Charts" /&gt;&lt;/a&gt;&#10;&lt;figcaption&gt;GLPI Statistic Charts&lt;/figcaption&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;GLPI is a free Tickets System distributed under GNU/GPL license. But When do you need a ticket system like this? This is one of the biggest challenges of the technical support  companies or technical support teams. If they have to deal with many customers and the response times are critical. To be able to track, follow and organize the work of the different technicians that are supposed to do the actual job. In this scenario the paper work always becomes a challenge, accessibility, loose of information, spell and writing errors, individual and collective statistics, reporting, etc.&lt;/p&gt;</description></item><item><title>Useful Notes as a solution to punctual problems</title><link>https://www.abelworld.com/solution-useful-notes-problem/</link><pubDate>Fri, 08 Nov 2013 18:20:21 +0200</pubDate><guid>https://www.abelworld.com/solution-useful-notes-problem/</guid><description>&lt;p&gt;I tend to forget where I find the solution for my problem very often, so I will start recording some of the solutions that I find for my different problems, if any one find this list some how interesting or useful in the future please consider leaving a comment or suggest other useful information that you have found in internet:&lt;/p&gt;</description></item><item><title>htpasswd Apache 2 authentication with exeption ip.</title><link>https://www.abelworld.com/htpasswd-apache-2-authentication/</link><pubDate>Thu, 31 Oct 2013 14:26:41 +0200</pubDate><guid>https://www.abelworld.com/htpasswd-apache-2-authentication/</guid><description>&lt;p&gt;htpasswd? Hi guys, today I’m just bringing a note about htpasswd hope it will be useful for someone as this knowledge has been for me.&lt;/p&gt;&#10;&lt;p&gt;htpasswd is a tool for apache able to secure folders in a web directory, that means that the folder is public, but protected with password. this functionality is very useful for instance to install systems that have no internal security like Sarg the web app to read Squid logs, Munin to read servers performance, also if you want to share a folder with a friend or even when you need to secure your own web applications and you do not want to create your own security module. in the other hand; htpasswd supports several authentication methods with different security level, but I am just going to describe the basics authentication.&lt;/p&gt;</description></item><item><title>Symfony 2 hosting server</title><link>https://www.abelworld.com/symfony-2-configuring-a-hosting-server/</link><pubDate>Wed, 09 Oct 2013 06:54:35 +0200</pubDate><guid>https://www.abelworld.com/symfony-2-configuring-a-hosting-server/</guid><description>&lt;p&gt;&lt;a href="https://www.abelworld.com/wp-content/uploads/2013/10/Screenshot-from-2013-10-08-123407.png" style="color: #ea9629; text-decoration: underline; outline: #000000;"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2013/10/Screenshot-from-2013-10-08-123407-300x240.png" class="alignright wp-image-329" srcset="https://www.abelworld.com/wp-content/uploads/2013/10/Screenshot-from-2013-10-08-123407-300x240.png 300w, https://www.abelworld.com/wp-content/uploads/2013/10/Screenshot-from-2013-10-08-123407-1024x819.png 1024w, https://www.abelworld.com/wp-content/uploads/2013/10/Screenshot-from-2013-10-08-123407.png 1280w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="240" alt="Screenshot from 2013-10-08 12:34:07" /&gt;&lt;/a&gt;Symfony again! Hello, as you know I like to hit my head against the screen from time to time. So today I’m going to try to configure a server to host Symfony Aplications. The host in this case will be a virtual machine in my own computer.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Note:&lt;/span&gt;&lt;/strong&gt; this post is about how to install Symfony, how to meet the requirements. if you have done this already maybe what you need is to deploy your product app. visit &lt;a href="http:///symfony-2-deploy-prodution-environment/" title="Symfony Deploy Application in Production"&gt;this link for that&lt;/a&gt; . And if you want to install in windows you can follow &lt;a href="https://www.abelworld.com/symfony-2-4-wamp-windows-installation/" title="Symfony and Wamp server"&gt;this link&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;My OS is a Debian testing (8) and I have a virtualbox running ready to have a lot of virtual&lt;br&gt;&#10;machines. So I have created a Debian Stable (7) Virtual Machine that will be our server for the symfony 2 applications. in this case I’m going to use Symfony 2.3.5 the latest version available on the server. I am talking to much take a look at the image of my of my VM for more information.&lt;/p&gt;</description></item><item><title>Siwapp online invoicing</title><link>https://www.abelworld.com/siwapp-free-simple-invoicing-system/</link><pubDate>Wed, 18 Sep 2013 14:57:10 +0200</pubDate><guid>https://www.abelworld.com/siwapp-free-simple-invoicing-system/</guid><description>&lt;p&gt;&lt;a href="https://www.abelworld.com/wp-content/uploads/2013/09/general-over-view.png"&gt;&lt;img src="https://www.abelworld.com/wp-content/uploads/2013/09/general-over-view-300x168.png" class="alignright size-medium wp-image-236" srcset="https://www.abelworld.com/wp-content/uploads/2013/09/general-over-view-300x168.png 300w, https://www.abelworld.com/wp-content/uploads/2013/09/general-over-view-1024x575.png 1024w, https://www.abelworld.com/wp-content/uploads/2013/09/general-over-view.png 1366w" sizes="(max-width: 300px) 100vw, 300px" width="300" height="168" alt="Siwapp general overview" /&gt;&lt;/a&gt;Siwapp is a free invoicing software. It has friendly web environment that lets you install it on a local computer and also in internet or other network server. It is not a secret that for small and medium size business one of the biggest overheads many times is money that is spent on computers software. &lt;/p&gt;</description></item><item><title>Linux Servers; Cost Reduction</title><link>https://www.abelworld.com/linux-servers-cost-reduction/</link><pubDate>Wed, 17 Apr 2013 11:52:03 +0200</pubDate><guid>https://www.abelworld.com/linux-servers-cost-reduction/</guid><description>&lt;p&gt;updated on 2013-10-01&lt;/p&gt;&#10;&lt;h3 id="introduction"&gt;Introduction:&lt;/h3&gt;&#10;&lt;div&gt;&#10;&lt;p&gt;This document explains the main steps of the configuration of a Linux network system. With two servers for medium of small size business (in this case a Clinic). But the same project template can be applied to any other business. The main objective of this project is to create a stable solution with the best cost effectiveness balance.&lt;/p&gt;&#10;&lt;/div&gt;</description></item></channel></rss>