From Ape Wiki
Contents
|
[edit] Setup Manual
On this page you will find the procedure to follow in order to install the APE Server on your own server. Follow the instructions step by step, and feel free to visit us on #ape-project@irc.freenode.net for further information.
Notice: You may want to check the Getting Started with APE page first, for a better understanding.
[edit] Requirements
A Linux (with a kernel 2.6.16+) or MacOS X 10.3 computer, or a Windows computer with VirtualBox.
[edit] Downloading APE
APE is available in various formats: binary, debian package, RPM package, source (tar.gz or from git) and also a virtual box image is available! Go to download page and pick the package you wish. If you are a beginner, choose binary, debian package, or RPM package. Also download the APE JSF.
Go to APE download page and download APE Server and APE JSF.
[edit] Installing APE
[edit] Installing from the Binary Package
Just unpack the package you downloaded. You can now go to Configure APE
[edit] Installing from the Debian Package
If you are on Ubuntu, just click on the .DEB package, or on the command line (as root) enter:
APE:~# dpkg -i ape-1.0.i386.deb
You can now go to Configure APE.
[edit] Installing from the RPM (RPM Package Manager)
If you are on an RPM-compatible Linux system, just click on the .RPM package, or on the command line...
for i386 (as root) enter:
APE:~# rpm -Uvh APE_Server-1.0.i386.rpm
or for x86 64 (also as root) enter:
APE:-# rpm -Uvh APE_Server-1.0.x86_64.rpm
For instructions on how to install the server as a daemon to be started automatically upon login, or otherwise, go to Centos/Red Hat/Fedora Startup Script.
You can now go to Configure APE.
Fedora/RHEL/CentOS users, there is no yum command available for this; instead, use the RPM as above or install from the binary using the binary installation instructions, also above.
[edit] Installing from source or git
Grab a fresh copy of the latest APE Server and APE JSF source from github or from the download page
Please download the latest master or 1.0 and not 0.9 or previous beta. If you don't know how to use git, there's a "download" button on github. Use it.
[edit] Building from source on Linux
[edit] Requirements
Here is a list of requirements you will need to complete the installation :
- GNU Make
- GCC 3.4 or higher
- libc6-dev (or similar)
- libmysqlclient-dev
[edit] Download dependencies
If you are on Debian or Ubuntu, just install: build-essential and libmysqlclient-dev
APE:~# apt-get install build-essential libmysqlclient-dev
[edit] Building APE
Go in the source directory and run
./build.sh
This script will build APE and all its modules.
You can now go to Configure APE.
[edit] Building from source on MacOS X
[edit] Requirements
Requirements you will need to satisfy in order to complete the installation:
- Xcode (download it on apple website)
- mysql5-devel(via macports)
Don't forget to create a symlink from /usr/include/mysql to /opt/local/include/mysql5
# ln -s /opt/local/include/mysql5/mysql /usr/include/mysql
Beware, the default symlink created by macports is incorrect, as it points to /opt/local/include/mysql5 and not /opt/local/include/mysql5/mysql
[edit] Building APE
Go in the source directory and run
./build.sh
This script will build APE and all its modules.
You can now go to Configure APE.


