How to install Maven on CentOS

Apache Maven is a project management software, managing building, reporting and documentation of a Java  development project. In order to install and configure Apache Maven on CentOS, follow these steps.

First of all, you need to install Java 1.8 JDK. Make sure to install Java JDK, not JRE.

Then go ahead and download the latest Maven binary from its official site. For example, for version 3.3.9:

[Read more…]

ERROR: The missing cookbook(s)

If you received error uploading cookbook to chef server:

knife cookbook upload rundeck
Uploading rundec
ERROR: Cookbook rundeck depends on cookbooks which are not currently
ERROR: being uploaded and cannot be found on the server.
ERROR: The missing cookbook(s) are: 'java' version '>= 0.0.0', 'yum' version '>= 0.0.0', 'apt' version '>= 0.0.0', 'supervisor' version '>= 0.0.0', 'database' version '>= 0.0.0', 'mysql2_chef_gem' version '~> 1.0.2', 'mysqld' version '~> 1.0.3'

 

[Read more…]

Installing workstation for managing Chef server

A workstation is a computer that is configured to run knife, to synchronize with the chef-repo, and interact with a single Chef server. The workstation is the location from which most users will do most of their work.

We need ti install on our workstation:

  • knife
  • chef-sdk
  • chef-repo
  • ruby

 

[Read more…]

Installing Chef on Centos 6

Today we will install chef server in our home lab based on proxmox 3.4.6. So we have installed server 2cpu, 2Gb memory, Centos 6.7

First of all I switched off selinux, and configured hostname of server in /etc/sysconfig/network and /etc/hosts

Let's go on:

#wget https://web-dl.packagecloud.io/chef/stable/packages/el/6/chef-server-core-12.1.2-1.el6.x86_64.rpm

# rpm -Uvh chef-server-core-12.1.2-1.el6.x86_64.rpm

# chef-server-ctl reconfigure

[Read more…]

VMware VSAN Health Check Plugin Installation

Few weeks ago VMWare released VSAN Health Check Plugin. This plugin allows monitoring and troubleshooting your VSAN 6.0 Clusters. There are two versions of this plugin: first for Windows based vCenter Server and the second – for Linux VCSA (rpm file). VSAN Health Check plugin allows you to collect information about Cluster and its health, which would otherwise needed to be gathered via RVC or CLI. There is also a vib file which you need to deploy on your esxi hosts in VSAN Cluster.  The deployment of the VIB file can be done through vSphere web client (other methods are through RVC, VUM or manually via CLI with “esxcli software vib” commands).

[Read more…]