Category Archives: Linux

All Linux distributions will be filed here.

[linux]rescan the hard drive after your vm got an expanded storage

The Tufin securechange vm got an expanded storage of 1TB more, however I cannot see it immediately with the fdisk -l command. I need to rescan it using echo “1” > /sys/class/block/sda/device/rescan, then do fdisk -l, you will see the … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Installing netstat on Centos 7 minimal installation

I have just installed Centos 7 with the minimal installation options, lots of things which were taken for granted by me were not installed, one of them is netstat. In the repo there is no software package that names as … Continue reading

Posted in Linux | Tagged , , , | 5 Comments

OS: Patching the linux kernel with grsecurity patch

I have been wanted to do linux kernel hardening a long time ago. I first heard about grsecurity from my friend William who is a security enthusiast. I have read several guides on how to patch the kernel source code … Continue reading

Posted in Linux, Security | Tagged , , , , | 2 Comments

Disable SELinux

There are times when disabling SELinux is required for some webapp to work. You can modify the SELinux from /etc/selinux/config Modifying the config file will make SELinux to be enabled (default), permissive or disabled upon boot up. To temporarily disable … Continue reading

Posted in Linux, System OS | Tagged , , | Leave a comment

Building an IDS : installing snorby, suricata and barnyard2

Reference 1: Reference 2: Reference 3: Reference 4: Reference 5: Disclaimer I claimed no credits for this post, this post is for my own personal reference while installing the components onto the Ubuntu Server 12.04 … Continue reading

Posted in IDS/IPS, Linux, Security, System OS | Tagged , , , , , , , , , , , , , , | 13 Comments

libmysqlclient.* not found

I have encountered a problem while configure barnyard2 with mysql on unbuntu server 12.04, it turns out that the package libmysqlclient16-dev was deleted from the repository, if you need to get the package you need to add the repo into … Continue reading

Posted in Linux, System OS | Tagged , | Leave a comment

Debian: Bundle command not found

Reference: Supposed you have already installed ruby and rubygems in Debian, and install bundler using gem install command, however when you are trying to get bundle update you got an error which says bundle command not found. The path to … Continue reading

Posted in Linux, System OS | Tagged , | Leave a comment