====== Installing Aptana Jaxer on Ubuntu ======
{{googleads>adsh01 | 100%}}
\\
[[http://aptana.com/jaxer|Aptana Jaxer]] is a really interesting new way to speed up your ajax development.
**Vote for PostgreSQL integration on this thread http://forums.aptana.com/viewtopic.php?t=7745 . Thanks**
===== Install =====
* Dependencies
* Ubuntu 8.04 Desktop i386
sudo apt-get install firefox-3.0-dev firefox-dev
sudo ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0
* Download Jaxer latest version from [[http://aptana.com/jaxer/download|here]]
* Unpack and copy it to /opt
* Configure the Apache Module separating the LoadModule directive from the rest of the Aptana config file and enabling it.
sudo sh -c "grep '^LoadModule' /opt/AptanaJaxer/jaxer/confs/jaxer-linux.httpd.conf > /etc/apache2/mods-available/jaxer-linux.httpd.load"
sudo sh -c "grep -v '^LoadModule' /opt/AptanaJaxer/jaxer/confs/jaxer-linux.httpd.conf > /etc/apache2/mods-available/jaxer-linux.httpd.conf"
sudo a2enmod jaxer-linux.httpd
* Start Jaxer Server
sudo JAXERBASE=/opt/AptanaJaxer /opt/AptanaJaxer/scripts/startJaxer.sh
* Restart Apache
sudo invoke-rc.d apache2 restart
===== Test/Diagnostic =====
{{googleads>solo5linkhor | 100%}}
\\
* Go to http://localhost/aptana and follow on screen instructions or go directly to the [[http://localhost/aptana/diagnostics/index.html|diagnostic page]]
{{:tec:sis:pub:jaxer_server_diagnostics.png|}}
===== Deploy =====
* Jaxer config file is in **/opt/AptanaJaxer/local_jaxer/conf/JaxerManager.cfg** ; use it to tune jaxer options such as logging, memory limit or anything related
* Create an init.d script to start Jaxer before Apache2
* Develop yuor ajax app
===== Tested Platforms =====
* Aptana Jaxer 1.0.2.4347 on Ubuntu 8.04 (Hardy) x86_64 (xen-vm) Server (20090103)
* Aptana Jaxer 1.0.2.4347 on Ubuntu 8.04 (Hardy) i686 Desktop (20090102)
===== Contact =====
* Please report any problem/question to **f.strappini [ at ] integrasoftware.it**, thanks
\\