Monday 11 July 2016

How to Complete Uninstall VMware Workstation from Kali Linux, Ubuntu 15 - 16 and Debian 7/8

VMWare Workstation doesn't ship in a deb, so it isn't registered in dpkg (which is why you can't find it in the software center). It does have an install and uninstall utility though.
To uninstall VMWare Workstation, you will need to run:
sudo vmware-installer --uninstall-product vmware-workstation  
If you just run:
vmware-installer
by itself, it will print all the options you have available. If you run:
vmware-installer -l
It will print a list of all VMWare products you have installed.
Similarly, to uninstall VMWare Player:
sudo vmware-installer --uninstall-product vmware-player

Monday 13 April 2015

Elasticseach - Shards allocation error

After follow the Guidelines from Elastic documentation. In order to recover unassigned shard on TEST Env elasticsearch cluster. I got this error..

" {"error":"RemoteTransportException[[node01][inet[/ipaddess:9300]][cluster:admin/reroute]]; nested: ElasticsearchIllegalArgumentException[[allocate] trying to allocate a primary shard [.shardname1][0], which is disabled]; ","status":400} "
Resolved with ...

"
#!/bin/bash
for shard in $(curl -XGET http://localhost:9200/_cat/shards | grep UNASSIGNED | awk '{print $2}'); do
  # This have to be commented
  curl -XPOST 'localhost:9200/_cluster/reroute' -d '{
    "commands": [
      {
      "allocate": {
          "index": "index_name",
          "shard": 1,
              "node": "node1",
              "allow_primary": true
          }
        }
    ]
  }'
  sleep 5
done
"

So, I would like to ask you whether, I should try to recover the data or just disable it at all.
:-) Dont worry I managed to fix it and re-assigned the shards ...

Tuesday 24 March 2015

Error while trying to update Ubuntu 14.04 LTS

Hi all this morning, as usual I was kind updating my Ubuntu and part of my normal system maintenance check up and find this error, while trying to update my system.


It seems strange to me, after a quick google - I found a work around on this website on AskUbuntu forum.. http://askubuntu.com/questions/599112/google-chrome-ppa-upgrade-invalid-signature.

"
Open a terminal and enter the following:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
 
That will import Google's updated GPG Key.

You should be able to update the system without any errors.
Source: Google Linux Repositories
"

How to Create a Ansible Lab on your Local Machine using Vagrant in 5 min using ChatGPT - Part 2

Update the above Vagrantfile Centos 8 servers and add Public IP and dhcp on each server .. To update the provided Vagrantfile for the three ...