Install on CentOS 7 + VirtualMin (Apache httpd reverse proxy + user mode installation) #3789
ATSandrearicci
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's possible to use GlobalLeaks behind apache configured as reverse proxy.
With Virtualmin create a virtual host with SSL enabled
In Server Configuration -> Website Options set Yes to option "Redirect all requests to SSL site"
In Server Configuration -> Edit Proxy Website set Yes to "Proxying enabled" and "proxy to URL" to https://[FQNServerName]:8443
Optionally you can disable php wich is not required in this virtual server
Server Configuration -> PHP options
Add manully this directive to enable proxy to https and disable certificate validation in Services -> Configure SSL website
Restart httpd after this changes
python3.6 is defualt installed on CentOS 7.
Install npm as root:
dnf install npm
Execute as root:
npm install -g grunt
Enter with the linux user owner of the virtual host and download the latest release of Globaleaks with something like:
curl -L -O https://github.com/globaleaks/GlobaLeaks/archive/refs/tags/v4.13.18.zip
Unzip the archive and you will get the folder GlobaLeaks-4.13.18
Create a symbolic link (usefull for updates)
ln -s GlobaLeaks-4.13.18 GlobaLeaks
Enter in GlobaLeaks/client and build the client:
Enter in GlobaLeaks/backend and install the bullseye requirements in venv
Now you can check if your installation is working by doing:
./bin/globaleaks -n -w ~/GlobaLeaksData/
If everything is fine it's possible to create a systemd service file like with a command like this in ExecStart
~/GlobaLeaks/backend/env/bin/python ~/GlobaLeaks/backend/bin/globaleaks -w ~/GlobaLeaksData/
Indicating in User and Group the unix user owner of the virtual server
You can follow the above steps with RHEL8 and RHEL9 which are more close to debian bookworn.
Just do
dnf module install nodejs:18
isntead ofdnf install npm
and install python requirements bookworm instead of bullseye one.Beta Was this translation helpful? Give feedback.
All reactions