[PYTHON] The LXC Web Panel that can operate LXC with a browser was wonderful

Made with Flask + twitter_bootstrap. claudyus/LXC-Web-Panel

Installation

python


$ sudo apt-get install python-dev
$ sudo sh -c "wget http://lxc-webpanel.github.io/tools/install.sh -O - | bash"

file organization

/srv/lwp/

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

/etc/

  • /etc/init.d/lwp
  • /etc/rc0.d/K20lwp
  • /etc/rc1.d/K20lwp
  • /etc/rc2.d/S20lwp
  • /etc/rc3.d/S20lwp
  • /etc/rc4.d/S20lwp
  • /etc/rc5.d/S20lwp
  • /etc/rc6.d/K20lwp

access

By default http: // localhost: 5000, admin / admin

Recommended settings

  • You should have debug output in lwp.conf.

Start / end

python


$ sudo /etc/init.d/lwp start
$ sudo /etc/init.d/lwp stop
$ sudo /etc/init.d/lwp restart

screenshot

Recommended Posts

The LXC Web Panel that can operate LXC with a browser was wonderful
Launch a simple WEB server that can check the header
Create a web API that can deliver images with Django
Note that I was addicted to accessing the DB with Python's mysql.connector using a web application.
[Python] Automatically operate the browser with Selenium
Create a web app that can be easily visualized with Plotly Dash
A model that identifies the guitar with fast.ai
The story of making a web application that records extensive reading with Django
CodePicnic that can create a [Development | Run | Tutorial | Demo] environment that runs on the browser
A story that struggled with the common set HTTP_PROXY = ~
A memo that I touched the Datastore with python
Note that there was a version problem with networkx
The story that Japanese output was confused with Django
Set up a browser automated test environment that can run Selenium + Pytest with Docker Compose
Create a web application that recognizes numbers with a neural network
A network diagram was created with the data of COVID-19.
Tornado-Let's create a Web API that easily returns JSON with JSON
Operate your browser using the Selenium Web Driver Python bindings
I investigated the pretreatment that can be done with PyCaret
[Golang] A program that determines the turn with random numbers
I made a plug-in that can "Daruma-san fell" with Minecraft
Let's make a diagram that can be clicked with IPython
Understand the probabilities and statistics that can be used for progress management with a python program
Output the result of morphological analysis with Mecab to a WEB browser compatible with Sakura server / UTF-8
About the matter that torch summary can be really used when building a model with Pytorch
[Python] A program that finds the maximum number of toys that can be purchased with your money
Create a program that can generate your favorite images with Selenium
[Python] Make a graph that can be moved around with Plotly
If you know Python, you can make a web application with Django
I made a package that can compare morphological analyzers with Python
[python, ruby] fetch the contents of a web page with selenium-webdriver
Make a Spinbox that can be displayed in Binary with Tkinter
From a book that programmers can learn (Python): Find the mode
A timer (ticker) that can be used in the field (can be used anywhere)
Is the new corona really a threat? Validated with Stan (was)
I made a shuffle that can be reset (reverted) with Python
Error with pip: There was a problem confirming the ssl certificate
Make a currency chart that can be moved around with Plotly (2)
Make a Spinbox that can be displayed in HEX with Tkinter
Make a currency chart that can be moved around with Plotly (1)
I made a program that automatically calculates the zodiac with tkinter
The story of making a module that skips mail with python
Create a REST API to operate dynamodb with the Django REST Framework
A memo when creating an environment that can be debugged with Lambda @ Edge for the time being
[Python] Code that can be written with brain death at the beginning when scraping as a beginner