Found 143 Articles for Ubuntu

How to Enable Or Add Swap Space on Ubuntu 16.04

karthikeya Boyini
Updated on 21-Jan-2020 10:48:13

506 Views

In this article, we will learn how to enable or add the swap partition on Ubuntu 16.04, actually, the swap will increase the chance of responsiveness of the servers by guarding the out of memory errors for the applications, by default Ubuntu will not enable the swap space. We will learn how to add or enable the swap file for Ubuntu 16.04 servers.Swap is the location or the file which can handle the temporary data which is not required immediately by RAM but will be used to increase the amount of information that the server can handle for its working ... Read More

How to Create a RAID 5 Storage Array with ‘mdadm’ on Ubuntu 16.04

Sharon Christine
Updated on 21-Jan-2020 10:21:13

3K+ Views

In this article, we will learn how to create a RAID 5 Array configuration using the ‘mdadm’ utility.The ‘mdadm’ is a utility which is used to create and manage storage arrays on Linux with RAID capability where the administrators are having great flexibility in managing the individual storages devices and creating the logical storage with a high performance and redundancy.RAID 5 Array is a type where we implement by striping the data across the total available devices. Every component of the each stripe is calculated by parity block. If any device fails the parity block, it will use the remaining ... Read More

How to Create a RAID 0 Storage Array with ‘mdadm’ on Ubuntu 16.04

karthikeya Boyini
Updated on 21-Jan-2020 10:15:50

3K+ Views

In this article, we will learn how to create a RAID 0 Array configuration using the ‘mdadm’ utility.The ‘mdadm’ is a utility which is used to create and manage storage arrays on Linux with RAID capability where the administrators are having a great flexibility in managing the individual storage devices and creating the logical storage with a high performance and redundancy.RAID 0 array will work by dividing the data into small chunks and strips that data across the available storage disks, which means that each and every storage disk will contain a portion of data and when retrieving the data ... Read More

How To Configure and Install Redis on Ubuntu Linux

Sharon Christine
Updated on 21-Jan-2020 09:33:06

632 Views

In this article we will learn how to configure Redis, Redis is an in-memory Key-value store which is popular for its flexibility, performance and used with wide language support. We will configure this on the Ubuntu Linux server. To do this demo we need a non-root user and we will set Sudo privileges to the user to perform.Install the Build and Test DependenciesTo get the latest version of Redis, we will get the latest source code and will compile and install the software. For that, we needed to install the dependencies for the software compiling.We also need to install build-essential ... Read More

How to Check Which Apache Modules are Enabled/Loaded in Ubuntu 16.04

karthikeya Boyini
Updated on 29-Feb-2024 13:55:47

357 Views

Apache is an open supply program on hand without cost. It runs on 67% of all web servers. It is speedy, risk-free, and comfortable. It may be extremely custom-made to satisfy the wants of many one-of-a-kind environments via utilizing extensions and modules.To install apache, use the following commands-$ sudo apt-get update $ sudo apt-get install apache2 apache2ctlapcahe2ctl is a front end to the Apache HyperText switch Protocol (HTTP) server. It is designed to aid an administrator to control the functioning of the Apache HTTP daemon. To get the more information about apache2 modules, use the following command – $ man ... Read More

How To Change The MySQL Data Directory to Another Location on Ubuntu 16.04

Sharon Christine
Updated on 21-Jan-2020 08:05:52

2K+ Views

In this article, we will learn how to change the MySQL Data Directory or relocate the MySQL Database data to the new location, this situation may be used when the database is growing very fast, or for some security reasons we want to move the data directory to the new location.PrerequisitesAn Ubuntu machine with a non-root user with Sudo permission.MySQL installed and working.A new volume or location where we want to move the database data location, the new location will be /mnt/data_vol/MySQL as the data_vol is the new volume attached to the machine or server.Changing the MySQL Data Folder LocationBefore ... Read More

How To Change PostgreSQL Data Folder Location on Ubuntu 16.04

karthikeya Boyini
Updated on 21-Jan-2020 08:00:43

2K+ Views

In this article, we will learn how to change or relocate the PostgreSQL Database data directory to the new location on Ubuntu 16.04. This database grows more frequently and depends upon the size of the company, as we needed more space and for security reasons we will change the data directory to the other volume or other location.PrerequisitesAn Ubuntu machine with a non-root user with Sudo permission.A PostgreSQL server installed and working.A new volume or location where we want to move the database data location, the new location will be /mnt/data_vol/PostgreSQL as the data_vol is the new volume attached to ... Read More

How to Change Apache Default Web Root Folder to a New Location on Ubuntu 16.04

Sharon Christine
Updated on 21-Jan-2020 07:56:43

13K+ Views

In this article, we will learn how to change the Apache default web root folder to a new location. By default, the Apache web root or Document root folder location is at /var/www/html.These type of changes will be useful for security reason or having the space issue due to data size, we want to change the document root folder to another location or mount point. This will be helpful if we have multiple instances and we want to keep the data for each website into their own volumes or folders.PrerequisitesAn Ubuntu 16.04 server with a user with Sudo permissions on ... Read More

Learn How to Use http stat to Find out Website’s Performance

karthikeya Boyini
Updated on 21-Jan-2020 06:14:04

216 Views

HTTP state is a Python3 script that visualizes web curl(1) statistics. This script is written in a single file without a dependency. This article explains about How to Use http stat to Find out a Website’s PerformanceInstalling httpstatThere are two ways to install httpstat on Ubuntu as shown below−Download the script directly.Through Python pip.Installing from ScriptTo install httpstat from direct script, use the following command−$wget https://raw.githubusercontent.com/reorx/httpstat/master/httpstat.pyThe sample output should be like this −--2016-12-19 11:27:18-- https://raw.githubusercontent.com/reorx/httpstat/master/httpstat.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.100.133 Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.100.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10577 (10K) [text/plain] Saving to: ‘httpstat.py’ httpstat.py ... Read More

Learn How to Manage Various Logs using Logrotate in Linux

karthikeya Boyini
Updated on 21-Jan-2020 05:47:52

181 Views

Logrotate is designed for administration of Ubuntu systems that generate giant numbers of log records. It allows automatic rotation, compression, removal, and mailing of log records. Each log file could also be handled every day, weekly, monthly, or when it grows. This article explains about -“Learn how to manage various log using logrotate in Linux”To install logrotate, use the following command –$ sudo apt-get install logrotateThe sample output should be like this –Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libecap3 squid-common squid-langpack Use 'sudo apt ... Read More

Advertisements