So i was using an image which is CentOS-8-x86_64-1905-boot.iso, there is an installation source which you need to select, so I went to this site to find out the address of the mirror. I found the one nearest to me by using the kickstart one. See below for what i mean. As usual... Centos expects … Continue reading [linux]Installation source for installing CentOS 8
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 /dev/sda with the full disk (after expanded). It works immediately..
Update 9th of January 2020 This post was written many years ago, when I was installing CentOS minimal, after several years I am surprised that this post is still being viewed. As recommended below in the comments, there is no need to use net-tools anymore, this package has already been deprecated although still exists in … Continue reading Installing netstat on Centos 7 minimal installation
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 but by far this article is the best. I am using CentOS 6.4 for the … Continue reading OS: Patching the linux kernel with grsecurity patch
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 SELinux use setenforce 0 command.
Reference 1: https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Suricata_Snorby_and_Barnyard2_set_up_guide Reference 2: http://www.aldeid.com/wiki/Suricata/Setting-up-rules Reference 3: https://www.corelan.be/index.php/2011/02/27/cheat-sheet-installing-snorby-2-2-with-apache2-and-suricata-with-barnyard2-on-ubuntu-10-x/ Reference 4: https://github.com/Snorby/snorby/issues/102#issuecomment-1704653 Reference 5: http://www.aldeid.com/wiki/Snorby 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 LTS. No plagiarism is intended! All setup credits go to References above. Please follow the … Continue reading Building an IDS : installing snorby, suricata and barnyard2
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 your sources.list. Without this package you cannot configure barnyard2 that uses the libmysqlclient16-dev library file. … Continue reading libmysqlclient.* not found
Reference:http://stackoverflow.com/questions/6675373/bundle-command-not-found-in-linux-debian 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 bundler is at /var/lib/gems/1.8/bin Use these bash lines:
I have heard that Squid supports Cisco WCCP version 1 and 2, I need a proxy server / cache engine that can help me do proof of concept with WCCP. I created a VM which runs on CentOS, and install squid: yum install squid -y I modified the configuration on this path /etc/squid/squid.conf By default … Continue reading Setting up SQUID proxy on CentOS
I really like Debian based linux, and I really prefer apt to yum. Searching packages from apt is easier than from yum in my humble opinion. CentOS rename the package the same as RedHat I supposed, apache cannot be found from yum list. A search with yum search apache revealed that the package is named … Continue reading CentOS6.2: Installing apache webserver