25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix A ■ Installing Tools<br />

Stop RabbitMQ<br />

To stop RabbitMQ, execute the following command:<br />

$ brew services stop rabbitmq<br />

Stopping `rabbitmq`… (might take a while)<br />

==> Successfully stopped `rabbitmq` (label: homebrew.mxcl.rabbitmq)<br />

RabbitMQ Status<br />

To get the status of RabbitMQ, execute the following command:<br />

$ rabbitmqctl status<br />

Installing the RabbitMQ Web Console<br />

By default, RabbitMQ doesn’t have the web console enabled, so you need to enable it by executing the following<br />

commands:<br />

$ rabbitmq-plugins enable rabbitmq_management<br />

$ brew services restart rabbitmq<br />

After you execute the above commands, you need to restart RabbitMQ, and then you can go to<br />

http://localhost:15672/. The username and password are guest/guest.<br />

Start RabbitMQ at Login<br />

If you want to have RabbitMQ started every time you login into your Mac, the following command will do the trick:<br />

$ ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents<br />

■ ■Note For Linux computers, just download the correct package distribution from www.rabbitmq.com/download.html.<br />

Installing <strong>Spring</strong> Boot<br />

<strong>Spring</strong> Boot is a new technology for creating enterprise and production-ready <strong>Spring</strong> applications (see Figure A-31).<br />

To get more information about this project, go to http://projects.spring.io/spring-boot/.<br />

316

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!