Fli
09-30-2015, 01:01 AM
Installing Ajenti Linux server control panel on CentOS Linux
I have 128MB RAM VPS with 256MB RAM burstable and installation was doable, but installing new Ajenti components very problematic. Even 512MB RAM was problematic.
Ajenti Setup:
# rpm -ivh http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
I need to know which CentOS do i have?
# cat /etc/red*
CentOS Linux release 7.1.1503 (Core)
i have CentOS 7, so i use "7" in following command:
# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum update -y
Now install Ajenti and webserver components. if no need webhosting, install only ajenti below:
# yum install ajenti ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm ajenti-v-nodejs php5-mysql
# service ajenti restart
in web browser open httpS://yourserverIP:8000/
user: root
pass: admin
----
Side notes:
If you do not install EPEL repository (as instructed above), you may get errors like:
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-daemon
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-psutil >= 0.6.0
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-passlib
If you have low RAM VPS, you may get errors like:
Error downloading packages:
python-exconsole-0.1.5-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-psutil-1.2.1-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-1.0-2.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-greenlet-0.4.2-3.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
libev-4.15-6.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
1:python-lockfile-0.9.1-4.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
reconfigure-0.1.62-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-daemon-1.6-4.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-websocket-0.9.3-1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-urllib3-1.10.2-2.el7_1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-socketio-0.3.6-1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-passlib-1.6.2-2.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-catcher-0.1.7-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-chardet-2.2.1-1.el7_1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
just re-run yum install command untill all packages are installed
I have 128MB RAM VPS with 256MB RAM burstable and installation was doable, but installing new Ajenti components very problematic. Even 512MB RAM was problematic.
Ajenti Setup:
# rpm -ivh http://repo.ajenti.org/ajenti-repo-1.0-1.noarch.rpm
I need to know which CentOS do i have?
# cat /etc/red*
CentOS Linux release 7.1.1503 (Core)
i have CentOS 7, so i use "7" in following command:
# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum update -y
Now install Ajenti and webserver components. if no need webhosting, install only ajenti below:
# yum install ajenti ajenti-v ajenti-v-nginx ajenti-v-mysql ajenti-v-php-fpm ajenti-v-nodejs php5-mysql
# service ajenti restart
in web browser open httpS://yourserverIP:8000/
user: root
pass: admin
----
Side notes:
If you do not install EPEL repository (as instructed above), you may get errors like:
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-daemon
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-psutil >= 0.6.0
Error: Package: ajenti-1.2.22.13-1.noarch (ajenti)
Requires: python-passlib
If you have low RAM VPS, you may get errors like:
Error downloading packages:
python-exconsole-0.1.5-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-psutil-1.2.1-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-1.0-2.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-greenlet-0.4.2-3.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
libev-4.15-6.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
1:python-lockfile-0.9.1-4.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
reconfigure-0.1.62-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-daemon-1.6-4.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-websocket-0.9.3-1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-urllib3-1.10.2-2.el7_1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-gevent-socketio-0.3.6-1.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
python-passlib-1.6.2-2.el7.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-catcher-0.1.7-1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
python-chardet-2.2.1-1.el7_1.noarch: [Errno 5] [Errno 12] Cannot allocate memory
just re-run yum install command untill all packages are installed