No description
app | ||
docs | ||
.gitignore | ||
babel.cfg | ||
cronexec.sh | ||
manage.py | ||
README.md | ||
requirements.txt | ||
schedulerd.py | ||
start.wsgi |
proxadmin
web panel for proxmaster built with Flask
setup db backend:
- apt-get install postgresql postgresql-contrib libpq-dev
- sudo -i -u postgres psql
- create user proxadmin with password 'mypassword';
- create database proxadmin owner proxadmin encoding 'utf-8';
setup panel:
- adduser proxadmin
- cd /home/proxadmin
- virtualenv -p python3 appserver
- cd appserver
- git clone git://github.com/kanaka/noVNC
- git clone https://deflax@bitbucket.org/deflax/proxmaster-panel.git
- source bin/activate
- cd proxmaster-panel/ ; pip install -r requirements.txt
- python3 manage.py db init ; python3 manage.py db migrate -m "init" ; python3 manage.py db upgrade ; python3 manage.py deploy
- chmod +x /home/proxadmin/appserver/proxadmin/cronexec.sh
- add "00 09 * * * root /home/proxadmin/appserver/proxadmin/cronexec.sh" to /etc/crontab
- usermod -G proxadmin www-data