From Ape Wiki

Jump to: navigation, search

Contents

[edit] Debian 5 Lenny

[edit] Requirements

Before compiling APE Server, you need to install some utilities and libraries :

aptitude install gcc g++
aptitude install autoconf make
aptitude install zip

[edit] Install

Download the server archive :

cd /usr/local/share
wget http://github.com/APE-Project/APE_Server/tarball/v0.9

Untar (becareful, the file name can be different) :

tar zxvf APE-Project-APE_Server-3b5eec6.tar.gz
rm APE-Project-APE_Server-3b5eec6.tar.gz
mv APE-Project-APE_Server-3b5eec6 ape

Compilation (version 0.9) :

cd /usr/local/share/ape
make
cd modules
make

Compilation (version 1.0) :

cd /usr/local/share/ape
sh build.sh

You need to configure APE before starting diet pills the software in /bin/ape.conf (user, group, ip_listen and domain variables need to be correct) :

uid {
	# "aped" switch to this user/group if it run as root
	user = ape
	group = ape
}


Server {
	port = 6969
	daemon = no
	ip_listen = the.external.server.ip
	ip_local = 0.0.0.0
	domain = yourdomain.tld
	rlimit_nofile = 65536
}

Permission diet supplements handling :

useradd ape
chown -R ape:ape /usr/local/share/ape

Starting APE :

cd /usr/local/share/ape/bin
chmod +x aped
./aped

[edit] Testing

Setup#Test_your_installation