How to deny all incoming ports except FTP port 20 and 21 on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to enable UFW firewall, deny all incoming ports however only allow FTP port 20 and 21 on Ubuntu 18.04 Bionic Beaver Linux

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver

Requirements

Privileged access to your Ubuntu 18.04 Bionic Beaver will be required.

Difficulty

EASY

Conventions

Read more

Ubuntu Bionic Begin Matmomo Install

How to install Matomo Open Source Analytics On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install Matomo analytics on Ubuntu 18.04 Bionic Beaver

Distributions

Ubuntu 18.04

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

Analytics are important for nearly every website, but if you’re a fan of free and open source software, the idea of letting Google monitor all of your site’s traffic might not sound too good. There is, however, another option. You can install and host your own analytics with Matomor(formerly Piwik). Matomo is an open source PHP application that you can run yourself, putting you in control of your analytics platform. Plus, Matomo actually respects your users and doesn’t try to break tracking protection.

Read more

How to install Webmin on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Webmin on Ubuntu 18.04 Bionic Beaver Linux along with required Linux, Apache, MySQL, PHP (LAMP) stack.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver Linux
  • Software: – Webmin 1.870 and higher

Requirements

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

Scenario

This guide assumes the following scenario:

  • open firewall port 10000 or disabled firewall. See appendix below on how to open port 10000 on your UFW firewall
  • webmin server can be resolved via hostname webmin.linuxconfig.org. Confirm your DNS settings before continuing.

Difficulty

EASY

Conventions

Read more

How to reset root MariaDB password on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to reset lost root MariaDB password on Ubuntu 18.04 Bionic Beaver Linux.

Please note that if you have just installed your MariaDB server and are unable to login as root user with:

$ mysql -u root
ERROR 1698 (28000): Access denied for user 'root'@'localhost'

you do not need to reset your password. Instead, to login as root amend the above command to:

$ sudo mysql

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver
  • Software: – mysql Ver 15.1 Distrib 10.1.25-MariaDB or higher

Requirements

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

Difficulty

EASY

Conventions

Read more

How to fix Missing plugin: gstreamer on Ubuntu 18.04 Bionic Beaver Linux

Symptoms

The follow error message appears when trying to play video or audio:

** Message: Missing plugin: gstreamer|1.0|totem|MPEG-4 AAC decoder|decoder-audio/mpeg, mpegversion=(int)4, level=(string)2, base-profile=(string)lc, profile=(string)lc (MPEG-4 AAC decoder)
** Message: Missing plugin: gstreamer|1.0|totem|H.264 (Main Profile) decoder|decoder-video/x-h264, level=(string)3.1, profile=(string)main (H.264 (Main Profile) decoder)

Read more

Add MongoDB Source On Ubuntu 18.04

Install The MEAN Stack On Ubuntu 18.04 Bionic Beaver Linux

Objective

Install the MEAN stack on Ubuntu 18.04

Distributions

Ubuntu 18.04

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

The MEAN stack is quickly becoming a favorite among web developers. MEAN stands for MongoDB, ExpressJS, AngularJS, and NodeJS. Clearly, this is a JavaScript heavy tech stack, so it’s not for people who don’t like JS. However, it does provide an excellent framework for building lightweight and fully capable web applications.

Read more

cockpit_logo

How to install cockpit on Ubuntu 18.04 Bionic Beaver

Objective

Learn how to install and take advantage of cockpit on an Ubuntu 18.04 machine

Requirements

  • Root permissions

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

cockpit_logo

Introduction

Cockpit is a web-based system administration service, which let us manage machines in a nice and easy way. Its aim is to simplify daily administration tasks, including resources, network and users monitoring and management.

Originally available for the Rhel distributions family, it was possible to install it on Ubuntu 16.04 by using an external ppa. With Ubuntu 18.04 it has been included in the official repositories, therefore its installation has become even simpler and safer.

Read more

joomla-logo

How to install Joomla on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective of this tutorial is to obtain a working Joomla installation based on a Lamp environment built on Ubuntu 18.04 Bionic Beaver.

Requirements

  • Root permissions

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
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

joomla-logo
Joomla is one of the most famous CMS (Content Management System): it is an open source project, released under the GPL license and, according to its developers, it powers over 2 Million websites, and it is translated in 74 languages. In this tutorial we will walk through the Joomla installation in a LAMP environment, built on Ubuntu 18.04 Bionic Beaver.

Read more

Ubuntu Bionic Nginx Configuration LEMP

How To Install Nginx, MariaDB, PHP (LEMP stack) on Ubuntu 18.04 Bionic Beaver Linux

Objective

Install Nginx Web Server (LEMP) on Ubuntu 18.04. In particular, this Linux web server install guide shows you how to install Nginx, how to install MariaDB and how to install PHP.

Distributions

Ubuntu 18.04 Bionic Beaver

Requirements

A working install of Ubuntu 18.04 with root privileges

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
  • $ – requires given linux commands to be executed as a regular non-privileged user

Introduction

If you want to run PHP-based websites on Linux, Apache isn’t your only option. Nginx is a faster, lighter weight, web server that’s fairly easy to configure and get running. Plus, it’s excellent at handling other tasks like load balancing, server optimization, and acting as a reverse proxy. Actually, Nginx is a top choice among startups for hosting their web applications.

Setting Nginx up to host PHP on Ubuntu 18.04 is very simple, and you only need a few packages installed to get started.

Read more

How to set up Ruby on Rails on Ubuntu 18.04 Bionic Beaver Linux

Objective

The objective is to install Ruby on Rails on Ubuntu 18.04 Bionic Beaver Linux. First we will perform a standard installation from Ubuntu 18.04 repositories. The second part of this tutorial will show you how to use Ruby Version Manager (RVM) to install the latest Ruby.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver Linux

Requirements

Privileged access to your Ubuntu 18.04 Bionic Beaver is required to install Ruby on Rails on Ubuntu 18.04 and/or prerequisites.

Difficulty

EASY

Conventions

Read more