Install And Configure LTSP Server In Ubuntu 12.04 with Dnsmasq

LibreOffice 4.0.4 Has Been Released. Install It On Ubuntu 13.04 , 13.10

Install Skype 4.2 in Ubuntu 13.10/13.04/12.10 and 12.04

Skype allows people to communicate with each other by messaging, voice calling and video calling over internet. Skype also provides services for phone calls on the telephone networks ....

Display Username On Unity Panel In Ubuntu 13.04 and Ubuntu 13.10

Showing posts with label ec2. Show all posts

[How To] Install And Configure Rabbitmq On Amazon EC2.


RabbitMQ is open source message broker software (i.e., message-oriented middleware) that implements the Advanced Message Queuing Protocol (AMQP) standard. The RabbitMQ server is written in Erlang and is built on the Open Telecom Platform framework for clustering and failover.


Instructions to install Rabbitmq on Amazon EC2 instances.


First you have to enable epel repo. Edit the following file using vi and change Enabled=0 to 1 in first section called [epel].

sudo vi /etc/yum.repos.d/epel.repo

After that, the first section will look like this

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

Now install the Rabbitmq using the following command.

sudo yum install rabbitmq-server 

Install the developement files.

sudo yum install librabbitmq-devel

Start the rabbitmq server.

sudo service rabbitmq-server start

Or you can also install Rabbitmq from source.


yum install gcc gcc-c++ make libxslt fop ncurses-devel openssl-devel *openjdk-devel unixODBC unixODBC-devel
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
tar zxvf otp_src_R15B01.tar.gz
cd otp_src_R15B01
./configure --with-ssl
make
sudo make install
wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.1/rabbitmq-server-2.8.1-1.noarch.rpm
sudo /etc/init.d/rabbitmq-server start

[Solved] -bash: mail: command not found in Redhat CentOS Amazon EC2


By default, Amazon EC2 has not prepacked with mail utilities. So whenever you tried to send a mail from command line, you will get an error message that says: -bash: mail: command not found. Its because of you don't have required mail packages.



Copy and paste the following command to install mailutils in Amzon EC2.
sudo yum install mailx

Now test it by sending a mail from command line.
echo "This will go into the body of the mail." | mail -s "Testing from EC2." you@example.com

Note: Change you@example.com to your email address.