Qué es Ajenti y cómo instalarlo en Ubuntu 15.04

ajenti

¿Que es?

Ajenti es un sistema de administración de servidores similar a Webmin. Es posible administrar servicios, editar archivos de configuración, el crontab, firewall, paquetes, procesos, la red y archivos de registro, entre otros.

Posee un sistema de extensiones bastante potente y variado, con el fin de hacer de interfaz a software y servicios tales como Apache, Bind9, GIT, MongoDB, MySQL y muchos otros. Es ideal para trabajar en redes que tienen servidores dispersos geográficamente, servidores de hosting y administrar redes remotamente.

Posee un licenciamiento doble: para uso personal y comercial está licenciado para AGPLv3. Para fabricantes de appliances se encuentra bajo una licencia propietaria.

Es un panel de control web de código abierto para administrar varias tareas en el servidor. Por ser de código abierto, se puede utilizar sin pagar costosas licencias, una gran opción para la gestión de servidores si tienes poco conocimiento sobre el tema; Le permite crear y administrar sitios web con Apache y Nginx, administrar correo electrónico, crear trabajos cron, instalar paquetes sin tocar la terminal, administrar archivos, usuarios, firewalls y más. En este tutorial, veremos cómo instalar Control Panel para la administración de servidores y le permite crear páginas web desde el mismo panel.

Instalación

Obtenemos la llave

luis@starseed:~$ wget http://repo.ajenti.org/debian/key -O - | sudo apt-key add -
--2015-10-06 16:51:11-- http://repo.ajenti.org/debian/key
Resolviendo repo.ajenti.org (repo.ajenti.org)... [sudo] password for luis: 198.232.124.224
Conectando con repo.ajenti.org (repo.ajenti.org)[198.232.124.224]:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 1716 (1,7K) [application/octet-stream]
Grabando a: “STDOUT”

- 100%[=======================================================================================>] 1,68K --.-KB/s en 0s

2015-10-06 16:51:11 (4,06 MB/s) - escritos a stdout [1716/1716]

OK

Agregamos lo siguiente al repositorio al archivo /etc/apt/sources.list

deb http://repo.ajenti.org/ng/debian main main ubuntu

Actualizamos el índice de paquetes

luis@starseed:~$ sudo apt-get update
luis@starseed:~$ sudo apt-get update
Obj http://repo.ajenti.org main InRelease
Ign http://dl.google.com stable InRelease

[...]

Leyendo lista de paquetes... Hecho

Instalamos el paquete

luis@starseed:~$ sudo apt-get install ajenti
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Se instalarán los siguientes paquetes extras:
apt-show-versions python-bs4 python-catcher python-daemon python-exconsole python-gevent python-gevent-socketio python-gevent-websocket python-greenlet
python-html5lib python-imaging python-ldap python-lockfile python-lxml python-mako python-markupsafe python-ndg-httpsclient python-passlib python-pil python-psutil
python-reconfigure python-requests python-support python-urllib3
Paquetes sugeridos:
python-gevent-doc python-gevent-dbg python-greenlet-doc python-greenlet-dev python-greenlet-dbg python-genshi python-ldap-doc python-lxml-dbg python-lxml-doc
python-beaker python-mako-doc python-pil-doc python-pil-dbg
Se instalarán los siguientes paquetes NUEVOS:
ajenti apt-show-versions python-bs4 python-catcher python-daemon python-exconsole python-gevent python-gevent-socketio python-gevent-websocket python-greenlet
python-html5lib python-imaging python-ldap python-lockfile python-lxml python-mako python-markupsafe python-ndg-httpsclient python-passlib python-pil python-psutil
python-reconfigure python-requests python-support python-urllib3
0 actualizados, 25 nuevos se instalarán, 0 para eliminar y 11 no actualizados.
Se necesita descargar 3.323 kB de archivos.
Se utilizarán 14,9 MB de espacio de disco adicional después de esta operación.
¿Desea continuar? [S/n] s
Des:1 http://repo.ajenti.org/ng/debian/ main/main python-gevent-socketio all 0.3.6-1 [27,4 kB]

[...]

Configurando python-ldap (2.4.10-1build1) ...
Configurando ajenti (1.2.23.0) ...

:: Generating key

Generating RSA private key, 2048 bit long modulus
........................................................+++
.....................+++
e is 65537 (0x10001)

:: Generating certificate request

:: Removing passphrase

writing RSA key

:: Generating certificate

Signature ok
subject=/C=US/ST=NA/L=Nowhere/O=Acme Inc/OU=IT/CN=starseed
Getting Private key
:: SSL configured!
------------------------------------------------
Now start Ajenti with 'service ajenti restart'
Ajenti will listen on HTTPS port 8000 by default

Default username : root
Default password : admin
------------------------------------------------
Configurando python-bs4 (4.3.2-2ubuntu2) ...
Configurando python-html5lib (0.999-3) ...
Configurando python-ndg-httpsclient (0.3.2-1ubuntu4) ...
Procesando disparadores para python-support (1.0.15) ...
Procesando disparadores para systemd (219-7ubuntu6) ...
Procesando disparadores para ureadahead (0.100.0-19) …

Instalamos algunos paquetes adicionales

luis@starseed:~$ sudo apt-get install python-dev python-greenlet python-gevent python-vte python openssl python-crypto python-appindicator python-setuptools

luis@starseed:~$ sudo easy_install -U gevent

sudo apt-get install python-pip

luis@starseed:~$ pip install gevent --upgrade

Editar los siguientes archivos

/usr/lib/python2.7/dist-packages/socketio/handler.py
/usr/lib/python2.7/dist-packages/socketio/transports.py

y en ambos archivos cambiar

(«Access-Control-Max-Age», 3600),

por

(«Access-Control-Max-Age», «3600»),

Reiniciar el servicio

luis@starseed:~$ sudo service ajenti restart

Conectarse al panel de control

http://localhost:8000/

Los datos de conexión por defecto son los siguientes:

Username: root
Password: admin

Nota: se recomienda trabajar siempre bajo una conexión segura y cambiar la contraseña por defecto. 

En tecnoinver contamos con el mejor equipo tecnico para solucionar cualquier problema que puedas tener en hosting, software e informatica.

Menú de Categorias
Somos Partner
Open chat
💬 Necesitas ayuda?
Hola!! 👋
Como podemos ayudarle?