From 7944577ede672f3e97f7830e892d5f2ab5790684 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Thu, 29 Apr 2021 16:39:12 +0300 Subject: Add nginx and php-fpm config files --- usage.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 usage.md (limited to 'usage.md') diff --git a/usage.md b/usage.md new file mode 100644 index 0000000..1d25ff9 --- /dev/null +++ b/usage.md @@ -0,0 +1,19 @@ +## Starting services + +```sh +php-fpm --fpm-config php/php-fpm.conf +nginx -p nginx/ -c nginx.conf +``` + +## postgresql +### setup +```sh +$ initdb -D /path/to/postgres.d +$ createdb -h localhost -p 5432 -U red bugtracker + +# starting +pg_ctl -D /home/red/etc/postgres/ -l logfile start + +# connecting +psql -h localhost bugtracker +``` -- cgit v1.2.1