Apache Solr installed on Linux

Apache Solr Linux install

Apache Solr is open source search software. It’s capable of being implemented as an enterprise-level search engine thanks to its high scalability, advanced indexing, fast queries, and ability to integrate with a large variety of applications. It’s capable of tackling big data and also has high availability with its load balancing and failover configurations.

The platform is written in Java and can be installed on Linux systems. In this guide, we’ll show the step by step instructions for installing Apache Solr on some of the most popular Linux distros, including Ubuntu, Debian, CentOS, and Red Hat.

In this tutorial you will learn:

  • How to install Apache Solr on Debian based systems
  • How to install Apache Solr on Red Hat based systems
  • Initial configuration of Apache Solr
Apache Solr installed on Linux

Apache Solr installed on Linux

Read more

firewalld on CentOS

Install firewalld on CentOS Linux system

firewalld is a front-end for the built in netfilter firewall on Linux systems. The main advantage of firewalld over using raw nftables/iptables commands is that it’s easier to use, especially for more complex firewall features like timed rules. In this regard, it’s similar to the uncomplicated firewall (ufw) that comes installed by default on Ubuntu systems.

On CentOS, firewalld is the default firewall interface and should already be installed on your system. In this guide, we’ll take you through the installation of firewalld on CentOS, which includes some basic usage commands so you can get started managing the firewall.

In this tutorial you will learn:

  • How to install and update firewalld
  • firewalld basic usage commands

Read more

How to update CentOS

How to update CentOS

Like all Linux distros, it’s important to keep your CentOS system up to date in order to make sure that you have the latest security updates and newest features. Updating the system usually involves simply upgrading all installed packages to their latest versions. Every few years, there’s a new version of CentOS released, which requires a more involved update process to install.

In this article, we’ll cover updating a CentOS system on a per package basis and upgrading the entire operating system. This can be done via command line and GUI. Both methods will be shown in this guide, so you can pick whichever is easier for you.

The process for upgrading a CentOS system is a little different depending on which version you have installed. The latest version of Centos has moved to the dnf package manager. Previous to Centos 8, yum was the package manager used. Regardless of which version you’re running, we’ll show you the proper commands so you can update your system.

In this tutorial you will learn:

  • How to update CentOS packages via command line
  • How to update CentOS packages via GUI
  • How to upgrade entire CentOS system

Read more

How to install Fedora/RHEL/CentOS via kickstart on an existing LUKS device

How to install Fedora/RHEL/CentOS via kickstart on an existing LUKS device

Kickstart installations let us easily script and replicate unattended or semi-unattended installations of Fedora, Red Hat Enterprise Linux or CentOS. The instructions needed to install the operating system are specified, with a dedicated syntax, inside a Kickstart file which is passed to the Anaconda installer. In this tutorial we will see how to reuse an already existing LUKS (Linux Unified Keys Setup) container when performing a Kickstart installation: this is something that cannot be achieved just with Kickstart instructions and requires some extra steps.

In this tutorial you will learn:

  • How to use an existing LUKS container when performing a Kickstart installation of Fedora, RHEL or CentOS
  • How to create and use an updates.img file to be used with the Anaconda installer.

Read more

Installed Nvidia drivers on CentOS 7 Linux GNOME desktop

How to install the NVIDIA drivers on CentOS 7 Linux

The CentOS 7’s support for Nvidia video graphic cards comes in a form of an open source nouveau driver. In case the nouveau driver is not a sufficient solution, users can install the official Nvidia driver as a proprietary alternative. This step by steps tutorial will guide you through the entire process on Nvidia driver installation.

To install Nvidia driver on other Linux distributions, follow our Nvidia Linux Driver guide.

Read more

generate rndc and bind configuration - centos

Configure RNDC Key for Bind DNS server on CentOS 7

Objective

In order to administer DNS server (bind) from a command line, the RNDC utility needs to be correctly configured to avoid error message such as “rndc connect failed 127.0.0.1 connection refused“. The objective is to configure RNDC for Bind DNS server on CentOS 7 Linux.

Operating System and Software Versions

  • Operating System: – CentOS Linux release 7.4.1708 (Core) Linux
  • Software: – Bind 9

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

Read more

How to check Linux version

How to check Linux Version

The common scenario is that you have been given an access to a Linux system physically or via remote login and you have no idea what Linux version is installed on this particular system. Given that many of the today’s Linux Distributions have implemented systemd as part of their core design, to check for a Linux version is in many cases relatively simple procedure.

The simplest way to check Linux version is by using the hostnamectl command without any arguments. For example the below hostnamectl command will return the Linux distribution name, version and codename in use along with the currently loaded Linux kernel version:

$ hostnamectl 
   Static hostname: x220
         Icon name: computer-laptop
           Chassis: laptop
        Machine ID: 2d4efda5efb0430faeb2087d0a335c6b
           Boot ID: f8c4a3a776a74d42878347efc2c00634
  Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.9.0-9-amd64
      Architecture: x86-64
DID YOU KNOW?

It is a common mistake to refer to the entire GNU/Linux operating system simply as Linux. The important note here is that the so called Linux is actually only the Kernel part of the system whereas GNU is the actual system as in collection of pre-compiled binaries, libraries and system tools. Both GNU and Linux kernel must function in tandem in order for the operating system to actually work.

Hence, one cannot exists without the other, so next time when you talk about your operating system and you wish to be technically correct, refer to it as GNU/Linux or simply as Lignux.

In this tutorial you will learn:

  • Basic introduction to Linux package
  • How to check system architecture and Linux kernel version
  • How to check CPU architecture
  • How to check CentOS, Redhat, Debian, Ubuntu, Mint, Arch, Fedora Linux system version

Read more

phpmyadmin-login-page

How to install phpMyAdmin on RHEL 8 / CentOS 8

PhpMyAdmin is a php web application which let us manage a MariaDB/MySQL database from an intuitive graphical interface. The application is not provided in the RHEL 8 / CentOS 8 official repositories, and is usually installed from third party sources like EPEL. Epel-8 is, however, not yet available, so in this tutorial we will see how to fetch the upstream phpMyAdmin code and install it on our system “manually”.

In this tutorial you will learn:

  • How to download and install phpMyAdmin from source
  • How to verify the downloaded archive
  • How to access the phpMyAdmin configuration wizard

phpmyadmin-login-page

The phpMyAdmin login page

Read more