Files
T

17 lines
790 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Установка PostgreSQL на Debian 7 Wheezy"
date: 2015-01-10 12:00:00 +0300
draft: true
tags: []
---
Начинается всё со стандартной команды:
sudo aptitude postgresql
Поскольку владельцем папки с файлами postgre и пользователем от когорого запускается демон postgre не может быть root, то нам потребуется создать нового пользователя:
sudo useradd  postgres --password postgrespasswd --user-group --create-home,
где postgrespasswd - это пароль для создаваемого нового пользователя, который Вам нужно изменить на свой.