No description
Find a file
2018-03-16 01:41:11 +02:00
app optional rdns 2018-03-16 01:41:11 +02:00
docs clean up documentation 2017-09-28 14:10:19 +03:00
.gitignore simplifying schema 2017-06-02 01:27:17 +03:00
babel.cfg simple news crawler from fb 2017-05-25 08:54:33 +03:00
cronexec.sh create-activate phase 3 2017-12-15 01:00:02 +02:00
manage.py some minor fixes 2018-02-18 23:28:14 +02:00
README.md better sort ip addresses 2018-03-16 01:14:48 +02:00
requirements.txt redesign admin pages 2018-01-25 19:48:50 +02:00
schedulerd.py initial commit 2017-03-08 20:53:09 +02:00
start.wsgi create-activate phase 3 2017-12-15 01:00:02 +02:00

proxadmin

web panel for proxmaster built with Flask

setup db backend:

  1. apt-get install postgresql postgresql-contrib libpq-dev
  2. sudo -i -u postgres psql
  3. create user proxadmin with password 'mypassword';
  4. create database proxadmin owner proxadmin encoding 'utf-8';

setup panel:

  1. adduser proxadmin
  2. cd /home/proxadmin
  3. virtualenv -p python3 appserver
  4. cd appserver
  5. git clone git://github.com/kanaka/noVNC
  6. git clone https://deflax@bitbucket.org/deflax/proxmaster-panel.git
  7. source bin/activate
  8. cd proxmaster-panel/ ; pip install -r requirements.txt
  9. python3 manage.py db init ; python3 manage.py db migrate -m "init" ; python3 manage.py db upgrade ; python3 manage.py deploy
  10. chmod +x /home/proxadmin/appserver/proxadmin/cronexec.sh
  11. add "00 09 * * * root /home/proxadmin/appserver/proxadmin/cronexec.sh" to /etc/crontab
  12. usermod -G proxadmin www-data