Project

General

Profile

Support #826

Install LXC Web Panel on Arch Linux

Added by Daniel Curtis over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Jails / Container
Target version:
Start date:
07/07/2016
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

Description

This is a guide on setting up LXC Web Panel to manage Linux Containers on Arch Linux.

Prepare the Environment

  • Make sure the system is up to date:
    sudo pacman -Syu
    

Install LXC Web Panel

  • Install a couple dependencies:
    sudo pacman -S python2 python2-pip
    
  • Clone the LXC Web Panel repository:
    cd /usr/local
    git clone https://github.com/lxc-webpanel/LXC-Web-Panel.git
    cd LXC-Web-Panel
    
  • Install Flask
    sudo pip2 install flask==0.9
    
  • Run LXC Web Panel
    python2 lwp.py
    

Systemd Service

  • Create the lxc-webpanel service file:
    sudo nano /etc/systemd/system/lxc-webpanel.service
    
    • And add the following:
      [Unit]
      Description=LXC Web Panel
      
      [Service]
      WorkingDirectory=/usr/local/LXC-Web-Panel
      ExecStart=/usr/bin/python2 /usr/local/LXC-Web-Panel/lwp.py
      
      [Install]
      WantedBy=multi-user.target
      
  • Reload the systemd daemon and start the lxc-webpanel service:
    sudo systemctl daemon-reload
    sudo systemctl start lxc-webpanel
    

Resources

#1

Updated by Daniel Curtis over 7 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis over 7 years ago

  • Description updated (diff)
#3

Updated by Daniel Curtis over 7 years ago

  • Description updated (diff)
#4

Updated by Daniel Curtis over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF