Using Splunk with Docker

    10 Sep 2017
    Splunk and Docker The instructions on the setup are covered in: How to use the Splunk Enterprise Docker image. I decided to take the docker-compose approach. Install docker-compose on CoreOS First we need to install docker-compose on CoreOS. There are a couple of sites that talk about the process: Installing Docker Compose in CoreOS Install docker-compose onto CoreOS So following the instructions I just ran this: $ curl -L https://github.com/docker/compose/releases/download/1.11.2/docker-compose-`uname -s`-`uname -m` > /opt/bin/docker-compose $... Read more...

    Using WP Scan Docker Image with CoreOS

    27 Aug 2017
    WPScan I wanted to run WPScan against my wordpress install just to make sure I don’t miss anything obvious. Looking over the prerequisites, it looks like it needs a specific version of ruby: Ruby >= 2.1.9 - Recommended: 2.3.3 I checked out my Debian and CentOS machines and I realized they didn’t have that version yet: <> ruby -v ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu] <> ruby -v ruby 2.0.0p648 (2015-12-16) [x86_64-linux] Then I remembered that I... Read more...

    SSD Performance Degradation and SCSI UNMAP Command

    12 Aug 2017
    SSD Drives So I had two sets of SSDs in my VMware setup, one on the local mac mini: [root@macm:~] esxcli storage core device list -d t10.ATA_APPLE_SSD_SM256E t10.ATA_APPLE_SSD_SM256E Display Name: Local ATA Disk (t10.ATA_APPLE_SSD_SM256E) Has Settable Display Name: true Size: 239372 Device Type: Direct-Access Multipath Plugin: NMP Devfs Path: /vmfs/devices/disks/t10.ATA_APPLE_SSD_SM256E Vendor: ATA Model: APPLE SSD SM256E Revision: 2A0Q SCSI Level: 5 Is Pseudo: false Status: on Is RDM Capable: false Is Local: true Is Removable:... Read more...

    Installing CoreOS and Shipyard

    24 Jul 2017
    I wanted to try out CoreOS, an OS that is optimized for Docker Containers. Installing to disk Most of the setup is covered in Installing CoreOS Container Linux to disk. Just download the ISO and then dd it to a USB stick: $ sudo dd if=coreos_production_iso_image.iso of=/dev/sdc bs=1M status=progress After the machine boots from the USB stick, it automatically logs in as the core user. I set the user’s password with the following command: $... Read more...

    Sophos 9 on CentOS 7

    14 Jul 2017
    Sophos As I was going through the lynis suggestions, I realized that I should install an anti-virus solution on my machine. After reading a couple of sites: AV-Test Lab tests 16 Linux antivirus products against Windows and Linux malware The 7 Best Free Linux Anti-Virus Programs I decided to try out sophos. I have used clamav in the past but apparently now it’s detection rate is pretty low: Installing Sophos The instructions are covered in... Read more...

    Setup Paperwork on Debian 8 with Apache

    25 Jun 2017
    Paperwork I wanted to find an application that helps with note taking and it wasn’t cloud based. I just wanted my own app that I could manage myself. So I ran into Paperwork and I decided to give it a try. Install Paperwork on Debian Most of the setup is covered here: Installing Paperwork on Debian 7. First install the prereqs: $ sudo apt-get install php5-mysql curl wget git php5-cli php5-gd php5-mcrypt nodejs nodejs-legacy Next... Read more...

    Install Lynis and Fix Some Suggestions

    11 Jun 2017
    Lynis I kept reading good things about lynis: Tiger is History, Long Live Modern Alternatives! Lynis 2.2.0 Released – Security Auditing and Scanning Tool for Linux Systems Essential tools for hardening and securing Unix based Environments So I decided to give it a try. Installing Lynis on CentOS 7 The install is pretty easy, just setup the repo as per the instructions in Software Repository and then you can just use yum to install it.... Read more...

    Updating to ElasticStack 5.0

    24 May 2017
    Updating Logstash, ElasticSearch, and Kibana to 5.0 I had the following versions installed of the ELK (elasticsearch,logstash,kibana) Stack: <> rpm -qa | grep -iE 'kibana|elastic|logst' logstash-2.3.4-1.noarch elasticsearch-2.4.1-1.noarch kibana-4.5.4-1.x86_64 I read over the Upgrading the Elastic Stack, and here is the recommended update order: Elasticsearch Hadoop (can talk to Elasticsearch 5.0 and 2.x) Elasticsearch X-Pack for Elasticsearch (combines Marvel Agent, Shield, Watcher, and Graph) Kibana (now includes Timelion and Console, formerly known as Sense) X-Pack for... Read more...

    openSUSE on MacBook Pro 6,2

    10 May 2017
    openSUSE Leap 42.2 I had an old mac book pro laying around and I wanted to install linux on it. I have been reading good things about SUSE/openSUSE so I decided to give it a try. When I went to the download page the first download link was for the beta version, so I decided to try the Leap 42.2 Beta version. I downloaded the ISO and burned it to a DVD. After that I... Read more...

    pfSense on Netgate APU4 1Gb Testing

    25 Apr 2017
    I recently played around with AsusWRT and a 1Gb WAN connection and I was actually pretty happy with the results. Check out my previous post on that. And I want to try the same thing on my pfSense firewall which was running on the Netgate APU4. Direct Speed Test Plugging my laptop directly into the modem, I saw the following results: Which I was pretty happy with. pfSense Speed Test Adding pfSense into mix yielded... Read more...