title: Can't install Rabbitmq-server on Ubuntu 18.04
body: <p>I've been trying to install rabbitmq-server into my Ubuntu machine and it keeps giving the following error:
  <a href="https://i.stack.imgur.com/pI8t3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pI8t3.png" alt="enter image description here"></a></p>
  
  <p>I have gone through so many articles among the internet and they all say that I have to change my </p>
  
  <blockquote>
    <p>/etc/hostname -- currently only 'localhost'</p>
  </blockquote>
  
  <p>or</p>
  
  <blockquote>
    <p>/etc/host -- see below current config
    <a href="https://i.stack.imgur.com/R5hEU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R5hEU.png" alt="enter image description here"></a></p>
  </blockquote>
  
  <p>however, it doesn't matter what I add or change, rabbitmq-server never start and thus, the installation doesn't finish.</p>
  
  <p>Does anyone know how I can fix that? 
  Thank you all in advance for your help.</p>