Home » Linux

Linux

Linux Commands With Examples

Regardless the experience, every Linux user must has, at least, a basic knowledge about the terminal and its usage. This tutorial will explain and show with examples the most used and important commands, after a brief explanation of how the commands work. For this tutorial, Linux Mint 18 has been used. Table Of Contents 1. What are the commands? Where ...

Read More »

Linux Box as Router

In continuation of my previous posts where i’m create a distributed cloud infrastructure i need to connect VM’s on multiple Host Machines Pre knowledge of routing (IPTables) and networking is required for information below. Technically this is what containers like docker or software routers do internally when they need to connect 2 different network’s Lets assume HostMachine1 has VM’s on ...

Read More »

Linux IfConfig Tutorial

The network configuration is one of the first topics a system administrator gets involved with. For Linux, the command to configure this is ifconfig (contraction of interface and configuration), which allows to make almost any configuration in a network, as we will see in this tutorial. Basic knowledge about networking (what IP addresses are, their format, subnetting, etc.) is assumed ...

Read More »

Arduino as a wireless HTTP client

There are many aspects one must take into consideration when it comes to picking the right board for their project – from performance, memory, battery life, available slots for SD cards or bee modules all the way to the connectivity, namely network interface. Whether it is wired or wireless network interface, it plays crucial role in the way the board ...

Read More »

Systemd and Upstart Services

Most linux servers that I use are either Debian based or RedHat based. A common task is adding daemon services. Suppose that we want to start a tomcat application on startup First we shall install tomcat mkdir /opt/tomcat groupadd tomcat useradd -s /bin/false -g tomcat -d /opt/tomcat tomcat wget http://apache.cc.uoc.gr/tomcat/tomcat-8/v8.0.33/bin/apache-tomcat-8.0.33.tar.gz tar xvf apache-tomcat-8.0.33.tar.gz mv apache-tomcat-8.0.33/* /opt/tomcat rm -r apache-tomcat-8.0.33 apache-tomcat-8.0.33.tar.gz cd ...

Read More »

How to use the sudoers file to grant superuser privileges in Linux

In a Linux system there are tasks that need to be performed using administrative privileges (also known as superuser permissions) as they either impact the system as a whole (for example, managing packages or restarting services) or other users (adding or modifying user accounts, changing passwords or other users). Another example of a task requiring superuser privileges consists of changing ...

Read More »

Crouching Supervisor, Hidden File Descriptor Setting

Here’s an interesting problem our team faced last month that was extremely infuriating. We were in the process of launching replacement haproxy instances that are used to load balance to nodes in our RabbitMQ cluster. We’ve done this a lot of times before and set all the usual user settings required under limits.d to ensure proper file descriptors are allocated ...

Read More »

Top Online SysAdmin Courses to Boost your Career

Do you want to know what is the best investment you can make with your time and money? Knowledge As a software developer you should be constantly acquiring new skills. This is the best way to advance your career and enjoy the rewards (monetary, emotional etc.). Towards that direction you should be reading books, devouring technical articles and staying informed ...

Read More »

Salt SSH Installation on Centos 5.5

Salt has the option to manage servers agentlessly. Agentless means that the targets don’t need a agent process. The master orchestrates the target system over SSH. Therefor it exists an own command called salt-shh. The following sections explain how to install Salt SSH on a CentOs 5.5 and how to configure minimally a master and its targets for a test ...

Read More »

Mono on Linux and feeling good

If you haven’t heard about Mono on Linux then it is time to fill this gap. Mono is an open source platform that implements CLI specification and enables building and running C# applications on Linux, OS X, Windows which is fun. This is the official description from the site. Mono, the open source development platform based on the .NET framework, allows ...

Read More »

Want to take your sysadmin skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Linux BASH Programming Cookbook
  • NAGIOS Monitoring Cookbook
  • Introduction to NGINX
  • Apache HTTP Server Cookbook
  • VirtualBox Essentials
  • PostgreSQL Database Handbook