How to install Java on Ubuntu 19.10 Eoan Ermine Linux

In this artcile we will discuss a procedure on how to install OpenJDK and OracleJDK java on Ubuntu 19.10 Eoan Ermine Linux.

In this tutorial you will learn:

  • How to install OpenJDK Java
  • How to install OracleJDK Java
  • How to switch between Java versions
  • How to check java version

Read more

How to write comments in Bash Scripts

Well you have written an awesome Bash script. It works perfectly and perhaps there is no need to add new functionality. Well, maybe not for now, at least! At this stage you are happy with the script. However, after few months you reopen your bash script again to add new feature and you get a headache to figure out on how the script actually works. Hence, you need to spend additional energy and time before you can actually start editing the script in order to add new feature.

Well, at this point you regret that you did not put some comments ( notes ) into the script to remind you of how the bash script is structured. Not only that Bash comments serve as excellent notes for you or anybody else who might work with your script they may be to some extend also used as a basic bash script debugging tool.

In this tutorial you will learn:

  • How to comment on bash command line
  • How to write comment bash scripts
  • How to create multiple line comments

Read more

Virtualbox: install guest additions on Ubuntu 19.10 Eoan Ermine

In this tutorial we will be installing the Virtualbox guest additions on Ubuntu 19.10 Eoan Ermine Linux. Virtualbox guest additions allows for better screen resolution and mouse integration.

In this tutorial you will learn:

  • How to Install Virtualbox guest additions compilation and installation.
  • How to check Virtualbox guest additions installation.

Read more

How to install Skype on CentOS 8 Linux

Skype is a telecommunications application to provide video, chat and voice communication between computers, tablets, mobile devices over the Internet connection. In the following tutorial we will perform installation of Skype on CentOS 8 Linux Desktop

In this tutorial you will learn:

  • How to add third-party repository
  • How to install Skype
  • How to start Skype

Read more

How to install VirtualBox on CentOS 8 Linux

VirtualBox is a free and open-source hosted hypervisor for x86 virtualization, developed by Oracle Corporation. This article will discuss the installation procedure of VirtualBox on CentOS 8.

In this tutorial you will learn:

  • How to add VirtualBox Repository
  • How to import VirtualBox signing keys
  • How to Install VirtualBox

Read more

Persisting data into a PosgreSQL database with PHP

PHP is a widely used server scripting language. It’s vast capabilities and lightweight nature makes it ideal for web frontend developing, and while it is possible to create advanced structures in it, it’s basic usage also easy to learn, which makes it a good starting point for beginners also. The data recorded, processed, sent or displayed by the application we build is need to be stored somewhere, however; our webpage is stateless without this data. We can store our data in many ways or even discard it after use, but the most standard way is storing it in a database designed for the sole purpose of storing data in a reliable way, and present it if needed, as fast as possible.

In this tutorial we will build a simple webpage to record and display user data. We will use a PostgreSQL RDBMS as backend, and develop our application in PHP that will run on an Apache Webserver. This way we can access our web application from any common browser to view or add to our user database. It is the nature of the web application that many users/operators can work with it simultaneously, all they need is a browser and network access to our application.

In this tutorial you will learn:

  • How to install needed packages for PostgreSQL connection in PHP
  • How to create the database side of the application
  • How to code the example application
  • How to operate and verify the example application

Read more

How to install phantomjs on RHEL 8 / CentOS 8

Phantomjs is a scriptable, headless browser. It can be essential help in automated testing of web services, it can generate screenshots of the page it is visiting, effectively print the traffic while browsing a page, just to name a few of it’s features. Phantomjs can be scripted in JavaScript, so we don’t need to learn yet another language is we are familiar with it. Sadly, it’s development is suspended at the moment, but the last stable release is available for download.

In this tutorial we will install phantomjs on RHEL 8 / CentOS 8, and run one of the examples shipped with the package to see our tool working.

In this tutorial you will learn:

  • How to download phantomjs package
  • How to extract and place the binary on the path
  • How to run an example script with phantomjs

Read more

How to install ActiveMQ on RHEL 8

Apache ActiveMQ is a widely used messaging server written in Java. As messaging services commonly do, it creates a bridge between heterogeneous systems for reliable data exchange in the form of messages pushed into queues by producer clients, where they wait to be “read”, or consumed by consumer clients.

Naturally a system that is client to ActiveMQ can be both producer and consumer, and more than one systems can subscribe to a queue or topic, thus enabling flexible communication between these client systems. Many different platforms and protocols can be used to connect to ActiveMQ, increasing it’s usefulness even more.

In this tutorial we will install Apache ActiveMQ on Red Hat Enterprise Linux 8 from tarball, add the systemd unit files for ease of use, and access the admin page of our new service to create a queue.

In this tutorial you will learn:

  • How to install ActiveMQ from tarball
  • How to set up environment from the command line
  • How to add systemd unit files for ActiveMQ
  • How to access the admin page

Read more

OTRS installation on RHEL 8

OTRS is an open source service management solution used by many companies around the world. It’s extensibility and ability to integrate with other systems no doubt add to it’s popularity. Written in perl, this software will run on mostly anything, and it’s low requirement on resources makes it ideal even for a small business to start ticketing, or standardize their internal processes.

In this tutorial we will install OTRS on a Red Hat Enterprise Linux 8. Keep in mind that the steps described below are only apply to version 6.0.14, Community Edition. For example, version 6.0.15 will not work when the below steps are performed on the same environment.

In this tutorial you will learn:

  • How to install OTRS from tarball
  • How to solve dependencies
  • How to configure the environment
  • How to run the web installer
  • How to login to the service

Read more