claudyus / LXC-Web-Panel

LXC Web Panel improved for lxc 1.0+
http://claudyus.github.io/LXC-Web-Panel/
Other
221 stars 68 forks source link

RPM based distro support #53

Closed kallisti5 closed 9 years ago

kallisti5 commented 9 years ago

Fedora 21 is out, and their server offering is pretty competitive with Ubuntu (Up to date RPM packages + modernization)

I'm going to spin up a Fedora 21 VM to see if I can get this running there with minimal effort :-)

claudyus commented 9 years ago

I would be very happy to merge such improvement!

kallisti5 commented 9 years ago

steps so far:

sudo yum update
sudo yum install lxc lxc-devel lxc-libs lxc-extra python-pam python-flask

./setup.py install

mkdir -p /etc/lwp
mkdir -p /var/lwp

cp lwp.example.conf /etc/lwp/lwp.conf
cp lwp.db /var/lwp/lwp.db

service firewalld stop
service lxc start

lwp
kallisti5 commented 9 years ago

Is there a default username/password for database auth? I don't see it documented.

claudyus commented 9 years ago

admin/admin

I was pretty sure that this was in readme file. I will readd it soon!

kallisti5 commented 9 years ago

Finally have some base functionality on Fedora 21. Here are the latest steps:

sudo yum update
sudo yum install lxc lxc-devel lxc-libs lxc-extra lxc-templates python-pam python-flask fabric pytz npm

fab build_assets
./setup.py develop

mkdir -p /etc/lwp
mkdir -p /var/lwp

cp lwp.example.conf /etc/lwp/lwp.conf
cp lwp.db /var/lwp/lwp.db

service firewalld stop
service lxc start

./bin/lwp --debug
claudyus commented 9 years ago

@kallisti5 can you expand the Readme with those installation info for rpm based systems?

kallisti5 commented 9 years ago

I was actually going to... But then figured out the readme was some crazy obscure python markdown format and opened a ticket instead. ;-)