<p>At this time I post this question, everything is ok. But during installation process, I've met some problem that make me so confused.<br>
1. I've built Postgresql from source, so I've ran it as instance in console. And when I ran the command: bundle exec rake db:create, it take the error that cannot connect to Postgres database, although I've set its setting to listen to all address and run in port 5432. So, I've had to install postgresql as service like your instructions and everything is ok. </p>

<ol>
<li>I've login as root user to build, and nothing happen until I run the three commands to create function: psql -d openstreetmap -c "CREATE FUNCTION .... The error has occured: libpgosm permission denied. I can't understand, I've ran everything as root user at the beginning and I've also create root role for postgres database. I've tried to login to the database as root role and ran the command but nothing changed. Maybe CREATE FUNCTION call to something that did not run as root?</li>
</ol>

<p>Hope to see your help!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/issues/978">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLQof_OpYDATkwP0qh0sNcEnF4F2Gks5oODCogaJpZM4Eu7Zt.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/issues/978"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>