Create a Test Wordpress Instance using Puppet and Vagrant

    Posted by Karim Elatov on 26 Jun 2014

    As I was playing around with Vagrant: Simple Vagrant Setup Create a Base OpenSUSE Image for Vagrant Upload Vagrant Box to the Vagrant Cloud OpenSUSE Base Box for Vagrant From SUSE Studio Multi VM Vagrant Setup I realized I could also use Puppet to provision the VM. This was my chance to learn puppet, so I set a goal for my self to stand up a web server (with apache/php/wordpress) and a db server (with... Read more

    Multi VM Vagrant Setup

    Posted by Karim Elatov on 24 Jun 2014

    I initialized my vagrant environment with the following: elatov@kmac:~$mkdir test elatov@kmac:~$cd test elatov@kmac:~/test$vagrant init elatov/opensuse13-64 A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` your first virtual environment! Please read the comments in the Vagrantfile as well as documentation on `vagrantup.com` for more information on using Vagrant. Then I modified the Vagrantfile to configure multiple VMs: elatov@kmac:~/test$cat Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : boxes... Read more

    Compile OpenVAS 7 on CentOS 6

    Posted by Karim Elatov on 23 Jun 2014

    After updating OpenVAS from the atomic YUM repository, I realized I wasn’t able to launch Greenbone Security Assistant (gsad). The issue is discussed here. Upon starting the service I saw the following error: Starting greenbone-security-assistant: /usr/sbin/gsad: error while loading shared libraries: libgnutls.so.28: cannot open shared object file: No such file or directory The above could be fixed with the following: echo "/opt/atomic/atomic-gnutls3/root/usr/lib64 > /etc/ld.so.conf.d/gnutls3.conf" But then that caused another issue, so I decided to compile... Read more

    OpenSUSE Base Box for Vagrant From SUSE Studio

    Posted by Karim Elatov on 22 Jun 2014

    As I was creating an OpenSUSE base box for vagrant, I realized that it was still kind of big in size. I wanted to create a minimal base OS of the OpenSUSE Linux Distribution. That is when I ran into SUSE Studio. From SUSE’s site: SUSE Studio is a web-based application for building and testing software applications in a web browser. It supports the creation of physical, virtual or cloud-based applications by leveraging the software... Read more

    Upload Vagrant Box to the Vagrant Cloud

    Posted by Karim Elatov on 21 Jun 2014

    In order for your Vagrant Box to support versioning, you have to use the vagrant cloud (create an account on https://vagrantcloud.com). From Creating A Base Box: You can distribute the box file however you’d like. However, if you want to support versioning, putting multiple providers at a single URL, pushing updates, analytics, and more, we recommend you add the box to Vagrant Cloud. You can upload both public and private boxes to this service. Another... Read more

    Create a Base OpenSUSE Image for Vagrant

    Posted by Karim Elatov on 18 Jun 2014

    There are a bunch of examples on the process. Here are a few sites: Creating A Base Box How to Create a CentOS Vagrant Base Box Creating a Custom Vagrant Box Creating a Custom Vagrant Box from Scratch First of all let’s define what a box is in Vagrant terminology, from Vagrant Docs: Boxes: Instead of building a virtual machine from scratch, which would be a slow and tedious process, Vagrant uses a base image... Read more

    Simple Vagrant Setup

    Posted by Karim Elatov on 15 Jun 2014

    I kept hearing good things about vagrant. Vagrant, from their site, allows you to: Create and configure lightweight, reproducible, and portable development environments. Basically utilizing existing virtualization products (Virtualbox, VMware, AWS … etc) you are able to spin up an environment from a template for your personal use. If you are in need of a quick test enrvironmet, which you can remove after you are done, then vagrant is for you. Let’s try out vagrant,... Read more

    Arch Linux Systemd on ARM Architecture Issue

    Posted by Karim Elatov on 14 Jun 2014

    So I was doing my regular updates on my Arch Linux machine (pacman -Syu). The update incuded a new version of systemd and that wasn’t anything new. After I rebooted I recieved the following error: systemd[1]: Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory Upon doing a google search I ran into [Chromebook XE303C12] Systemd doesn’t boot after upgrade (I was running Arch Linux on the Samsung Chromebook), and it matched my... Read more

    Monitor ESXi S.M.A.R.T Attributes with Zabbix over SSH

    Posted by Karim Elatov on 08 Jun 2014

    From VMware KB 2040405 I saw that we can now get SMART attributes from local disks on an ESXi host. For example here is what I saw on the Mac Mini with the SSD: ~ # esxcli storage core device smart get -d t10.ATA_____APPLE_SSD_SM256E________________________S1AANYNF302924______ Parameter Value Threshold Worst ---------------------------- ----- --------- ----- Health Status OK N/A N/A Media Wearout Indicator N/A N/A N/A Write Error Count N/A N/A N/A Read Error Count 200 0 200... Read more

    ESXi Patch for HeartBleed

    Posted by Karim Elatov on 07 Jun 2014

    I decided to apply the heartbleed patch on my ESXi host, there were some concerns and confusion with the latest NFS issue and 5.5GA versus 5.5U1. There is a lot of good information in VMware KB 2076665. But I actually liked the summary from this VMware blogs page: Stated simply, if you are… Using NFS storage Concerned about patching to Update 1 due to change control Not already running ESXi 5.5 Update 1 (build-1623387) …... Read more