Linux add disk space using LVM ec2 AWS instances when launching an image with larger storage

fdisk /dev/xvda n (create new partition – use defaults) p (primary partition) 3 (partition number) w (write partition table to disk) reboot server mkfs.ext3 /dev/xvda3 (write file system to partition) pvcreate /dev/xvda3 (Initialize the partition for use as a physical volume in lvm and add it to VolGroup) vgextend VolGroup /dev/xvda3 lvextend -L +70G /dev/mapper/VolGroup-lv_root […]

Alternate way Automated node.js Deployments to Bluemix via Jenkins

After having used the CloudFoundry plugin for Jenkins for a bit we found that the BM API was periodically erroring out and returning such things as: 400 Bad Request and Java.net.SocketTimeoutException: Read timed out and 502 Bad Gateway So I installed the cf tools on the jenkins server and was many times able to get […]

php55 Warning on startup

PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/5.5/modules/libevent.so’ – /usr/lib64/php/5.5/modules/libevent.so: undefined symbol: php_sockets_le_socket in Unknown on line 0 Warnings like this are typically due to certain module load order dependencies and can be fixed by ensuring the dependant module loads after the required module. In this case I reordered the module loads by […]

Automated node.js Deployments to Bluemix via Jenkins

One of our new clients is a partner of IBM and we are building a node.js-based application for them. Through their IBM partnership they were encouraged to leverage IBM’s Bluemix Cloud Foundry-based PaaS for development and deployment. We have plenty of experience with virtualized environments and are always interested in exploring new technologies and platforms. […]

DevOps Automation – Ansible+Semaphore is Indispensable!

UPDATE Semaphore 2.x is in current release and much of the information regarding the install process below is no longer relevant as the package has been significantly refactored. The developers have made it much easier to install: See the install directions here: https://github.com/ansible-semaphore/semaphore/wiki/Installation I deviated a bit, but got it up and running in less […]

SpireMedia Seeks DevOps Engineer (Denver-RiNo)

Based on fit. Consistently ranked as one of Denvers Best Places to Work, SpireMedia (http://www.spiremedia.com) is a Denver-based digital product development firm that transforms business through the use of web and mobile technologies. The firm serves an international clientele from start-ups to Fortune 500 companies and has been in business for more than 16 years. […]

Steps to install apache-solr under tomcat6 on Amazon Ec2 Linux AMI

Ensure Java 1.7 is installed and is default selected JAVA_HOME or install yum install java-1.7.0-openjdk.x86_64 yum install java-1.7.0-openjdk-devel.x86_64 alternatives –update java 1. cd /usr/local/src 2. mkdir RPMS 3. cd RPMS 4. wget http://mirrors.dotsrc.org/jpackage/6.0/generic/free/RPMS/jpackage-release-6-3.jpp6.noarch.rpm 5. yum localinstall jpackage-release-6-3.jpp6.noarch.rpm 6. yum install tomcat6 (may need –nogpgcheck flag for dependencies) 7. wget ftp://ftp.pbone.net/mirror/www.jpackage.org/jpackage/5.0/generic/free/RPMS/jakarta-poi-3.2-1.jpp5.noarch.rpm 8. yum localinstall jakarta-poi-3.2-1.jpp5.noarch.rpm 9. […]

Coldfusion CFIDE bitcoin mining exploit – URL attack vectors

The MinerD / m32.exe file, the MD5 HASH for the file confirms it to be a variant of miner daemon. (lightcoin / bitcoin mining daemon) 2014-03-13 08:20:44 W3SVC1313602513 XX.XXX.XXX.234 GET /CFIDE/administrator/enter.cfm – 443 – 193.0.202.101 WWW-Mechanize/1.73 200 0 0 2014-03-13 08:20:45 W3SVC1313602513 XX.XXX.XXX.234 GET /CFIDE/adminapi/base.cfc wsdl 443 – 193.0.202.101 WWW-Mechanize/1.73 200 0 0 2014-03-13 08:20:47 […]