code-complete.com

est. 1998 - v.10

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 successful build pushed to bluemix by running an Excecute Shell in the Build Step with the following commands:.. Read More

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 renaming /etc/php-5.5.d/libevent.ini to x-libevent.ini (sockets.ini would then load before it.)

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. However, with the client’s best interest and budget taken to heart, we decided to try and use as.. Read More

DevOps Automation – Ansible+Semaphore is Indispensable!

As SpireMedia delves deeper in DevOps, I have had the opportunity to test drive a number of automation technologies – Puppet and Chef, of course.  But the open-source, python-based ansible project is far and away my preferred technology for automating server configuration and initial web app deployments and configuration.  It even handles could-based instance provisioning!  One of it’s best features is that it needs no client agent running on the target server –.. Read More

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. Were hiring for a full-time position in DevOps Engineering. Job Description: The DevOps Engineer will primarily be responsible.. Read More

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. yum install ant 10. chkconfig –level 3 tomcat6 on 11. chkconfig –level 4 tomcat6 on 12. chkconfig –level.. Read More

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 W3SVC1313602513 XX.XXX.XXX.234 POST /CFIDE/adminapi/administrator.cfc method=login 443 – 193.0.202.101 WWW-Mechanize/1.73 200 0 0 2014-03-13 08:20:49 W3SVC1313602513 XX.XXX.XXX.234 GET /CFIDE/administrator/settings/mappings.cfm.. Read More

Coldfusion CFIDE bitcoin mining exploit – PHP involved…

 An additional file related to the compromise found at /CFIDE/updates.cfm <html> <body> <!— Created by S?bastien Denis – 1.0 : 23-nov-2004 1.1 : 03-fev-2005 – new action: synchronize ============================================================================ The FileManager can be use as a common file manager or as a CFMODULE use inside an application. ============================================================================ Depending of the action (fuseaction attributes), the other attributes are… FUSEACTION OTHER ATTRIBUTES ============================================================================ PASSWORD If password is required to access the module. Display a.. Read More

Translate »