Posts of tricks Category

  • Using Ubuntu Inside Centos

    Nowadays I am building custom CM-12 (Lolipop) roms for my i9300. Building requires several libraries however they are not inside Centos baase, update and epel repositories. I do not like using other repositories. And also I know that Ubuntu have all the required packages. However I do not want to install a second Ubuntu OS on my machines with/without using virtualization. [read more]

  • Hardening with Tripwire

    Nowadays, I am trying to harden my servers. I use a benchmark tool named as lynis. After scanning my system, I try to follow lynis recommendations. One of them is using a integrity scan tool for watching file system changes. [read more]

  • Migrate pv-grub on Linode VPS

    Some of my linux vps servers are on Linode. Linode provides direct booting by default. I need to use SELinux, so I want to migrate pv-grub for booting my kernels on /boot folder. [read more]

  • Shell in a Box Experineces

    I rent linux vps servers. For managing them I need remote access. I configured sshd, however firewalls may block the ssh port. So I need a web-based remote management with flexibility of ssh. One of my server is hosted at Linode which has a web-based ssh terminal which uses ajax. From this info, I searched ajax ssh terminal at Google and yum. I found the project shell in a box and it is at the EPEL repository. So I installed it. [read more]

  • Timezone Problems

    I always love using my local timezone data in my servers. However I encounter some problems. The significant is postgresql check constraint problem, if I am using date time values in constraint. [read more]

  • SSH timeouts make me sick with CentOS 7

    I like using CentOS on my servers and desktop machine. After I start using, my ssh connections terminate so quickly if I do not type anything at terminal in a few minutes, may be seconds. It is very annoying when you loose a active connection. [read more]

  • .ssh/config trick

    ssh is most know remote administration tools while managing linux servers, so I use it too. While connecting any server that I manage, I use several parameters for individual server. Every time typing all the parameters is difficult and it can cause several errors like forgetting or mistyping. [read more]