poniedziałek, 20 lutego 2017

How to set up PostreSQL database for Bitbucket on Debian

Install PostreSQL if you haven't already

~$ sudo apt-get update
~$ sudo apt-get install postgresql postgresql-client

Create database user 'jira'

~$ sudo su - postgres
~$ createuser -P bitbucket
Enter password for new role:
Enter it again:
~$ exit
~$ sudo -u postgres psql -c 'alter user bitbucket with createdb' postgres

Create database 'bitbucketdb'

~$ sudo su - bitbucket
~$ createdb -E UNICODE -l C -T template0 bitbucketdb
~$ exit

No go to Bitbucket set up by web browser and continue installation

2 komentarze:

  1. Sometimes 'createuser -P bitbucket' doesn't create system level user. If so, you need to create os level user manually: 'sudo adduser bitbucket'.

    OdpowiedzUsuń
  2. All exciting provides are listed there, and you’ll be blown away by what number of} bonuses have the ability to|you possibly can} redeem. No different on-line 온라인 카지노 순위 on line casino can beat Red Dog phrases of|in relation to} game-specific bonuses. Once you register at the on line casino, have the ability to|you possibly can} instantly declare a beneficiant welcome provide with the code WAGGINGTAILS. The finest way to begin is by reading a evaluation guide like this one, as it's going to introduce you to a spread of legit casinos where have the ability to|you possibly can} play free slots. Not simply that, but it's going to also spotlight the strengths and weaknesses of every on line casino web site that you just can|so as to|to find a way to} higher determine which ones to hitch. New players can benefit of|benefit from|reap the benefits of} a 500% as much as} $2,500 welcome bonus at Ducky Luck.

    OdpowiedzUsuń