FusionCloud – TechTalks + Tips and Tricks + Linux + etc

TechTalks + Tips and Tricks + Linux + etc


February 2012 at Drupal Camp Manila 2012

My co-presenter Charie Villa – Drupal for Open Transparency and Good Governance
Charie powerfully emphasizing that is not politically inclined organization, it will remain a tool for the filipino people
Me talking about my advocacy on Open Government and Transparency
Talking about how we integrated drupal on android phone
Listing down modules that were installed at “Making Government Work for Me”

New Amsterdam Ideas(NAI) at Drupal Camp Manila 2012

New Amsterdam Ideas

NAI is proud to announce that we will be sponsoring and presenting at Drupal Camp 2012 @ the University of the Philippines, Manila.

The event is set to take place February 25, 2012

Drupal Camp Manila  is one of the largest gatherings of developers, students to discuss and learn about Drupal. Drupal is an open-source content management system that powers 1% of all website in the world.

Updated: Feb 26, 2011

Pictures taken @ Audi Visual Room, UP Diliman QC.

getting ready with my topic – Intelligent Mapping using Openlayers + Tilemill + Mapbox
There were 250 drupal developers , students attended the event
a friend of mine from cnngo hongkong
Go Go Go New Amsterdam Ideas
Add caption
NAI in action
About to start my talk

Drupal Camp Manila 2012

I volunteered as presenter at  Drupal Camp 2012, with two topics.

2. Drupal for Government Transparency and Good Governance  with Co-presenter Charie Villa of ABS-CBN

We highlighted as tool for government transparency and good governance. It uses major modules, like panels, views, display suite, web services(restful json for Android Phone integration and IOS).

2. Intelligent Mapping using Openlayers

Mapping is the process of designing, implementing, generating, and delivering maps on the World Wide Web and its products. OpenLayers is a powerful, community driven, open source, pure JavaScript web mapping library. With it, you can easily create your own web map mashup using WMS, Google Maps, and a myriad of other map backends.
Automate generation of latitude and longitude using wkt, just adding address and you will be free from hazzle of manually inputting locations(lat and long).
Build an intelligent search engine using map, add proximity filter using distance.

How to install jenkins on ec2 ubuntu image disc


wget -q -O - | sudo apt-key add -
sudo sh -c 'echo deb binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo aptitude update
sudo aptitude install jenkins


Once installed like this, you can update to the later version of Jenkins (when it comes out) by running the following commands:

sudo aptitude update
sudo aptitude install jenkins

(aptitude or apt-get doesn’t make any difference.)

What does this package do?

  • Jenkins will be launched as a daemon up on start. See /etc/init.d/jenkins for more details.
  • The ‘jenkins‘ user is created to run this service.
  • Log file will be placed in /var/log/jenkins/jenkins.log. Check this file if you are troubleshooting Jenkins.
  • /etc/default/jenkins will capture configuration parameters for the launch.
  • By default, Jenkins listen on port 8080. Access this port with your browser to start configuration.

Setting up an Apache Proxy for port 80 -> 8080

  • This configuration will setup Apache2 to proxy port 80 to 8080 so that you can keep Jenkins on 8080.
  • sudo aptitude install apache2
  • sudo a2enmod proxy
  • sudo a2enmod proxy_http
  • sudo a2enmod vhost_alias
    do not do this next command if you already have virtual hosting setup that depends on the default site. See my comment below – danapsimer
  • sudo a2dissite default
  • Create a file called jenkins in /etc/apache2/sites-available
<VirtualHost *:80>
	ServerAdmin webmaster@localhost
	ServerAlias ci
	ProxyRequests Off
	<Proxy *>
		Order deny,allow
		Allow from all
	ProxyPreserveHost on
	ProxyPass / http://localhost:8080/
  • sudo a2ensite jenkins
  • sudo apache2ctl restart

Setting up an Nginx Proxy for port 80 -> 8080

This configuration will setup Nginx to proxy port 80 to 8080 so that you can keep Jenkins on 8080. Instructions originally found in a GitHub Gist from rdegges

  • Install Nginx.
    sudo aptitude -y install nginx
  • Remove default configuration.
    cd /etc/nginx/sites-available
    sudo rm default
  • Create new configuration for Jenkins. This example uses cat, but you can use your favorite text editor. Make sure to replace ‘’ with your domain name.
    Note: Sometimes your permissions (umask, etc) might be setup such that this won’t work. Create the file somewhere else then copy it into place if you run into that problem.

    sudo cat > jenkins
    upstream app_server {
        server fail_timeout=0;
    server {
        listen 80;
        listen [::]:80 default ipv6only=on;
        location / {
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Host $http_host;
            proxy_redirect off;
            if (!-f $request_filename) {
                proxy_pass http://app_server;
    ^D # Hit CTRL + D to finish writing the file
  • Link your configuration from sites-available to sites-enabled:
    sudo ln -s /etc/nginx/sites-available/jenkins /etc/nginx/sites-enabled/
  • Restart Nginx
    sudo service nginx restart
     You have just installed jenkins

Create a free website or blog at

Up ↑