Install Laravel With Composer On Ubuntu 18.04

Install And Host Laravel On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install Laravel with Nginx and MariaDB on Ubuntu 18.04

Distributions

Ubuntu 18.04 Bionic Beaver

Requirements

A working install of Ubuntu 18.04 with root privileges

Difficulty

Easy

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

Laravel as quickly earned its place as the top PHP framework. It brought a lot of developer friendly features found in other frameworks like Rails to the PHP ecosystem, and in doing so, modernized PHP development.

If you’re looking to develop with Laravel or host it on Ubuntu 18.04, the setup process has never been easier. Since Laravel is PHP, there are a couple of ways to handle this, but Nginx and MariaDB provide a fairly straightforward way to get your project running with modern production-ready tools.

Read more

FreeIPA login page

How to install and configure FreeIPA on Red Hat Linux

Objective

Our objective is to install and configure a standalone FreeIPA server on Red Hat Enterprise Linux.

Operating System and Software Versions

  • Operating System: Red Hat Enterprise Linux 7.5
  • Software: FreeIPA 4.5.4-10

Requirements

Privileged access to the target server, available software repository.

Difficulty

MEDIUM

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux commands to be executed as a regular non-privileged user

Introduction

FreeIPA is mainly a directory service, where you can store information about your users, and their rights regarding login, become root, or just run a specific command as root on your systems that are joined your FreeIPA domain, and many more. Although this is the main feature of the service, there are optional components that can be very useful, like DNS and PKI – this makes FreeIPA an essential infrastructural part of a Linux-based system. It has a nice web-based GUI, and powerful command line interface.

Read more

SSL error message in Firefox browser

How to setup SSL/TLS with Apache httpd on Red Hat

Objective

The objective is to set up Apache webserver with SSL/TLS support on Red Hat Linux, using the packages shipped with the distribution.

Operating System and Software Versions

  • Operating system: Red Hat Enterprise Linux 7.5
  • Software: Apache httpd, mod_ssl

Requirements

Privileged access to the webserver.

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux commands to be executed as a regular non-privileged user

Introduction

Installing a webserver is pretty easy on modern distributions, as use cases of a webserver are so common that most if not all distributions provide packages in their repositories. Apache httpd is a reliable webserver used by a large portion of the Internet, and many modules are available to extend it’s functionality.

Read more

Solving dependencies with rpm

Working with package dependencies on Red Hat Linux

Objective

Our goal is to get used to the tools available to find out information about package dependencies on an RPM based system.

Operating System and Software Versions

  • Operating system: Red Hat Enterprise Linux 7.5
  • Software: rpm 4.11, yum 3.4.3

Requirements

Privileged access to the system.

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – given linux commands to be executed as a regular non-privileged user

Introduction

RPM, which stands for Red Hat Package Manager, is a well-known and mature package manager used by all Red Hat flavor distributions, as well as SuSE. With RPM the packager can define relations between packages, and even with versions of packages – for example, an Apache Tomcat server needs proper Java environment present to be able to run.

On the other hand, to install a Java environment, you don’t need a Tomcat server – you may decide to run some different Java based application, maybe one written by yourself started by hand when needed to do it’s job. In other words, the Tomcat server depends on Java.

Read more

How to use argparse to parse python scripts parameters

Objective

Learn to use the argparse module to easily parse python scripts parameters

Requirements

  • Basic knowledge of python and object oriented concepts

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either
    directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

In a previous article we have seen how to parse command line arguments using getopts in the context of bash scripts (you can find the article here). Now we will see how to accomplish the same task, in a more powerful way, when writing a python script.

Read more

Install Drupal Ubuntu 18.04 - Select Language

Install Drupal on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Drupal on Ubuntu 18.04 Bionic Beaver Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Drupal 8.4.5 or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

Install Redis on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to Install Redis server or client on Ubuntu 18.04 Bionic Beaver

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – Redis 4.0.8 or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

Install NPM on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective of this article is to install NPM on Ubuntu 18.04 Bionic Beaver. NPM is the package manager for JavaScript.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – 3.5.2 or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

Python OpenCV on Ubuntu 18.04

Install OpenCV on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to Install OpenCV on Ubuntu 18.04 Bionic Beaver Linux and provide a simple OpenCV example

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – OpenCV 3.2 or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

ubuntu-grub-menu

How to boot Ubuntu 18.04 into emergency and rescue mode

Objective

Learning about systemd emergency and rescue targets and how to boot the system into them

Requirements

  • No special requirements

Difficulty

EASY

Conventions

  • # – requires given linux commands to be executed with root privileges either
    directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

Systemd has nowadays become the de facto standard init system for all the major Linux distributions.

Superseding SysV and upstart, it also replaced the classical way of defining system runlevels, using system targets, a special type of unit.

In this tutorial we will see how to boot an Ubuntu 18.04 system into the emergency and rescue systemd targets, and what kind of environment they provide to the users.

Read more