Skip to content

devopscloudsre/abc.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

abc.com

This is used to show demo for Chef CookBOOK

ABC.com - Static Website

  1. Install apache - package

  2. Create a New Doc root - /var/www/html/abc.com - directory

  3. copy the code from git dev branch to New Doc root - git'

  4. open httpd.conf and change the doc root to new one which is created 2nd step - remote_file

    • timeout 150sec
  5. start, Enable & Reload the apache - service

1. Create a cookbook-

cd /etc/chef-repo/cookbooks

chef generate cookbook myfirstcb

cd myfirstcb

[root@ip-172-31-46-193 myfirstcb]# pwd /home/ec2-user/chef-repo/cookbook/myfirstcb

cd /etc/chef-repo/cookbooks/myfirstcb/recipes

Copy the apache.rb from this Github Repo and run it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published