The application is for any kind of game servers hosting but initially designed for Counter-Strike 1.6 game servers hosting
- Debian 8.2 x86_64
- Root user access
- TLS v1.2 Certificate (https://www.comodo.com)
- Stripe API (https://stripe.com)
- Twilio API (https://twilio.com)
- DigitalOcean API (https://digitalocean.com)
Login as root and run:
t='GITHUB-ACCESS-TOKEN' && apt-get install -y curl ca-certificates && curl -H "Authorization: token $t" -H 'Accept: application/vnd.github.v3.raw' -O -L https://api.github.com/repos/kurbaitis/hosting/contents/public/s && bash s $t
Put your TLS certificate (cert and key into one file) into tls/crt
and review haproxy.conf
to make sure your configuration is correct
Edit .env
file
vi .env
Add HTTP server startup script to your boot scripts (need to be run as root user):
logout
cd /home/w
cp bin/http /etc/init.d/
update-rc.d http defaults
update-rc.d http enable
./bin/start
./bin/stop