ATech Machine LIBRA-02 M Technical Information Page 380

  • Download
  • Add to my manuals
  • Print
  • Page
    / 734
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 379
Then run the following commands to create the asterisk user in the database and set
up permissions:
$ createuser -P
Enter name of user to add: asterisk
Enter password for new user:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
CREATE ROLE
Now, edit the pg_hba.conf file in order to allow the asterisk user you just created to
connect to the PostgreSQL server over the TCP/IP socket.
On CentOS, this file will be located at /var/lib/pgsql/data/pg_hba.conf. On Ubuntu, you
will find it at /etc/postgresql/8.4/main/pg_hba.conf.
At the end of the file, replace everything below this line:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
with the following:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
host all asterisk 127.0.0.1/32 md5
local all asterisk trust
Configuring PostgreSQL Database Access via IPv6 localhost
Also, on Ubuntu you will likely need to add the following line:
host all asterisk ::1/128 md5
Without it, when you get to “Validating the ODBC Connector” on page 351 you may
end up with the following error when connecting:
[28000][unixODBC]FATAL: no pg_hba.conf entry for host "::1", user "asterisk",
database "asterisk", SSL off
[ISQL]ERROR: Could not SQLConnect
Now you can create the database that we will use throughout this chapter. Call the
database asterisk and set the owner to your asterisk user:
$ createdb --owner=asterisk asterisk
CREATE DATABASE
You can set the password for the asterisk user like so:
$ psql -d template1
template1=# "ALTER USER asterisk WITH PASSWORD 'password'"
template1=# \q
Exit from the postgres user:
$ exit
344 | Chapter 16:Relational Database Integration
Page view 379
1 2 ... 375 376 377 378 379 380 381 382 383 384 385 ... 733 734

Comments to this Manuals

No comments

GE GTD86GSSJWS podręczniki

Instrukcje obsługi i podręczniki użytkownika dla Suszarki GE GTD86GSSJWS.
Dostarczamy 1 pdf podręczników GE GTD86GSSJWS do pobrania za darmo według typów dokumentów: Arkusz Specyfikacji


Ge GTD86GSSJWS Arkusz Specyfikacji (4 strony)


Marka: Ge | Kategoria: Tumble dryers | Rozmiar: 0.37 MB |

 

Spis treści





Więcej produktów i instrukcji dla Suszarki GE

Modele Rodzaj dokumentu
DSKS433EBWW Instrukcja Użytkowania i Eksploatacji   GE DSKS433EBWW Use and Care Manual, 16 strony
GTD42EASJWW Instrukcja Użytkowania i Eksploatacji   GE GTD42EASJWW Use and care Manual [el] [es] [nl] [pt] , 12 strony
GTD65EBSJWS Instrukcja Właściciela    GE GTD65EBSJWS Owner's Manual, 32 strony
GTX42EASJWW Instrukcja Użytkowania i Eksploatacji   GE GTD45EASJWS Use and Care Manual, 12 strony
GTD42EASJWW Arkusz Specyfikacji   GE GTD42EASJWW Spec Sheet, 3 strony
GFDR270GHWW Instrukcja Właściciela      GE GFDR270GHWW Owner's Manual, 144 strony
DSKS433EBWW Instrukcja Właściciela   GE DSKS433EBWW Owner's Manual, 16 strony
GFT14ESSLWW Arkusz Specyfikacji   GE GFT14ESSLWW Specifications Sheet, 5 strony
GTD65GBSJWS Instrukcja Instalacji   GE GTD65GBSJWS Installation Instructions, 20 strony
GTX42EASJWW Arkusz Specyfikacji   GE GTX42EASJWW Spec SHeet, 3 strony
GTD75GCPLDG Krótka Specyfikacja   GE GTD75GCPLDG Quick Specs, 4 strony
GTD45EASJWS Instrukcja Instalacji   GE GTD45EASJWS Installation Manual, 20 strony
WCVH4800KWW Krótka Specyfikacja   GE WCVH4800KWW Quick Specs, 4 strony
GTD81ESSJWS Instrukcja Instalacji    GE GTD81ESSJWS Installation instructions, 28 strony
GTD81ESSJWS Arkusz Specyfikacji   GE GTD81ESSJWS Spec Sheet, 3 strony
GTD42EASJWW Krótka Specyfikacja   GE GTD42EASJWW Quick Specs, 3 strony
GFDR270GHWW Instrukcja Właściciela      GE GFDR270GHWW Owner's Manual, 144 strony