title: How to start redis-server on a different port than the default port 6379 in ubuntu
body: <p>How to start <code>redis-server</code> on a different port than the default port <code>6379</code> in Ubuntu? I have used the following steps to install the redis:</p>
  <pre><code>sudo add-apt-repository ppa:rwky/redis
  sudo apt-get update
  sudo apt-get -y install redis-server
  </code></pre>
  <p>I installed it, but I don't know how to start <code>redis-server</code> on a different port than the default port <code>6379</code>. So kindly tell me the steps to change the default port to different port?</p>