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…]

Scan your WP blog with WP scan

I am going to find WordPress Vulnerabilities on my  blog with WP scan. WPScan is a black box WordPress Security Scanner written in Ruby which attempts to find known security weaknesses within WordPress installations. Its intended use it to be for security professionals or WordPress administrators to asses the security posture of their WordPress installations. The code base is Open Source and licensed under the GPLv3.

[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…]

The data service timed out because a back-end task took more than 120

Today I received error on my vm summary page in Vsphere web client: The data service timed out because a back-end task took more than 120 seconds. See the vsphere-client-virgo.log for more details.

Just before that I removed a test vcenter server, which was connected to my PSC  on production Vsphere instance.

You need to remove a stale vCenter Server from your SSO environment, use the cmsso-util. It may takes a long time but does the job.

[Read more…]