diff options
author | Silvino Silva <silvino@bk.ru> | 2016-10-03 18:45:10 +0100 |
---|---|---|
committer | Silvino Silva <silvino@bk.ru> | 2016-10-03 18:45:10 +0100 |
commit | 44f7d00ad1d32bae79bca07ee5958a3da163c6e5 (patch) | |
tree | 0a7c605a23e80853af8985e838a7f4f7d98a3d8c /tools/scripts | |
parent | dc2392c0420d3e25771a4bc1967ae97cba16194d (diff) | |
parent | cd136e5c6bb718bbc5b3ba9e1edcf883d58bded7 (diff) | |
download | doc-44f7d00ad1d32bae79bca07ee5958a3da163c6e5.tar.gz |
Merge branch 'f-certs' into r-0.2.3
Diffstat (limited to 'tools/scripts')
-rw-r--r-- | tools/scripts/install-nginx.sh | 4 | ||||
-rw-r--r-- | tools/scripts/install-php.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tools/scripts/install-nginx.sh b/tools/scripts/install-nginx.sh index 7fee79b..decacc1 100644 --- a/tools/scripts/install-nginx.sh +++ b/tools/scripts/install-nginx.sh @@ -6,6 +6,9 @@ prt-get depinst nginx cp -R $CONF_DIR/etc/nginx/* /etc/nginx/ +mkdir /srv/www +chown nginx:www /srv/www + usermod -a -G www nginx usermod -m -d /srv/www nginx @@ -18,3 +21,4 @@ openssl x509 -req -days 365 \ cp /etc/ssl/keys/nginx.key /etc/ssl/keys/nginx.key.pass openssl rsa -in /etc/ssl/keys/nginx.key.pass -out /etc/ssl/keys/nginx.key + diff --git a/tools/scripts/install-php.sh b/tools/scripts/install-php.sh index 9d47ada..4c28173 100644 --- a/tools/scripts/install-php.sh +++ b/tools/scripts/install-php.sh @@ -2,6 +2,6 @@ . `dirname $0`/config-install.sh -prt-get depinst php php-fpm php-gd php-pdo-pgsql +prt-get depinst php php-fpm php-gd php-pdo-pgsql php-postgresql cp /etc/php/php.ini-development /etc/php/php.ini |