Skip to content

Instantly share code, notes, and snippets.

@kyhau
Last active March 1, 2016 10:25
Show Gist options
  • Save kyhau/401efb3261e5fe2da5eb to your computer and use it in GitHub Desktop.
Save kyhau/401efb3261e5fe2da5eb to your computer and use it in GitHub Desktop.
Rabbitmq Upgrade

Rabbitmq Upgrade

For details see https://www.rabbitmq.com/install-debian.html

# Stop RabbitMQ
$ rabbitmqctl stop 
 
#Change /etc/hosts
#Change /etc/hostname
 
#Uninstall old RabbitMQ: 
$ dpkg -P rabbitmq-server
 
#Remove RabbitMQ’s database: 
$ rm -rf /var/lib/rabbitmq
 
#Find erlang’s process that is running rabbit: ps ax | grep rabbit
#Kill the listed process
 
#Reinstall RabbitMQ: 
$ apt-get install rabbitmq-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment