title: How to run initdb for postgresql 9.2 on centos7?
body: <p>So,</p>
  
  <p>My admin installed (don't know how) postgresql 9.2 (64 bit version) on a centos7 machine. The thing is I need to initalize the database so I should run something like:</p>
  
  <pre><code>service postgresql-9.2 initdb
  </code></pre>
  
  <p>but I get error:</p>
  
  <pre><code>The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
  </code></pre>
  
  <p>Did some search and people said that you should initialize via direct call to some script, but every given location does not exists in this CentOS 7 machine.</p>
  
  <p>Like for example this location (yeah, it is for 9.3 and I use 9.2, but similar location does not exist anyway):</p>
  
  <pre><code>/usr/lib/pgsql-9.3/bin/postgresql93-setup initdb
  </code></pre>
  
  <p>or this </p>
  
  <pre><code>/usr/pgsql-9.3/bin/postgresql93-setup initdb
  </code></pre>
  
  <p>I found out </p>
  
  <pre><code>/usr/lib64/pgsql 
  </code></pre>
  
  <p>but this directory has only a bunch of  '*.so' files. </p>
  
  <p>How the hell do I run initdb for postgresql 9.2 on centos7?</p>