First download and unzip.
# cd /opt # wget -O master.zip https://github.com/PowerMeMobile/alley-setup/archive/master.zip # unzip master.zip # cd alley-setup-master
Adjust setup/build configuration options in conf/setup.conf before going further.
It's possible to setup everything by running one command. The setup will create a new user, setup environment, setup OpenAlley, and setup autostart on reboot.
# setup/setup-all <centos6 | fedora20 | rhel6 | debian7 | ubuntu10.04| ubuntu12.04 | arch>
Or make partial setup by running:
# setup/setup-env <centos6 | fedora20 | rhel6 | debian7 | ubuntu10.04| ubuntu12.04 | arch> # source /etc/profile # setup/setup-alley <centos6 | fedora20 | rhel6 | debian7 | ubuntu10.04| ubuntu12.04 | arch> # setup/setup-autostart
Now login using the created user.
# su - bms
$ cd /opt/alley-setup-master
$ run/start-all
$ conf/http-conf.sh
$ smppload -iuser -ppassword -s375296660001 -d375296543210 -c10 -D -v INFO: Connected to 127.0.0.1:2775 INFO: Bound to Funnel INFO: Stats: INFO: Send success: 10 INFO: Delivery success: 10 INFO: Send fail: 0 INFO: Delivery fail: 0 INFO: Errors: 0 INFO: Avg Rps: 2 mps INFO: Unbound
$ run/get-alley-statuses
{"unrecognized":0,"rejected":0,"accepted":0,"deleted":0,"expired":0,"delivered":10,"failed":0,"sent":0,"received":0,"undeliverable":0,"enroute":0,"pending":0,"unknown":0}