Pajamas-Proxy was tested on several Linux platforms (Ubuntu 10.10, CentOS 5.5, both 64 bit version), but it should run on any platform supported by Java Service Wrapper.
- 10MB of free disk space for the binary distribution
- JDK 6 or above must be installed
The steps below explain how to download and install the binary distribution on a Linux system. It should be rather trivial to do the same on any other platform.
- Fetch the latest distribution from the downloads page.
- Unpack the archive into a directory of your choice:
<install-dir>
. - Edit the
pajamas.properties
file located at<install-dir>/conf
1. You must at least specify thepajamas.remoteHosts
property to point to your memcached hosts. 1. Most properties have defaults set to a reasonable value. See the docs inside thepajamas.properties
file. - In case java is not in your path, specify the
wrapper.java.command
in the<pajamas-install-dir>/conf/wrapper.conf
file 1. You may also change other settings for the pajamas daemon in the<pajamas-install-dir>/conf/wrapper.conf
file
cd [pajamas-install-dir]
bin/pajamasproxy start
cd [pajamas-install-dir]
bin/pajamasproxy console
cd [pajamas-install-dir]
bin/pajamasproxy stop
cd [pajamas-install-dir]
bin/pajamasproxy restart
cd [pajamas-install-dir]
bin/pajamasproxy status