Learn about the Apache cookbook and how it works within the context of Chef to organize your recipes and resources to maintain a desired configuration.
- [Instructor] Now that we've generated a cookbook…to store our recipes, let's return to the original task…of configuring an Apache web server.…To do this, we'll need to make sure three chef resources:…package, file, and service are properly used…to install and configure Apache.…I'm really excited to show you this,…because we're actually going to get to see…a full installation of the Apache web server package.…Now if you're not familiar with the Apache package,…understand that by default, the package will…serve an index.html page that lives…in the /var/www/html directory.…
And when the Apache service is started,…it will serve this html page on port 80.…Now to set up this configuration,…we're also going to need to use Chef resources…to create our index.html file,…and then start the httpd service.…When we're all done, we'll be able to check our work…by running curl localhost to see what's available on port e.…Great! With this in mind, we're going to need…to actually generate a new recipe to store our instructions.…
- Configuration management
- Using Chef
- Installing the Chef development kit (ChefDK)
- Provisioning a CentOS instance
- Using recipes and the Apache cookbook
- Working with nodes and node objects
- Using templates and embedded Ruby
- Hosting a Chef server
- Provisioning nodes with AWS
- Testing deployments with Kitchen
- Exploring the Chef Supermarket
- Resolving dependencies with Berkshelf
- Working with server roles, environments, and data bags
Skill Level Beginner
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Started with Chef
2. From Recipes to Cookbooks
3. The Chef Server
4. Going Full Scale
Next steps3m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.