Netplan Static IP – Configure static IP address on Ubuntu 18.04

Netplan, the new interface configuration utility in Ubuntu introduced in Ubuntu 17.10. For configuring static IP in Ubuntu 18.04 we will use Netplan. In the same vein, all the latest versions of Ubuntu Server and Desktop uses Netplan to manage and configure network settings.

Netplan reads network configuration from /etc/netplan/*.yamlYAML is a commonly used human-readable programming language used for configuration files. Netplan currently works with NetworkManager and Systemd-networkd as supported renderers. NetworkManager commonly used for Desktop and Systemd-networkd used for Server. However, we can make a choice between them.

Here at LinuxBots, we try to make your work as simple as we can. That’s why we do most of the work in simple and easy steps. So if you do not want to read the full article, here is the short how-to of configuring static IP address in Ubuntu 18.04 using the Netplan utility.

Read Full Article at www.LinuxBots.com

OpenVPN pfSense 2.4 Setup in simple steps

OpenVPN is an open-source solution for implementing Virtual Private Network to create point-to-point or site-to-site connections. In this article, we will learn how to configure OpenVPN in the pfSense firewall. PfSense is an open-source firewall/router based on FreeBSD currently supported by Netgate.

Prerequisite:

We have required at least two pfSense firewalls in the working state to configure OpenVPN in the pfSense firewall. Follow this article to install and initialize the pfSense firewall if you do not have yet.

In our current scenario, we have two different sites at different geological locations. Site A and Site B both having pfSense instances as there main Router and Firewall. Here we want to configure a secure OpenVPN tunnel so that the clients from Site A can communicate with the clients of Site B directly.

OpenVPN Site-to-Site Scenario

OpenVPN can configure in two ways, by using a shared key or using SSL/TLS. In this article, we use the Shared Key method to configure it.

Read full article at www.linuxbots.com.

Tuning Nextcloud for better Performance

Tuning Nextcloud Server by the use of Memory cache and required software optimization. For better performance, these settings should be implemented in every Nextcloud installation.

Nextcloud can be used on a machine with a single-core CPU and 1 GB of ram but it depends on how many users are there. In this article, we will learn about Tuning Nextcloud for better performance with the use of caching. For this, we will use the Redis Server and PHP OPcache.

By using the below optimization, you can notice improvements mainly in the Web Interface of the Nextcloud. Tuning Nextcloud using cache will help you get better performance of Web Interface and decrease the load on the server which is caused by the Web Server Processes.

Read full article at www.linuxbots.com

Install NextCloud Server by Manual Method On Ubuntu 16.04 | 18.04 With Apache2, MariaDB And PHP 7.3 — LinuxBots

Nextcloud is a fork of ownCloud used for file-sharing servers to store your personal data like documents and pictures in a centralized location, like Dropbox or Google Drive. Nextcloud is fully open-source software. Your data privacy and security are much better when you use a self-hosted server instead of using Third-party cloud services like Google Drive or Dropbox. Nextcloud is GDPR and HIPAA compliant, it gives you encrypted data with the ability to audit.

In this tutorial, we will install and configure Latest Nextcloud 17.0.2 on an Ubuntu 18.04 LTS server. As always we will do it one by one in Simple Steps.

Step 1: Install Apache Web Server

Step 2: Install PHP7.3 and it’s Additional Modules

Step 3: Install and Configure MariaDB Server

Step 4: Download and Install the Latest stable version of Nextcloud 17.0.2

Read Full Article at https://www.linuxbots.com

Print Awesome ASCII Text in Linux Terminal – LinuxBots

In this article, we will learn how to print colorful and exciting ASCII text banners in Linux Terminal. We have two command-line tools called Figlet and Toilet for making this possible. The Figlet tool is written by John Cowan and the Toilet tool is written by Sam Hocevar.

Both tools are having many interesting options. So let’s get into it and have some fun with these two awesome tools.

Install and Use Figlet in Linux

Figlet command converts normal input characters into big fancy characters. It takes input as a direct text or from a text file. You can install Figlet by using the below command.

After the successful installation of Figlet, Let’s uses Figlet by providing your desired text as an argument for converting it into a banner or large characters. See the Example below

root@linuxbots:~# figlet Linuxbots.com
 _     _                  _           _                            
| |   (_)_ __  _   ___  _| |__   ___ | |_ ___   ___ ___  _ __ ___  
| |   | | '_ \| | | \ \/ / '_ \ / _ \| __/ __| / __/ _ \| '_ ` _ \ 
| |___| | | | | |_| |>  <| |_) | (_) | |_\__ \| (_| (_) | | | | | |
|_____|_|_| |_|\__,_/_/\_\_.__/ \___/ \__|___(_)___\___/|_| |_| |_|

Read Full Article at www.LinuxBots.com

How To Install PHP 7.4 on Ubuntu Server

Current Stable Release of PHP is 7.4.1 released on 18 December 2019. In this article, we learn how to install the latest PHP 7.4 on Ubuntu Server. PHP 7.4.1 is available for production environments and you can install it via the Ondrej PPA repository.

PHP is one of the most used programming languages on the internet. Make sure you get the latest version installed for security and bug fixes. You can check here, what are the latest security vulnerabilities in PHP.

PHP is a very popular Server Side Scripting Language best known for interactive web pages and dynamic websites. We will learn the installation of PHP 7.4 in some simple steps. Just follow the below steps for installing PHP 7.4 on Ubuntu Server.

Read Full Article at: www.LinuxBots.com

How To Install OpenLiteSpeed Web Server on Ubuntu 16.04 LTS

OpenLiteSpeed Web Server is the Open Source edition of LiteSpeed Web Server. LiteSpeed is the 4th most popular web server on the internet. 4.7% of websites are using LiteSpeed Web Server on the internet till August 2019.

OpenLiteSpeed Web Server comes with a built-in WebAdmin GUI to control and serve web sites. Below is the list of some features of OpenLiteSpeed Web Server :

  1. Event-Driven Architecture: High Performance with Low CPU and Memory consumptions.
  2. Understands Apache Rewrite Rules: It is mod_rewrite compatible so you can use your current rewrite rules if you are using Apache Web Server.
  3. Admin Interface: Easily manage and control multiple virtual hosts form the browser.
  4. Speed & Security: Built-in features like Anti-DDos, Bandwidth Throttling, ModSecurity v3 integration Etc.
  5. Cache Acceleration: Built-in full-page cache module.
  6. PageSpeed Optimization: Built-in mod_pagespeed module for optimization for Google PageSpeed.

In this article, we will learn how to install OpenLightSpeed Web Server on Ubuntu 16.04 with the PHP processor.

We install it in some easy steps.

Read Full Article at: www.LinuxBots.com

FreePBX dashboard very slow to load

FreePBX is a well known and widely used User Interface for managing and controlling asterisk server. I am using FreePBX for the last 3 years. It’s simple, easy to use and widely supported software. FreePBX is the leader in the IP PBX category.

Problem :

Well, sometimes it’s hard to find out a working solution when a problem comes once in a while. I am having this problem with its dashboard since I installed FreePBX 14. It just stuck on 75% when reload and took at least 60 sec to 180 sec to load.

freepbx-dashboard-slow-load

When I check-in console, /admin/ajax.php?command=getcontent&module=dashboard

This URL is taking 60 sec to respond.

I also checked in apache logs but nothing wrong is there. Also, I looked for the server load but it is normal and did not seem problematic. After all the checks and findings, I decided to roll back my changes one by one in reverse.

Read Full Article at: www.LinuxBots.com

Design a site like this with WordPress.com
Get started