partly postgres update
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
PKG py39-pip py39-pikepdf py39-scikit-learn liberation-fonts-ttf imagemagick7 zbar unpaper icc-profiles-adobe-cs4 qpdf leptonica pngquant lzlib tesseract redis git mysql80-client mysql80-server py39-psycopg2 cmake py39-scipy gcc rust gnupg py39-pyinotify py39-sqlite3 libxml2 libxslt expect curl
|
PKG py39-pip py39-pikepdf py39-scikit-learn liberation-fonts-ttf imagemagick7 zbar unpaper icc-profiles-adobe-cs4 qpdf leptonica pngquant lzlib tesseract redis git mysql80-client mysql80-server py39-psycopg2 cmake py39-scipy gcc rust gnupg py39-pyinotify py39-sqlite3 libxml2 libxslt expect curl postgresql13-server sudo
|
||||||
|
|
||||||
SYSRC redis_enable="YES"
|
SYSRC redis_enable="YES"
|
||||||
SERVICE redis start
|
SERVICE redis start
|
||||||
|
|||||||
@@ -3,3 +3,21 @@ Artifact file(s) for Paperless NGX iocage plugin
|
|||||||
|
|
||||||
|
|
||||||
After install, the admin username and password are both "admin". Please change at first login for security reasons. The web portal for paperless-ngx will be the jail ip address and port 8000. More information on paperless-ngx can be found at https://paperless-ngx.readthedocs.io/en/latest/index.html.
|
After install, the admin username and password are both "admin". Please change at first login for security reasons. The web portal for paperless-ngx will be the jail ip address and port 8000. More information on paperless-ngx can be found at https://paperless-ngx.readthedocs.io/en/latest/index.html.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
allow.sysvipc = 1;
|
||||||
|
postgresql13-server sudo
|
||||||
|
|
||||||
|
/usr/local/etc/rc.d/postgresql initdb
|
||||||
|
|
||||||
|
postgresql_enable="YES"
|
||||||
|
|
||||||
|
psql -c "alter user postgres with password 'password'"
|
||||||
|
|
||||||
|
psql CREATE USER paperless CREATEDB; CREATE DATABASE paperless; GRANT ALL PRIVILEGES ON DATABASE paperless TO paperless;
|
||||||
|
|
||||||
|
psql -U postgres -c "CREATE DATABASE paperless;"
|
||||||
|
psql -U postgres -c "CREATE USER paperless WITH password 'paperless';"
|
||||||
|
psql -U postgres -c "GRANT ALL privileges ON DATABASE paperless TO paperless;"
|
||||||
Reference in New Issue
Block a user