Tag Archives: cent os

How to enable the gzip/deflate in nginx server on Linux or Unix system

How to enable the gzip/deflate in nginx server on Linux or Unix system

I am a new Linux system admin and how can I enable gzip compression on nginx web server for JS/CSS/HTML files?
Halal Vitamins

Powered by WPeMatico

How to disable smileys/emojis in WordPress headers to speed up the site

How to disable smileys/emojis in WordPress headers to speed up the site
WordPress has smileys or so-called emojis added in version 4.2+. It added emoji character using javascript and other junk. It slows down the site for no real reason, and I do not use it at all. Here is how to remove unnecessary HTML and emoji URL calls to every page of your site and speed up your site.

Disable WordPress emoji
Halal Vitamins

Powered by WPeMatico

The Librem 13 v1: A full-fledged modern laptop with coreboot for freedom and privacy freaks

The Librem 13 v1: A full-fledged modern laptop with coreboot for freedom and privacy freaks
Coreboot is a free and open source software. The project aimed at replacing the proprietary BIOS firmware and blobs. Unfortunately, Coreboot does not run on the modern laptop (except Chromebooks) due to Intel ME and other closed source technologies.

Purism vendor sells Linux preloaded on the Librem 13 and the Librem 15 laptops. Purism claims to follow a strict belief in users’ rights to privacy, security, and freedom. Untile today Librem bios was not freed. However, the coreboot port for the Librem 13 v1 is 100% done. It means you can have blob free Coreboot running on a full-fledged modern laptop. The laptop comes with Hardware Kill Switches that physically sever the circuit at the hardware level for Wireless & Bluetooth, Camera & Microphone. The specs are as follows:


Halal Vitamins

Powered by WPeMatico

How to install GlusterFS with a replicated high availability storage volume on Ubuntu Linux 16.04 LTS

How to install GlusterFS with a replicated high availability storage volume on Ubuntu Linux 16.04 LTS

I want to share my web server DocumentRoot /var/www/html/ across 2 Apache web server. Both of my web servers are behind load balanced reverse proxy powered by Nginx. How do I setup and install GlusterFS (“distributed storage”) which is a scalable network filesystem on Ubuntu Linux 16.04 LTS server?
Halal Vitamins

Powered by WPeMatico

How to wipe a signature from a disk device on Linux with wipefs command

How to wipe a signature from a disk device on Linux with wipefs command

I recently decommissioned Debian Linux based nas server and moved disk from my nas server to Linux-powered desktop. However, when I run fdisk command, I am getting the following error:
    /dev/sdb: device contains a valid ‘LVM2_member’ signature; it is strongly recommended to wipe the device with wipefs(8) if this is unexpected, in order to avoid possible collisions
What is a wipefs and how do I use it on Linux?
Halal Vitamins

Powered by WPeMatico

How to use parallel ssh (PSSH) for executing ssh in parallel on a number of Linux/Unix/BSD servers

How to use parallel ssh (PSSH) for executing ssh in parallel on a number of Linux/Unix/BSD servers
Recently I come across a nice little nifty tool called pssh to run a single command on multiple Linux / UNIX / BSD servers. You can easily increase your productivy with this SSH tool.

More about pssh

pssh is a command line tool for executing ssh in parallel on some hosts. It provides specialties includes:

  1. Sending input to all of the processes
  2. Inputting a password to ssh
  3. Saving output to files
  4. IT/sysadmin taks automation such as patching servers
  5. Timing out and more

Let us see how to install and use pssh on Linux and Unix-like system.

pssh-welcome
Halal Vitamins

Powered by WPeMatico

How to forcefully shutdown a guest VM using virsh command on Linux KVM

How to forcefully shutdown a guest VM using virsh command on Linux KVM

I used the command ‘virsh shutdown vm1’ to shut down a guest named vm1 using the virsh command. However, it is still running, and my vm1 is not responding to an ssh session. Is there is a way to forcefully stop or kill a guest VM using the virsh command from host server?
Halal Vitamins

Powered by WPeMatico

How to find all hard links in a directory on Linux

How to find all hard links in a directory on Linux

I have a file named /etc/passwd i and I would like to find all hard links to this file in a directory. How do I find out all other hard links to the /etc/passwd in /backups/ directory? How can find all hard links to a given file using Linux or Unix command line option?
Halal Vitamins

Powered by WPeMatico

How to set rsync speed limit from eating all bandwidth with –bwlimit option

How to set rsync speed limit from eating all bandwidth with –bwlimit option

The rsync command is eating all my bandwidth from a backup script and generating tons of I/O. How do I set a limit for file transfer speed of rsync command on Linux or Unix-like system? How can I keep my rsync script from using all of my bandwidth?
Halal Vitamins

Powered by WPeMatico

How to display cpu wise usage using top command on FreeBSD Unix operating system

How to display cpu wise usage using top command on FreeBSD Unix operating system

I recently switched from Linux to FreeBSD. On Linux, I press 1 which show me a breakdown of CPU usage per CPU, but it is not working on FreeBSD. How do I find out the usage of individual CPU core usage using the top command on FreeBSD operating system?
Halal Vitamins

Powered by WPeMatico