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 […]

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 […]

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 […]