Install Java – silent install

Oracle Java 8 JDK – Java Development Kit – apt-get install method

Silent install Java 6/7/8/9 using WebUpd8 team’s PPA

sudo apt-get install -y python-software-properties debconf-utils
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo apt-get install -y oracle-java8-installer

Continue reading

Vagrant – build always same VMs

Vagrant is a tool for building complete development environments.

With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the “works on my machine” excuse a relic of the past.

Continue reading

Ansible automation

Ansible is App deployment, configuration management and orchestration – all from one system.

It uses no agents and no additional custom security infrastructure, so it’s easy to deploy – and most importantly, it uses a very simple language (YAML, in the form of Ansible Playbooks) that allow you to describe your automation jobs in a way that approaches plain English. Continue reading

Bootable USB in linux with freeDOS

Bootable USB stick is very handy and it seems to easy to create using dedicated applications both under Linus or M$ but let’s set the challenge and try to make it manually from the bare Linux command like. This knowledge may become very helpful in Data Centrer scenarios  where servers BIOS need to be updated but no Windows environment is available for the M$ executable to run.

At the end of this tutorial you will see that USB creators tools are quite sophisticated peace of software allowing to create many different systems  with a speed of blink of an eye not necessary telling to the user all magic happening under a hood. Let’s start… Continue reading

Configure NTP server and client on Vmware ESXi Hypervisor

Priority: Critical

VMware network time synchronization: A walkthrough To configure NTP synchronization, select the host, and on the Configuration tab, select Time Configuration under Software. You’ll now see the existing time synchronization status on that host. Next, click Properties. This selection shows the Time Configuration screen, where you can see the current time on the host. Make sure it’s not too different from the actual time, because a host that’s more than 1,000 seconds is considered “insane” and won’t synchronize. Continue reading

Windows routing – ipconfig and route command

Hi. It’s pretty funny talking about Windows and routing :0, however I need to document how to change a route metric when my Internet is from wireless network but LAN cab;e interface has just been configured by DHCP. In Windows always a network cable connection takes higher priority therefore that interface is assigned with lower metric therefore is used as a default gateway. But this is not always what we need. Please follow this step by step guide to assign a wireless interface as the default ip gateway. Continue reading