4th Floor, 4 Tabernacle Street London EC2A 4LU

APE Server

Installing APE on Ubuntu Server 10.10

This small tutorial was made based on the ape-project install documentation.

It summarizes things to help people get APE running on Ubunto ASAP.

 

ape opensource home
This small tutorial was made based on the ape-project install documentation.

It summarizes things to help people get APE running on Ubunto ASAP.

Hope it helps someone who needs a good comet server up and running for yesterday :)

The environment I have choosed to install APE was a virtual machine with this configuration:

  • Ubuntu Server 10.10 x64
  • 1GB of memory
  • 5GB of hard disk
  • ssh

1. Download the APE complete package (server and jsf)

2. You must download the libmysqlclient15off

3. To install libmysqlclient at ubuntu just type

  • 32-bits: dpkg -i libmysqlclient15off_5.0.51a-3ubuntu5.8_i386.deb
  • 64-bits: dpkg -i libmysqlclient15off_5.0.51a-3ubuntu5.8_amd64.deb

4. Now it is time to install APE server

  • 32-bits: dpkg -i APE_Server-1.0.i386.deb
  • 64-bits: dpkg -i APE_Server-1.0.amd64.deb

If you got the error message bellow, it means you forgot to install libmysql. To fix that you just have to type apt-get install -f

libmysql no install error

5. Go setup your comet server

# the file where you’ll find this configuration is
# located in /etc/ape/ape.conf (ubuntu)
# I prefer using it on port 80 to avoid firewall restrictions
Server {
port = 80
daemon = no
ip_listen = <ip to bind APE>
domain = auto
rlimit_nofile = 10000
}

6. Now it is time to start it

Remember that we set APE to be on port 80. Make sure you don’t have apache, nginx or other program on that port.

If you have, the server won’t start.

  • /etc/init.d/ape-server start

That’s it. You should be seeing the [OK] of victory.

If you can’t get it running try first:

  • see the log (it’s on /var/log/ape.log)
  • make sure you don’t have other program on port 80 (like apache or nginx)
  • if all fails, go take a look here
  • if still lost, go to the user group and ask for help (there are great guys there that will be glad to help)

 

If you are having problems with the SQL library install a mirror can be found here: https://launchpad.net/ubuntu/lucid/i386/libmysqlclient15off/5.1.30really5.0.83-0ubuntu3