I\'ve installed Jenkins on my Ubuntu machine running on compute engine in Google Cloud with below commands.
sudo apt-get install apache2 libapache2-mod-php5 p