O'Reilly logo

Learning Chef by Rishabh Sharma, Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing the high-availability Chef server

As we know, in the high-availability on-premises Chef installation, we have two backend servers in which one works as a Bootstrap server. First, we will have to install on-premises Chef on both the backend servers, then configure on-premises Chef on the frontend server.

Installing on-premises Chef on the backend server

As discussed, we need to install on-premises Chef on both the backend servers. There are different commands for different Linux distributions, which are as follows:

  • Installing the on-premises Chef package on Ubuntu:
    $ dpkg -i /tmp/chef-server-core-<version>.deb
    
  • Installing the on-premises Chef package on CentOS and Red Hat:
    $ rpm -Uvh /tmp/chef-server-core-<version>.rpm
    

In the high-availability ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required