Running Jenkins to work with Apache on Port 80

Tested on Centos 6 and Jenkins installed with RPM from jenkins-1.527-1.1.noarch

Change the /etc/sysconfig/jenkins with right JENKINS_ARGS

#JENKINS_ARGS=”–prefix=/jenkins”  #If you wanna run like http://localhost
JENKINS_ARGS=””  # if you wanna run Jenkins on the index

[root@tiber07 jenkins]# cat /etc/httpd/conf.d/jenkins.conf

    ProxyPass         /jenkins  http://localhost:8080/
    ProxyPassReverse  /jenkins  http://localhost:8080/
    ProxyRequests     Off
    ProxyPreserveHost On
        Order deny,allow
        Allow from all
    RewriteEngine on
    RewriteRule   ^/jenkins/(.+) http://%{HTTP_HOST}/$1

#Make sure to change the Proxy Pass location depending what u defined in JENKINS_ARGS

Dropbox commandline

Take a CentOS 6.x box for a smooth install (the curl on centos 5.x seems buggy/incompatible)
  • As root user, run the 2 commands below
  • dropbox_uploader is installed and can be run by any user. As root or as any other user… run command
    • dropbox_uploader
    • Do the instructions as the script says
      •  1) Open the following URL in your Browser, and log in using your account:
      •  2) Click on “Create App”, then select “Dropbox API app”
      •  3) Select “Files and datastores”
      •  4) Now go on with the configuration, choosing the app permissions and access restrictions to your DropBox folder
      •  5) Enter the “App Name” that you prefer (e.g. JunedTest)
      • Now, click on the “Create App” button.
      •  When your new App is successfully created, please COPY the, App Key, App Secret and the Permission type shown in the confirmation page
      • Asks you to confirm by going to a URL like, click ALLOW
      • It saves your info (in the file .dropbox_uploader)
      • Run “dropbox_uploader” which prints all commands
To remove the credentials, remove the file .dropbox_uploader in your home dir.

Remove /usr/local/bin/dropbox_uploader if u no longer need it.