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

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

Linux terminal keyboard shortcuts

A few keyboard short-cuts to use working in Linux terminal either in a text mode or desktop X session:

  • [Ctrl] + [Alt] + [Fn] = it switches screens.
    [Ctrl]+[Alt] + [F1] through [F6] are text-mode shell prompt screens and [F7] is the graphical desktop screen.
  • [Ctrl] + [Alt] + [Delete] = When is used in graphic desktop session it shuts down Cent OS, Red Hat and should work similar with any other Linux distribution. To use only when the normal shutdown procedure does not work, this short-cut will display the desktop logout screen that allow you to logout, reboot, or shut down.
  • Continue reading