Installation
manual
https://docs.chef.io/install_server.html
1. Download the latest Chef server core https://downloads.chef.io/
wget https://path/chef-servercore.deb2. Install Chef Server
sudo dpkg -i chef-server-core_*.deb3. Remove the download file
rm chef-server-core_*.deb3. The next step in the upgrade process is to run
sudo chef-server-ctl upgradeAfter the upgrade command completes, your Chef services will remain in a down state. To bring them back up run:
sudo chef-server-ctl startThen, to remove configuration files, logs, directories, users, etc. that were used by internal services that have been removed from this version of Chef Server, please run (Add the ‘—no-op’ option to see what would be removed by this command):
sudo chef-server-ctl cleanup4. Run the chef-server-ctl command to start the Chef server services
sudo chef-server-ctl reconfigure5. If you want Web Manager go to _setupFeature/ChefManage file to configure
you may want to create user and organization before setting up Web Manager
Create User and Organization
1. mkdir ~/.chef
2. create admin user
sudo chef-server-ctl user-create username firstname lastname email password —filename ~/.chef/username.pem3. create organization
sudo chef-server-ctl org-create shortname fullname —association_user username —filename ~/.chef/shortname.pem
host it in cloud
To have a trial ChefServer hosted online
- go to https://manage.chef.io/signup to signup
- go to https://api.chef.io/login to login
Features
Click here to expand...
https://docs.chef.io/install_server.html
Chef Manage
Web UI to configure Chef Server
- sudo chef-server-ctl install chef-manage
- sudo chef-server-ctl reconfigure
- sudo chef-manage-ctl reconfigure
- go to https://localhost:80
Chef Push Jobs
- sudo chef-server-ctl install opscode-push-jobs-server
- sudo chef-server-ctl reconfigure
- sudo opscode-push-jobs-server-ctl reconfigure
Chef Report
- sudo chef-server-ctl install opscode-reporting
- sudo chef-server-ctl reconfigure
- sudo opscode-reporting-ctl reconfigure
Commands
Click here to expand...
1. Run the chef-server-ctl command to start the Chef server services:
sudo chef-server-ctl reconfiguresudo chef-server-ctl startsudo chef-server-ctl restartsudo chef-server-ctl stopsudo chef-server-ctl status2. Remove the Chef server application, but without removing any of the data
chef-server-ctl uninstall3. To revert the uninstall subcommand, run the reconfigure subcommand (because the start subcommand is disabled by the uninstall command).
sudo chef-server-ctl reconfigure