chef-server-ctl uninstall

opcode-analytics-ctl uninstall


As root

Download the package from

rpm -Uvh chef-server-core-12.11.1-1.el7.x86_64.rpm

chef-server-ctl reconfigure

chef-server-ctl user-create username christian surname email.compasswd‘ –filename /home/username/name.pem
chef-server-ctl org-create orgname description‘ –association_user username –filename /home/dirname/org_validator.pem
Use Chef management console to manage data bags, attributes, run-lists, roles, environments, and cookbooks from a web user interface.
chef-server-ctl install chef-manage
chef-server-ctl reconfigure
chef-manage-ctl reconfigure
Use Chef push jobs to run jobs, an action or a command to be executed, against nodes independantly of a chef-client run.
chef-server-ctl install opscode-push-jobs-server
chef-server-ctl reconfigure
opscode-push-jobs-server-ctl reconfigure
Use Reporting to keep track of what happens during every chef-client runs across all of the infrastructure being managed by Chef. Run Reporting with Chef management console to view reports from a web user interface.
chef-server-ctl install opscode-reporting
chef-server-ctl reconfigure
opscode-reporting-ctl reconfigure

chef-server-ctl user-list

If you reset the chef server address etc then remember you need to run chef-server-ctl reconfigure

chef-server-ctl reconfigure
Some useful diagnostic commands
1  yum update
2  wget
3  cd /etc/yum.repos.d
5  wget
10  yum update
11  shutdown -r now
21  vi /etc/sudo.conf
22  vi sudoers
30  hostname
32  vi /etc/hostname
37  ifconfig
59  netstat -tulpn | grep 443
60  curl localhost:443
61  curl https://localhost:443
62  curl https://localhost:443 –insecure
63  ps faux | grep nginx
64  cd /var/log/opscode/nginx/
69  less access.log
70  less config
72  ps faux | grep nginx
79  grep 443 *
80  iptables -L
81  service iptables stop
82  iptables -L
83  service iptables status
84  service firewalld status
85  service firewalld stop
86  chkconfig –list iptables
91  systemctl disable firewalld