Support #826
Install LXC Web Panel on Arch Linux
Status:
Closed
Priority:
Normal
Assignee:
Category:
Jails / Container
Target version:
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
- Make sure that LXC is installed
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
- Connect you on http://lxcpanel.example.com:5000/
- Login with user admin and password admin
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
- And add the following:
- Reload the systemd daemon and start the lxc-webpanel service:
sudo systemctl daemon-reload sudo systemctl start lxc-webpanel
Resources¶
Updated by Daniel Curtis over 8 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100