From 44c6f6d2be5e64a21ebe9a544b1d7295868bf1bc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Dec 2015 16:16:57 +0200 Subject: Add ACL instructions to INSTALL --- INSTALL | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 737fa9d..65c9146 100644 --- a/INSTALL +++ b/INSTALL @@ -15,8 +15,6 @@ without a password: # echo "brep ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/brep # chmod 0440 /etc/sudoers.d/brep -@@ TODO ACL - In the rest of this guide commands that start with the $ shell prompt are expected to be executed as the brep user and in its home directory. @@ -27,6 +25,19 @@ a) Install a C++ compiler using your distribution's package. b) Install PostgreSQL 9.x and Apache2 using your distribution's packages. + Also check that the files in /home/brep are readable by "others". If they + are not, then run the following command to grant Apache2 read access: + + $ setfacl -dm g:www-data:rx /home/brep + + In the above command and in the rest of this guide replace www-data with + the user name under which Apache2 is running (See the "User" directive in + the Apache2 .conf file). + + [Note that strictly speaking www-data in the above command is the Apache2 + group, not user. However, most installations use the same name for both.] + + c) Install PostgreSQL and Apache2 development files. Specifically, we need PostgreSQL's libpq and Apache's libapr and web server development files. Below are the names of their packages for some distributions: @@ -188,3 +199,5 @@ To verify, visit the repository root. To troubleshoot, see Apache logs. - migrate schema - resume loader, force a run - start apache + + - save old config, install -- cgit v1.1