-
Notifications
You must be signed in to change notification settings - Fork 104
APE Server install
Follow the instructions step by step to install APE Project You may want to check the Getting started with APE-Project page first, for a better understanding.
A Linux (with a kernel 2.6.16+) or MacOS X 10.7 (Lion) computer, or a Windows computer with VirtualBox.
APE is available in various formats:
- binary,
- debian package,
- source (tar.gz or from git)
- OSX Installer Go to download page and pick the package you wish. If you are a beginner, choose binary or Debian package. Also download the APE JSF. Go to APE download page and download both APE Server and APE JSF.
Just unpack the package you downloaded. You can now proceed to APE-Project Configuration
If you are on Ubuntu, just click on the .DEB package, or on the command line (as root) enter something like this:
APE:~# dpkg -i APE_Server-1.1.2-i386.deb
You can now proceed to APE-Project Configuration
There is no RPM package available for this; instead, use the binary using the binary installation instructions here above.
There is no yum command available for this; instead, use the binary using the binary installation instructions here above.
If you're running OSX Lion or newer (10.7 and up) 64 Bits, you can use the installer package available on the Download Page. For more infos on running APE on OSX, see APE Server on OSX.
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 previous version. If you don't know how to use git, there's a "download" button on github. Use it.
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
apt-get install g++ gcc unzip make zip libmysqlclient-dev
yum install gcc-c++ zip mysql-devel
On CentOS, you also need to make this change to enabled MySQL support:
Edit modules/Makefile and remplace:
MYSQL_FLAGS = -L./deps/mysac/ -I./deps/mysac/ -lmysac -lmysqlclient_r
With: 32 Bits:
MYSQL_FLAGS = -L./deps/mysac/ -L/usr/lib/mysql -I./deps/mysac/ -lmysac -lmysqlclient_r
64 Bits:
MYSQL_FLAGS = -L./deps/mysac/ -L/usr/lib64/mysql -I./deps/mysac/ -lmysac -lmysqlclient_r
Go in the source directory and run ./build.sh
This script will build APE and all its modules. You can now proceed to APE-Project Configuration
Requirements you will need to satisfy in order to complete the installation:
- Xcode 4 (download it on apple website - Won't work with XCode 5!!)
- mysql5-devel (via macports) ''or'' MySQL Community Server (Via dev.mysql.com)
Some symlink need to be created on OSX. As root, run :
mkdir /usr/include/mysql/
ln -s /usr/local/mysql/include/* /usr/include/mysql
cp /usr/local/mysql/lib/libmysqlclient.* /usr/lib
ln -s /usr/bin/gcc /usr/bin/gcc-4.2
ln -s /usr/bin/g++ /usr/bin/g++-4.2
Go in the source directory and run ./build.sh
This script will build APE and all its modules. You can now proceed to APE-Project Configuration
For more infos on running APE on OSX, see APE Server on OSX.
-
Run
build.sh
again (Twice in a row).