File README changed (mode: 100644) (index ce3e872..eb8fa57) |
22 |
22 |
|
|
23 |
23 |
== Install == |
== Install == |
24 |
24 |
. Edit /etc/rocketgit/config.php |
. Edit /etc/rocketgit/config.php |
|
25 |
|
. Edit /etc/rocketgit/php-fpm.conf |
|
26 |
|
. Edit /etc/rocketgit/pool.conf |
25 |
27 |
. Edit /etc/httpd/conf.d/rocketgit.conf |
. Edit /etc/httpd/conf.d/rocketgit.conf |
26 |
|
. Activate php-fpm: |
|
|
28 |
|
. Activate rocketgit php-fpm: |
27 |
29 |
systemd based distributions: |
systemd based distributions: |
28 |
30 |
# systemctl enable rocketgit-fpm |
# systemctl enable rocketgit-fpm |
29 |
31 |
# systemctl start rocketgit-fpm |
# systemctl start rocketgit-fpm |
|
36 |
38 |
- allow enough RAM and execution time |
- allow enough RAM and execution time |
37 |
39 |
- fix timezone |
- fix timezone |
38 |
40 |
You may want to activate an op cache to speed up the PHP scripts: |
You may want to activate an op cache to speed up the PHP scripts: |
39 |
|
yum install php-opcache |
|
|
41 |
|
# Only on Fedora/CentOS based distributions |
|
42 |
|
yum/dnf install php-opcache |
40 |
43 |
Also, we recommend to activate opcache also for cli: |
Also, we recommend to activate opcache also for cli: |
41 |
44 |
change opcache.enable_cli to 1 in /etc/php.d/10-opcache.ini or |
change opcache.enable_cli to 1 in /etc/php.d/10-opcache.ini or |
42 |
45 |
/etc/php-zts.d/10-opcache.ini. |
/etc/php-zts.d/10-opcache.ini. |
43 |
46 |
|
|
44 |
|
. Activate web server |
|
|
47 |
|
. Activate web server (apache) |
45 |
48 |
systemd based distributions: |
systemd based distributions: |
46 |
49 |
# systemctl enable httpd.service |
# systemctl enable httpd.service |
47 |
50 |
# systemctl restart httpd.service |
# systemctl restart httpd.service |
|
99 |
102 |
- If the web server and the db are not on the same host, you need to |
- If the web server and the db are not on the same host, you need to |
100 |
103 |
replace 127.0.0.1 and ::1 with your "safe network". You may want to use |
replace 127.0.0.1 and ::1 with your "safe network". You may want to use |
101 |
104 |
md5 for authentication. Also, you may want to change 'listen_addresses' |
md5 for authentication. Also, you may want to change 'listen_addresses' |
102 |
|
to '*'. You may also want to activate SSL. Check PostgreSQL manual. |
|
|
105 |
|
to '*'. You may also want to activate SSL. |
103 |
106 |
|
|
104 |
107 |
. Mail |
. Mail |
105 |
108 |
To be able to generate e-mails as other user, you have to: |
To be able to generate e-mails as other user, you have to: |