Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Deploying Rails
Table of Contents
What Readers Are Saying About Deploying Rails
Preface
Who Should Read This Book?
What Is in the Book?
How to Read This Book
Tools and Online Resources
Acknowledgments
Anthony Burns
Tom Copeland
Chapter 1: Introduction
1.1 Where Do We Host Our Rails Application?
1.2 Building Effective Teams with DevOps
1.3 Learning with MassiveApp
Chapter 2: Getting Started with Vagrant
2.1 Installing VirtualBox and Vagrant
2.2 Configuring Networks and Multiple Virtual Machines
2.3 Running Multiple VMs
2.4 Where to Go Next
2.5 Conclusion
2.6 For Future Reference
Chapter 3: Rails on Puppet
3.1 Understanding Puppet
3.2 Setting Up Puppet
3.3 Installing Apache with Puppet
3.4 Configuring MySQL with Puppet
3.5 Creating the MassiveApp Rails Directory Tree
3.6 Writing a Passenger Module
3.7 Managing Multiple Hosts with Puppet
3.8 Updating the Base Box
3.9 Where to Go Next
3.10 Conclusion
3.11 For Future Reference
Chapter 4: Basic Capistrano
4.1 Setting Up Capistrano
4.2 Making It Work
4.3 Setting Up the Deploy
4.4 Pushing a Release
4.5 Exploring Roles, Tasks, and Hooks
4.6 Conclusion
Chapter 5: Advanced Capistrano
5.1 Deploying Faster by Creating Symlinks in Bulk
5.2 Uploading and Downloading Files
5.3 Restricting Tasks with Roles
5.4 Deploying to Multiple Environments with Multistage
5.5 Capturing and Streaming Remote Command Output
5.6 Running Commands with the Capistrano Shell
5.7 Conclusion
Chapter 6: Monitoring with Nagios
6.1 A MassiveApp to Monitor
6.2 Writing a Nagios Puppet Module
6.3 Monitoring Concepts in Nagios
6.4 Monitoring Local Resources
6.5 Monitoring Services
6.6 Monitoring Applications
6.7 Where to Go Next
6.8 Conclusion
6.9 For Future Reference
Chapter 7: Collecting Metrics with Ganglia
7.1 Setting Up a Metrics VM
7.2 Writing a Ganglia Puppet Module
7.3 Using Ganglia Plugins
7.4 Gathering Metrics with a Custom Gmetric Plugin
7.5 Producing Metrics with Ruby
7.6 Where to Go Next
7.7 Conclusion
7.8 For Future Reference
Chapter 8: Maintaining the Application
8.1 Managing Logs
8.2 Archiving Application Data
8.3 Organizing Backups and Configuring MySQL Failover
8.4 Making Downtime Better
Chapter 9: Running Rubies with RVM
9.1 Installing RVM
9.2 Serving Applications with Passenger Standalone
9.3 Using Systemwide RVM
9.4 Watching Passenger Standalone with Monit
9.5 Contrasting Gemsets and Bundler
9.6 Conclusion
Chapter 10: Special Topics
10.1 Managing Crontab with Whenever
10.2 Backing Up Everything
10.3 Using Ruby Enterprise Edition
10.4 Securing sshd
10.5 Conclusion
Appendix 1: A Capistrano Case Study
A1.1 Requires and Variables
A1.2 Hooks and Tasks
Appendix 2: Running on Unicorn and nginx
A2.1 Installing and Configuring nginx
A2.2 Running MassiveApp on Unicorn
A2.3 Deploying to nginx and Unicorn
A2.4 Where to Go Next
Bibliography
You May Be Interested In…
← Prev
Back
Next →
← Prev
Back
Next →