title: how to change port number for Jenkins installation In Ubuntu 12.04
body: <p>I am trying to install jenkins in ubuntu. I have followed the commands below:</p>
  
  <pre><code>wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | apt-key add -
  
  echo deb http://pkg.jenkins-ci.org/debian binary/ &gt; /etc/apt/sources.list.d/jenkins.list
  </code></pre>
  
  <p>then </p>
  
  <pre><code>apt-get update
  </code></pre>
  
  <p>and </p>
  
  <pre><code>apt-get install jenkins
  </code></pre>
  
  <p>but It shows </p>
  
  <blockquote>
    <ul>
    <li>Starting Jenkins Continuous Integration Server Jenkins                           The selected http port (8080) seems to be in use by another program 
    Please select another port to use for jenkins</li>
    </ul>
  </blockquote>
  
  <p>Need help on how to set a different port for Jenkins to run.</p>