Installing Chef Server on Ubuntu 16


Reference: https://www.howtoforge.com/tutorial/how-to-install-and-configure-chef-on-ubuntu-1704/


Removing chef-server (11.0.10-1.ubuntu.12.04) ... (Remove the OLDER versions if any)

root@ip-172-31-25-91:/# wget https://packages.chef.io/files/stable/chef-server/12.15.8/ubuntu/16.04/chef-server-core_12.15.8-1_amd64.deb
--2017-09-04 18:24:21--  https://packages.chef.io/files/stable/chef-server/12.15.8/ubuntu/16.04/chef-server-core_12.15.8-1_amd64.deb
Resolving packages.chef.io (packages.chef.io)... 151.101.32.65
Connecting to packages.chef.io (packages.chef.io)|151.101.32.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 203518098 (194M) [application/x-debian-package]
Saving to: ‘chef-server-core_12.15.8-1_amd64.deb’

chef-server-core_12.15.8-1_amd64.deb  100%[======================================================================>] 194.09M  67.6MB/s    in 2.9s

2017-09-04 18:24:30 (67.6 MB/s) - ‘chef-server-core_12.15.8-1_amd64.deb’ saved [203518098/203518098]

root@ip-172-31-25-91:/# dpkg -i chef-server-*.deb
Selecting previously unselected package chef-server-core.
(Reading database ... 128088 files and directories currently installed.)
Preparing to unpack chef-server-core_12.15.8-1_amd64.deb ...
Unpacking chef-server-core (12.15.8-1) ...

    execute("/opt/opscode/bin/private-chef-ctl start postgresql") do
      action [:run]
      retries 20
      retry_delay 2
      default_guard_interpreter :execute
      command "/opt/opscode/bin/private-chef-ctl start postgresql"
      backup 5
      returns 0
      user nil
      declared_type :execute
      cookbook_name "private-chef"
      recipe_name "postgresql"
    end

    Platform:
    ---------
    x86_64-linux

Recipe: private-chef::rabbitmq
  * execute[restart_rabbitmq_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/rabbitmq/log
  * runit_service[rabbitmq] action restart (up to date)
Recipe: private-chef::postgresql
  * runit_service[postgresql] action restart

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...