Lets Encrypt on CentOS 8

Install Let’s Encrypt on Centos 8

SSL encryption for your website is extremely important. It prevents man in the middle attacks, helps your page’s SEO, and browsers like Firefox won’t warn users that your site is insecure.

Best of all, you can get all these advantages for just a few minutes of your time. In this guide, we’ll show you how to install Let’s Encrypt on Centos 8, and how to use it to configure SSL encryption for your website. In a few steps, your site will become accessible via HTTPS, with HTTP links (optionally) redirecting to the secure protocol as well.

In this tutorial you will learn:

  • How to install Let’s Encrypt
  • How to configure Let’s Encrypt SSL

Read more

Successful installation page of NGINX on Linux

How to install Nginx on Linux

NGINX is one of the most popular web server suites deployed across the internet. It’s efficient, versatile, and works well on pretty much any Linux distribution. Whether you need a local server for testing, or want to host a website for the masses, NGINX is easy to set up. It can also be used as a reverse proxy server.

In this guide, we’ll be going through the step by step instructions to install NGINX on a variety of Linux distributions. We’ll also go over some basic usage commands, like how to start and stop the service. Keep reading to get NGINX setup on your own Linux system.

In this tutorial you will learn:

  • How to install NGINX on various Linux distros
  • How to manage the NGINX service
Successful installation page of NGINX on Linux

Successful installation page of NGINX on Linux

Read more

Deepin Linux, sporting its signature desktop environment

Deepin Linux download

Deepin Linux debuted in 2004, albeit under a different name, and has a solid foundation with being based on Debian Linux. For other most popular Linux distributions, please visit our dedicated Linux download page.

All Linux distributions, at least the good ones, were made to fulfill a particular niche. When I was first met with the Deepin installation prompts, which were in Chinese, it became apparent what its niche was. So, how’s the Wuhan-developed distro stack up against other Linux distros? Let’s go over its main features.

As you should be able to guess, the majority of Deepin’s userbase is in China. Interestingly, the Chinese government likes Deepin so much that they commissioned a derivative to be made, which is slated to displace Microsoft Windows in China by 2022. The distro is called Unity Operating System, and it closely resembles Deepin.

Deepin is to UOS like Fedora is to Red Hat Enterprise Linux. In other words, Deepin introduces new features and updates, and after a period of testing, those updates get absorbed into UOS – the commercial Linux distro which will soon be on a massive amount of China’s computers.

Although Deepin is based on Debian, the Wuhan developers have replaced a lot of the default staples with their own inventions. The Deepin Desktop Environment was created just for this distribution, and combines a lot of favorites from other systems. For example, it institutes the old “start menu,” popularized by Windows. But there’s also a quick launch toolbar at the bottom of the desktop, which reminds me of macOS. Of course, you’ll see plenty of other conventions sprinkled throughout, inspired by various Linux desktop environments.

It doesn’t stop there. Deepin has also created their own music player, movie player, text editor, and a bunch of other applications that are included by default. The system feels intuitive, like a comfy daily driver. The developers certainly did a fine job in making this system approachable by anyone, which must’ve led to its widespread adoption in China. While poking around, I noticed that Google Chrome could be directly installed via package manager – something that most distros don’t support, due to Chrome’s closed source nature. When Deepin makes these calls, is it to support user friendliness, or a step away from a FOSS philosophy? You be the judge.

Read more

apt update and apt upgrade commands being used to upgrade packages

apt update vs apt upgrade

If you ever work with Debian Linux or one of the many Linux distributions that were derived from it, such as Ubuntu, you’ve probably seen or used the APT package manager. APT is how packages are installed, updated, and removed on such systems.

When using the command line, the apt update and apt upgrade commands can be used to update package repos and upgrade packages, respectively. In this guide, we’ll be looking at the difference between the two commands and how they can both be used to upgrade installed packages on a Debian based system.

DID YOU KNOW?
You may also see apt-get update and apt-get upgrade commands used. We’ve written a full article explaining the difference between apt and apt-get, but suffice it to say that these commands perform basically the same functions as the corresponding apt commands.

In this tutorial you will learn:

  • What distros use apt update and apt upgrade?
  • What is the difference between apt update and apt upgrade?

Read more

Installing a Snap package on Linux

How to setup Snap package manager on any Linux distro

The Snap package manager, known as snapd, is a relatively new feature in the Linux ecosystem. It allows a user to install Snap packages, called Snaps, across a wide range of Linux distributions and versions. This works differently than the traditional method of installing packages via a package manager like APT, where applications are packaged and installed as part of the operating system.

Snaps are self-contained and run in a sandbox, making new software pretty safe to install. The Snaps can be browsed and installed from the Snapcraft App Store. Snap gives developers an easy way to push updates for their applications, as well as usage data to help them improve.

Newer versions of Ubuntu should already have Snap enabled, as Canonical developed the feature and first introduced it on their own distribution. It’s also available for most other Linux distributions, but must be installed first.

In this guide, we’ll show you how to install the Snap package manager, snapd, on all major Linux systems. We’ll also show how to get started with searching the Snap store, and installing or removing Snaps from your system.

In this tutorial you will learn:

  • How to enable Snap package manager on all major Linux distros
  • How to install and uninstall Snap packages (Snaps)
Installing a Snap package on Linux

Installing a Snap package on Linux

Read more

kimai time tracker installation docker

Kimai – Time Trakcer installation deployment using Docker

About

Kimai is a free open source timetracker. It tracks the time you spend with various pre-set projects and prints out a summary of your activities on demand. The automated docker Kimai time tracker image “linuxconfig/kimai” can be used to instantly deploy the Kimai time tracker on your docker hosts.

kimai time tracker installation docker

Configuration

The Kimai runs on Debian GNU/Linux system featuring Apache web server, MariaDB ( MySQL ), database and PHP5. After creating a docker container based on “linuxconfig/kimai” docker image, a port 80 will be exposed which can be access on the docker host for an immediate Kimai web configuration/installation as well as later access.

Configured MySQL users:passwords:

  • root:”empty password”
  • admin:”pass”

Configured MySQL databases:

  • kimai

Exposed ports:

  • 80

Deployment

The below command can be used to download and create a new docker container called kimai and link your docker host system’s port 80 with container’s exposed port 80.

# docker run -d --name=kimai -p 80:80 linuxconfig/kimai

Read more

Customize IntelliJ IDEA-1

Installing Intellij IDEA for Scala development on Linux

April 27, 2016
by Rares Aioanei

Introduction

Scala is a programming language that is starting to gain momentum in the last years. The popular TIOBE Index ranks it, as this article is written, as being more used than more popular languages like Haskell or Go. The TIOBE index, if you’re not familiar with the name, is the somehow-authoritative source of information regarding programming language popularity. From the beginning we want to clearly state that this is not, by any means, an article on the language itself. It just aims to get the user up and running with an IDE for writing Scala code in the shortest time possible. That being said, let’s get to it.

Installation and prerequisites

On Linux, the only prerequisite for installing Intellij IDEA, which is the IDE we’ll be talking about, is the Oracle Java JDK. This is a specific requirement, as you can’t use OpenJDK, so please note this before we start. So let’s make sure we have the right JDK installed.

Read more

How to install and use packages in GNU R

Introduction

GNU R offers a wide variety of packages for its users. There are all kinds of packages for R, which allow to display graphics or perform statistical tests. Some packages are designed for applications specific to a given industry. Many packages are already a part of the basic R installation, however, some of them need to be additionally installed into GNU R. This article will describe how to install and use packages under R.

What is a Package

A package is a set of functions, help files and data files that have been linked together. In order to use a package in R you need to first make sure that it is installed in the local library. In general, the one system-level library is used for storing the default R packages. You can, however, add additional libraries. You also need to remember about loading packages into your current R session. This is very important when using R. It is recommended that you do not load too many packages at the time. Loading a large number of packages may result in errors due to clashes of function names coming from two different packages.

Read more

OS Installation on USB drive with VirtualBox

VirtualBox virtualization software allows you to install any operation system directly to any attached block device such as USB stick/drive etc. This is actually a cool way to create you personalized Live Linux USB stick. This short “howto” describes how it works.
For the sake of this tutorial we will be using block device file name /dev/sdb to refer to our attached USB drive. First we need to create a raw vmdk virtual file disk linked to our /dev/sdb USB drive. As a privileged user execute the below command:

# vboxmanage internalcommands createrawvmdk -filename linux-live.vmdk -rawdisk /dev/sdb

Read more

How to extract and repackage initial RAM disk initrd

The following linux commands will explain how to extract a content from compressed initrd initial RAM disk file. Before we begin we need to take care of prerequisites:

# apt-get install p7zip-full

The above command will install 7z and 7za file archivers which we will use to decompress and compress our initrd file.
To begin, first locate your initrd.lz RAM disk file:

ls -l
total 24692
-rw-r--r-- 1 root root 25281685 Dec 14 10:09 initrd.lz

Read more

How to install RegRipper registry data extraction tool on Linux

RegRipper is an open source forensic software used as a Windows Registry data extraction command line or GUI tool. It is written in Perl and this article will describe RegRipper command line tool installation on the Linux systems such as Debian, Ubuntu, Fedora, Centos or Redhat. For the most part, the installation process of command line tool RegRipper is OS agnostic except the part where we deal with installation pre-requisites.

Pre-requisites

First we need to install all prerequisites. Choose a relevant command below based on the Linux distribution you are running:

DEBIAN/UBUNTU
# apt-get install cpanminus make unzip wget
FEDORA
# dnf install perl-App-cpanminus.noarch make unzip wget perl-Archive-Extract-gz-gzip.noarch which
CENTOS/REDHAT
# yum install  perl-App-cpanminus.noarch make unzip wget perl-Archive-Extract-gz-gzip.noarch which

Read more

VA-API setting enabled in Firefox on Linux

Firefox with VA-API on Linux

The Video Acceleration API, developed by Intel, has been enjoying widespread support in a variety of software, including the latest versions of Mozilla Firefox. The VA-API is an API for hardware acceleration that allows a computer to offload video decoding and encoding tasks to a system’s video card, a task that historically has taken place in the CPU.

In this guide, we’ll talk about Firefox’s VA-API setting. This will include a brief introduction to what it is and how it works, as well as how to enable or disable the setting on a Linux system. Keep reading if you want to give the VA-API setting a try, potentially speeding up your web browser’s video playback a great deal.

In this tutorial you will learn:

  • What is Video Acceleration API in Firefox?
  • How to enable or disable VA-API

Read more