fix bug
This commit is contained in:
parent
ddd7ee5f7c
commit
e9bc3f2d2c
1 changed files with 1 additions and 9 deletions
|
@ -92,13 +92,7 @@ sudo apt install -y -V postgresql-16-pgdg-pgroonga
|
||||||
|
|
||||||
## Configuration PostgreSQL
|
## Configuration PostgreSQL
|
||||||
|
|
||||||
1. Execute this to running `psql` as `postgres` user.
|
Create Firefish database, user and PGroonga extension.
|
||||||
|
|
||||||
```sh
|
|
||||||
sudo -u postgres psql
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Create Firefish database, user and PGroonga extension.
|
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo --user=postgres createuser --no-createdb --no-createrole --no-superuser --encrypted --pwprompt firefish
|
sudo --user=postgres createuser --no-createdb --no-createrole --no-superuser --encrypted --pwprompt firefish
|
||||||
|
@ -106,8 +100,6 @@ sudo --user=postgres createdb --encoding='UTF8' --owner=firefish firefish_db
|
||||||
sudo --user=postgres psql --command='CREATE EXTENSION pgroonga;' --dbname=firefish_db
|
sudo --user=postgres psql --command='CREATE EXTENSION pgroonga;' --dbname=firefish_db
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run `exit` to return.
|
|
||||||
|
|
||||||
## Install Redis, Python 3 and build-essential
|
## Install Redis, Python 3 and build-essential
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in a new issue