RabbitMQ from scratch
Installing RabbitMQ-server
Debian/Ubuntu
Login as privileged user with su
or add sudo
when necessary
Add official repo and key
echo "deb http://www.rabbitmq.com/debian/ testing main" >> /etc/apt/sources.list.d/rabbitmq.list
wget -O - http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | apt-key add -
Update packages list and install rabbitmq
apt-get update && apt-get install rabbitmq-server
Set max number of open file handles
echo "ulimit -n 1024" >> /etc/default/rabbitmq-server
Enable web management plugin
rabbitmq-plugins enable rabbitmq_management
Restart service
service rabbitmq-server restart
Using web interface
Just go to http://localhost:15672/
or if you are using remote machine, forward it to your PC by
ssh -L 15672:127.0.0.1:15672 example.com
then it will be available at http://localhost:15672/
Edit 2015-02-15: Default password for RabbitMQ web interface is guest/guest
Using queue in app
Go to get started @ official site, there are friendly tutorials for langs
- Python
- Java
- Ruby
- PHP
- C#
- Golang
and other via github client libs
Security
Remember to apply TLS config if everything works!