Made with Flask + twitter_bootstrap. claudyus/LXC-Web-Panel
python
$ sudo apt-get install python-dev
$ sudo sh -c "wget http://lxc-webpanel.github.io/tools/install.sh -O - | bash"
File | Description |
---|---|
./lwp.py | (python)Body |
./lwp.conf | (lwp.Config for py)web server settings, db filename, session deadline |
./lwp.db | (sqlite3 db)Used for login authentication. Only the users table exists. |
./lwp/ | (python) /etc/lxc/See the settings below and get the load on the server. |
./lxclite/ | (python)Run the lxc command to get the result. |
./static/ | css or js |
./templates/ | html. template |
By default http: // localhost: 5000, admin / admin
python
$ sudo /etc/init.d/lwp start
$ sudo /etc/init.d/lwp stop
$ sudo /etc/init.d/lwp restart
Recommended Posts