|
|||||||
Installing PostgreSQL on Linux/Unix
Время создания: 30.09.2017 21:36
Раздел: Postgres - install PostgreSQL
Запись: xintrea/mytetra_db_mcold/master/base/1506796611bjriziob7c/text.html на raw.githubusercontent.com
|
|||||||
|
|||||||
Installing PostgreSQL on Linux/Unix Follow the given steps to install PostgreSQL on your Linux machine. Make sure you are logged in as root before you proceed for the installation.
[root@host]# chmod +x postgresql-9.2.4-1-linux-x64.run [root@host]# ./postgresql-9.2.4-1-linux-x64.run ------------------------------------------------------------------------
Welcome to the PostgreSQL Setup Wizard. ------------------------------------------------------------------------
Please specify the directory where PostgreSQL will be installed. Installation Directory [/opt/PostgreSQL/9.2]:
Please wait while Setup installs PostgreSQL on your computer. Installing 0% ______________ 50% ______________ 100% ######################################### -----------------------------------------------------------------------
Setup has finished installing PostgreSQL on your computer.
[root@host]# su - postgres Password: bash-4.1$ createdb testdb bash-4.1$ psql testdb psql (8.4.13, server 9.2.4) test=#
[root@host]# service postgresql restart Stopping postgresql service: [ OK ] Starting postgresql service: [ OK ]
|
|||||||
Так же в этом разделе:
|
|||||||
|
|||||||
|