Home » Linux

Linux

Making Native Language Support (NLS) and gettext Optional

I’ve decided to write this blog post after noticing how many people were asking me to make gettext optional when building fswatch. At the beginning I actually thought it was optional. And I never dug any deeper into the matter because, apparently, everybody experiencing this problem was building fswatch from the repository sources instead of building it from a release tar-ball. ...

Read More »

How to install Debian+LXDE on ANY Android Tablet

Running a linux distro on android devices is a hot topic these days, and why not? After all, android is already based on linux kernel, but a pretty much locked-down and dumbed-down version of it. The OEM doesn’t give you root and in most cases, not even an open source bootloader or kernel. That way, its good for maybe the ...

Read More »

Improving Linux System Performance with I/O Scheduler Tuning

In a previous article, I wrote about using pgbench to tune PostgreSQL. While I covered a very common tunable shared_buffers, there are many other tuning options that can be used to gain performance from PostgreSQL. Today’s article is going to cover one of those additional options. However, this tunable does not belong to PostgreSQL. Rather this tunable belongs to the ...

Read More »

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 »