Category Archives: Linux (Ubuntu)

How to install mysql server 5.6 on Ubuntu 16.04 LTS ( Xenial Xerus )

How to install mysql server 5.6 on Ubuntu 16.04 LTS ( Xenial Xerus )

MySQL is a popular database management system used for my web applications. How do I install MySQL server version 5.6 on Ubuntu Linux 16.04 LTS ( Xenial Xerus )?
Halal Vitamins

Powered by WPeMatico

Book Review: FreeBSD Mastery: Specialty Filesystem

Book Review: FreeBSD Mastery: Specialty Filesystem
FreeBSD Mastery: Specialty FilesystemsA filesystem is nothing but the data structures that an operating system uses to keep track of files on a disk. The filesystem stores your pictures, music, videos, accounting data and more. The different operating system comes with various filesystems. You may need to move data between FreeBSD and other Unix-like systems like OS X or Linux based device. Knowing all about filesystem help us to archive or move data between system. The “FreeBSD Mastery: Specialty Filesystem” is an essential, practical and well-written book.
Halal Vitamins

Powered by WPeMatico

How to Install and Configure MySQL Cluster on CentOS 7

Zabihah Halal Vitamins
How to Install and Configure MySQL Cluster on CentOS 7
MySQL Cluster is designed to provide a MySQL compatible database with high availability and low latency. The MySQL Cluster technology is implemented through the NDB (Network DataBase) and NDBCLUSTER storage engines and provides shared-nothing clustering and auto-sharding for MySQL database systems. In the shared-nothing architecture, each of nodes has its own memory and disk, the use of shared storage such as NFS, SANs is not recommended and supported.

Powered by WPeMatico

High-Availability Storage with GlusterFS on Debian 8 – Mirror across two storage servers

Zabihah Halal Vitamins
High-Availability Storage with GlusterFS on Debian 8 – Mirror across two storage servers
This tutorial shows how to set up a high-availability storage with two storage servers (Debian Jessie) that uses GlusterFS. Each storage server will be a mirror of the other storage server, and files will be replicated automatically across both storage nodes. The client system (Debian 8 as well) will be able to access the storage as if it was a local filesystem.

Powered by WPeMatico

Setup ATA over Ethernet (AoE) on Debian 8 (Initiator and Target)

Zabihah Halal Vitamins
Setup ATA over Ethernet (AoE) on Debian 8 (Initiator and Target)
This tutorial shows you how to setup an AoE client (initiator) and server (target) on Debian 8 /Jessie). The term AoE stands for “ATA over Ethernet” which is a storage area network (SAN) protocol that allows AoE clients to use storage devices on the (remote) AoE server over a normal ethernet network. “Remote” in this case means “inside the same LAN” because AoE is not routable outside a LAN (this is a major difference compared to iSCSI). To the AoE client (initiator), the remote storage looks like a normal, locally-attached hard drive.

Powered by WPeMatico

How to gzip and keep original file on Unix or Linux command line

How to gzip and keep original file on Unix or Linux command line

I would like to compress a log file using gzip Unix command line utility, and I would also like to keep the original file. However, when I use the gzip my-app.log command, results in modifying my log file and renaming it my-app.log.gz. How do I force the gzip command to keep original file while maintaining the original file on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

Unix / Linux: Remove duplicate lines from a text file using awk or perl

Unix / Linux: Remove duplicate lines from a text file using awk or perl
I have a text file with exact duplicates of lines. I need to remove all those duplicates lines and preserves the order too on Linux or Unix-like system. How do I delete duplicate lines from a text file? You can use Perl or awk or Python to delete all duplicate lines from a text file […]
Halal Vitamins

Powered by WPeMatico

Linux: lxc forcefully stop and kill container

Linux: lxc forcefully stop and kill container
I want to stop the application running inside a container. I issued lxc-stop -n myapp but the command is not returning to the shell prompt, and my lxc container entered in hang state. How do I kill my container running on Ubuntu Linux host?
Halal Vitamins

Powered by WPeMatico

How to Configure a Proxmox VE 4 Multiple Node Cluster

Zabihah Halal Vitamins
How to Configure a Proxmox VE 4 Multiple Node Cluster
In this tutorial, we will build a Proxmox 4 cluster with 3 Proxmox servers and 1 NFS Storage server. Proxmox VE 4 supports the installation of clusters and the central management of multiple Proxmox servers. You can manage multiple Proxmox servers from one web management console. This feature is really handy when you have a larger server farm.

Powered by WPeMatico

Speed up Apache with mod_pagespeed and Memcached on Debian 8

Zabihah Halal Vitamins
Speed up Apache with mod_pagespeed and Memcached on Debian 8
The page load time gets more and more important for websites to provide a better user experience and it is important for the search engine ranking as well. Google has developed the apache module “mod_pagespeed” to optimize and streamline the content delivery of the apache web server which reduces the load times of pages, especially when they use many assets like CSS files, javascript includes and images.

Powered by WPeMatico