Iseng-iseng nyoba Ajenti

Nyari yang semirip mungkin dengan WHM, wekeke (ini namanya free njaluk perfect). Tapi menurut rating ajenti mendapati like terbanyak, setelah main-main ke page officialnya lumayan lengkap. Terdapat menu monitoring hampir percis seperti yang ada di WHM, contohnya munin. Okelah kita install…

Ternyata ada repositorinya untuk centos, oke bisa buat file sendiri atau tambahkan ke file repository centos yang sudah ada.
[ajenti]
name=Ajenti
baseurl=http://repo.ajenti.org/centos/$releasever/$basearch/
gpgcheck=0

Sinkronisasikan repositori

yum update
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: centos.biz.net.id
* centosplus: centos.biz.net.id
* epel: mirror.yourconnect.com
* extras: centos.biz.net.id
* updates: centos.biz.net.id
ajenti | 1.3 kB 00:00
ajenti/primary | 2.7 kB 00:00
ajenti 9/9
Setting up Update Process
No Packages marked for Update

kemudian install ajenti

yum install ajenti
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: centos.biz.net.id
* centosplus: centos-hcm.viettelidc.com.vn
* epel: mirror.yourconnect.com
* extras: centos-hcm.viettelidc.com.vn
* updates: centos.biz.net.id
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ajenti.noarch 0:0.6.2-1 will be installed
--> Processing Dependency: python-lxml for package: ajenti-0.6.2-1.noarch
--> Processing Dependency: python-greenlet for package: ajenti-0.6.2-1.noarch
--> Processing Dependency: python-gevent for package: ajenti-0.6.2-1.noarch
--> Processing Dependency: pyOpenSSL for package: ajenti-0.6.2-1.noarch
--> Running transaction check
---> Package pyOpenSSL.x86_64 0:0.10-2.el6 will be installed
---> Package python-gevent.x86_64 0:1.0b2-trunk will be installed
---> Package python-greenlet.x86_64 0:0.3.4-trunk will be installed
---> Package python-lxml.x86_64 0:2.2.3-1.1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
Package Arch Version Repository Size
===========================================================================
Installing:
ajenti noarch 0.6.2-1 ajenti 366 k
Installing for dependencies:
pyOpenSSL x86_64 0.10-2.el6 base 212 k
python-gevent x86_64 1.0b2-trunk ajenti 332 k
python-greenlet x86_64 0.3.4-trunk ajenti 12 k
python-lxml x86_64 2.2.3-1.1.el6 base 2.0 M

Transaction Summary
===========================================================================
Install 5 Package(s)

Total download size: 2.9 M
Installed size: 25 M
Is this ok [y/N]:

setelah selesai buka browser dan aksesjangan lupa mengganti username dan password default yaitu admin, admin. Kemudian pilih plugin yang akan diinstall. disini proses instalasi ajenti cepat tapi yang lama di pluginnya, jika tidak perlu jangan diinstall semua.

Dashboardnya,

explore dulu deh 😀
PDF: install Ajenti

Akibat update…

Ceritanya ni semalem  update system sampai jam 3, banyak paket yang diperbarui menindak lanjuti hasil scaning dari nessus pada mesin hosting. Sekitar jam 9 pagi eh hape ternyata banyak miscall dan pesan pendek, saya kira penggermar rahasia eh taunya dari si pemilik hosting, wow… katanya ada lib yang gak jalan.. (PDFlib) pasti karena easyapache kemrin nih, update apache dan php. Bagus rencana futsal dengan teman-teman PTIIK batal, ganti senamjari di terminal compile sana dan sini.

Belum mandi belum makan langsung buka laptop, maklum itu hosting buat usaha travel jadi harus diutamakan. Supaya gak merugi banyak-banyak. Yak berjumpa lagi dengan easyapache…

yang bikin agak rumit library pdf tidak ada dipilihan module default, ini baru wow…
setelah baca sana dan sini, katanya pdflib bisa diinstall menggunakan pecl (ini kakas untuk menginstall module php). tapi setelah di install koq..

root@server [~]# pecl install pdflib –host
parsePackageName(): invalid package name “–host” in “–host”
invalid package name/package file “–host”
downloading pdflib-2.1.9.tgz …
Starting to download pdflib-2.1.9.tgz (55,899 bytes)
………….done: 55,899 bytes
10 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
path to pdflib installation? : /usr/local
building in /var/tmp/pear-build-smuet/pdflib-2.1.9
running: /root/tmp/pear/pdflib/configure –with-pdflib=/usr/local
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for a sed that does not truncate output… /bin/sed
checking for cc… cc
checking for C compiler default output file name… a.out
checking whether the C compiler works… configure: error: in `/var/tmp/pear-build-smuet/pdflib-2.1.9′:
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `–host’.
See `config.log’ for more details.
ERROR: `/root/tmp/pear/pdflib/configure –with-pdflib=/usr/local’ failed

nah putar-putar cari cara… akhirnya diputuskan kompile sendiri, ngikut panduan di php net . Setelah agak ribet sebentar akhirnya…

Dan disela-sela ngompile datanglah ibu kost membawakan pisang goreng… Allah nih memang keren, mendatangkan pertolongan dan nikmat yang tak bisa diduga… Perut berisi, PDFLib jalan kembali… Alhamdulillah…