Tag Archives: python-lockfile

ajenti on Centos 6.4

I was installing ajenti on the R420 with the following commands

wget http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
rpm -i ajenti-repo-1.0-1.noarch.rpm

and I got the following errors…

--> Finished Dependency Resolution
Error: Package: python-daemon-1.5.2-1.el6.noarch (ajenti)
Requires: python-lockfile
Error: Package: reconfigure-0.1.36-1.noarch (ajenti)
Requires: python-chardet
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


So, looks like that we need EPEL to have it running…
There’s a installation for CentOS 5 and another to CentOS 6… witch is yours?

cat /etc/*-release

CentOS 5.X

wget http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

 CentOS 6.X (tested with CentOS 6.4)

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Edit remi.repo

sudo vi /etc/yum.repos.d/remi.repo

In [remi] change enable=0 to enable=1

name=Les RPM de remi pour Enterprise Linux $releasever - $basearch

Hit again! It will work!

yum install ajenti


You migth want to open 8000 door on your firewall.

# vi /etc/sysconfig/iptables

Add this two line to the end of the file, and save it.

-A INPUT -p udp -m state --state NEW --dport 8000 -j ACCEPT 
-A INPUT -p tcp -m state --state NEW --dport 8000 -j ACCEPT

Restart iptables

service iptables restart


You can run a Centos smoothly in a SSD hosted server for 5usd/month.