...
If you are installing SDCCT on Ubuntu, authbind is required to allow the sdcct-web-gateway user to run on privileged ports (port numbers 0-1023). For SDCCT, the sdcct-web-gateway service must bind to port 80. Authbind may already be installed on your version of Ubuntu and can be found in /etc/authbind. If it is not already installed:
Code Block |
---|
|
sudo apt-get install authbind |
Since authbind requires the use of IPv4, add the following to /etc/sysctl.conf:
Code Block |
---|
|
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1 |
Reinitialize sysctl by running the following:
In order to allow the sdcct-web-gateway service to bind to port 80, run the following:
Code Block |
---|
|
cd /etc/authbind/byport/
touch 80
chmod 500 80
chown sdcct-web-gateway 80 |
Installing the sdcct-web-gateway Debian Package
If you followed the Source Build Guide to build SDCCT, a Debian package will be created in ~/sdcct/sdcct-web-gateway/target/sdcct-web-gateway_<version#>~<timestamp>_all.deb. To install sdcct-web-gateway, run: Code Block |
---|
|
dpkg --install sdcct-web-gateway_<version#>~<timestamp>_all.deb |
To start the sdcct-web-gateway service, run:
Code Block |
---|
|
service sdcct-web-gateway start |