Optimize php config. Use existing www-data user.

This commit is contained in:
Jan Eitzinger
2021-09-14 12:42:12 +02:00
parent e612f6c3ce
commit 7a9f1ba599
6 changed files with 11 additions and 21 deletions

View File

@@ -22,10 +22,10 @@ wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais
tar xJf job-archive.tar.xz
rm ./job-archive.tar.xz
# 101 is the uid and gid of the user and group www in the cc-php container running php-fpm.
# 101 is the uid and gid of the user and group www-data in the cc-php container running php-fpm.
# For a demo with no new jobs it is enough to give www read permissions on that directory.
echo "This script needs to chown the job-archive directory so that the application can write to it:"
sudo chown -R 101:101 ./job-archive
# echo "This script needs to chown the job-archive directory so that the application can write to it:"
# sudo chown -R 82:82 ./job-archive
mkdir -p influxdb/data
wget https://hpc-mover.rrze.uni-erlangen.de/HPC-Data/0x7b58aefb/eig7ahyo6fo2bais0ephuf2aitohv1ai/influxdbv2-data.tar.xz