File README changed (mode: 100644) (index 57dfb7c..5e4d1e3) |
25 |
25 |
- It is recommended to NOT install rocketgit on a multiuser machine. |
- It is recommended to NOT install rocketgit on a multiuser machine. |
26 |
26 |
There are some things that should be fixed first. We are working on it. |
There are some things that should be fixed first. We are working on it. |
27 |
27 |
|
|
28 |
|
. Prepare SELinux |
|
29 |
|
# setsebool -P \ |
|
30 |
|
httpd_can_network_connect_db=on \ |
|
31 |
|
httpd_can_network_connect=on \ |
|
32 |
|
httpd_can_sendmail=on |
|
33 |
|
|
|
34 |
28 |
. Edit /etc/rocketgit/config.php |
. Edit /etc/rocketgit/config.php |
35 |
29 |
. Edit /etc/httpd/conf.d/rocketgit.conf |
. Edit /etc/httpd/conf.d/rocketgit.conf |
36 |
30 |
|
|
|
58 |
52 |
|
|
59 |
53 |
. Configure PostgreSQL server |
. Configure PostgreSQL server |
60 |
54 |
# systemctl enable postgresql.service |
# systemctl enable postgresql.service |
61 |
|
# postgresql-setup initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!) |
|
|
55 |
|
# postgresql-setup --initdb (TAKE CARE! YOU MAY DESTROY ALL YOUR DATA!) |
|
56 |
|
# export PGSETUP_INITDB_OPTIONS="--data-checksums" # recommended |
62 |
57 |
# systemctl start postgresql.service |
# systemctl start postgresql.service |
63 |
58 |
|
|
64 |
59 |
. Create a PostgreSQL user and database |
. Create a PostgreSQL user and database |
65 |
60 |
# su - postgres |
# su - postgres |
66 |
|
$ createuser -d -R -S rocketgit |
|
|
61 |
|
$ createuser --createdb --no-createrole --no-superuser rocketgit |
67 |
62 |
$ createdb -O rocketgit rocketgit |
$ createdb -O rocketgit rocketgit |
68 |
63 |
|
|
69 |
64 |
. Allow access to PostgreSQL and restart: |
. Allow access to PostgreSQL and restart: |
|
73 |
68 |
host rocketgit rocketgit 127.0.0.1/32 trust |
host rocketgit rocketgit 127.0.0.1/32 trust |
74 |
69 |
host rocketgit rocketgit ::1/128 trust |
host rocketgit rocketgit ::1/128 trust |
75 |
70 |
|
|
76 |
|
systemctl restart postgresql.service |
|
|
71 |
|
systemctl reload postgresql.service |
77 |
72 |
|
|
78 |
73 |
Notes: |
Notes: |
79 |
74 |
- Check also the config file (/etc/rocketgit/config.php) and set |
- Check also the config file (/etc/rocketgit/config.php) and set |