Introducing Spring Framework
Introducing Spring Framework Introducing Spring Framework
Appendix A ■ Installing Tools Stop RabbitMQ To stop RabbitMQ, execute the following command: $ brew services stop rabbitmq Stopping `rabbitmq`… (might take a while) ==> Successfully stopped `rabbitmq` (label: homebrew.mxcl.rabbitmq) RabbitMQ Status To get the status of RabbitMQ, execute the following command: $ rabbitmqctl status Installing the RabbitMQ Web Console By default, RabbitMQ doesn’t have the web console enabled, so you need to enable it by executing the following commands: $ rabbitmq-plugins enable rabbitmq_management $ brew services restart rabbitmq After you execute the above commands, you need to restart RabbitMQ, and then you can go to http://localhost:15672/. The username and password are guest/guest. Start RabbitMQ at Login If you want to have RabbitMQ started every time you login into your Mac, the following command will do the trick: $ ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents ■ ■Note For Linux computers, just download the correct package distribution from www.rabbitmq.com/download.html. Installing Spring Boot Spring Boot is a new technology for creating enterprise and production-ready Spring applications (see Figure A-31). To get more information about this project, go to http://projects.spring.io/spring-boot/. 316
Appendix A ■ Installing Tools Figure A-31. Spring Boot Web Page Installing Spring Boot on Windows To install Spring Boot on Windows, you need to download and install the Spring CLI (command-line interface) from http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/. From the previous URL, you can choose the latest version of the CLI. In this example, I’m using spring-boot-cli-1.1.2.BUILD.XXX-bin.zip; once you download it, you can uncompress it into the C:\Tools folder. Next, you need to add the bin path to the Path environment variable, and even though is not required, I suggest you add the SPRINGBOOT_HOME environment variable that points to C:\Tools\spring-1.1.2.BUILD-SNAPSHOT and then modify the Path environment variable by putting this at the beginning of the existing value: %SPRING_HOME%\bin;. 317
- Page 259 and 260: Chapter 19 ■ Spring Boot, Simplif
- Page 261 and 262: Chapter 19 ■ Spring Boot, Simplif
- Page 263 and 264: Chapter 19 ■ Spring Boot, Simplif
- Page 265 and 266: Chapter 19 ■ Spring Boot, Simplif
- Page 267 and 268: Chapter 19 ■ Spring Boot, Simplif
- Page 269 and 270: Chapter 19 ■ Spring Boot, Simplif
- Page 271 and 272: Chapter 19 ■ Spring Boot, Simplif
- Page 273 and 274: Chapter 20 ■ Your First Spring XD
- Page 275 and 276: Chapter 20 ■ Your First Spring XD
- Page 277 and 278: Chapter 20 ■ Your First Spring XD
- Page 279 and 280: Chapter 20 ■ Your First Spring XD
- Page 281 and 282: Chapter 20 ■ Your First Spring XD
- Page 283 and 284: Appendix A Installing Tools In this
- Page 285 and 286: Appendix A ■ Installing Tools Fig
- Page 287 and 288: Setting Environment Variables Appen
- Page 289 and 290: Appendix A ■ Installing Tools Fig
- Page 291 and 292: Appendix A ■ Installing Tools 6.
- Page 293 and 294: Appendix A ■ Installing Tools Fig
- Page 295 and 296: Appendix A ■ Installing Tools ■
- Page 297 and 298: Appendix A ■ Installing Tools Fig
- Page 299 and 300: Appendix A ■ Installing Tools Fig
- Page 301 and 302: Appendix A ■ Installing Tools Fig
- Page 303 and 304: Appendix A ■ Installing Tools Fig
- Page 305 and 306: Stop MongoDB Server Appendix A ■
- Page 307 and 308: Stop ActiveMQ Appendix A ■ Instal
- Page 309: Installing RabbitMQ on Windows Appe
- Page 313 and 314: Installing Spring XD on Windows App
- Page 315 and 316: ■ index • I I/O operations, 62
- Page 317 and 318: ■ index Spring application (cont.
- Page 319 and 320: Introducing Spring Framework A Prim
- Page 321 and 322: To my parents, Rocio Cruz and Felip
- Page 323 and 324: ■ Contents ■■Chapter 3: Apply
- Page 325 and 326: ■ Contents ■■Chapter 12: Expo
- Page 327 and 328: ■ Contents ■■Chapter 20: Your
- Page 329 and 330: About the Author Felipe Gutierrez i
- Page 331: Acknowledgments I would like to exp
Appendix A ■ Installing Tools<br />
Figure A-31. <strong>Spring</strong> Boot Web Page<br />
Installing <strong>Spring</strong> Boot on Windows<br />
To install <strong>Spring</strong> Boot on Windows, you need to download and install the <strong>Spring</strong> CLI (command-line interface) from<br />
http://repo.spring.io/snapshot/org/springframework/boot/spring-boot-cli/. From the previous URL, you<br />
can choose the latest version of the CLI. In this example, I’m using spring-boot-cli-1.1.2.BUILD.XXX-bin.zip;<br />
once you download it, you can uncompress it into the C:\Tools folder.<br />
Next, you need to add the bin path to the Path environment variable, and even though is not required,<br />
I suggest you add the SPRINGBOOT_HOME environment variable that points to C:\Tools\spring-1.1.2.BUILD-SNAPSHOT<br />
and then modify the Path environment variable by putting this at the beginning of the existing value:<br />
%SPRING_HOME%\bin;.<br />
317