Posts by ServerOk

node.js

Install Yarn Package Manager

Yarn is a package manager for JavaScript like npm. It is commonly used for managing dependencies for Node.js applications, but

How to Recover MySQL Table Structure from .frm File

To recover MySQL table structure from .frm file, you can use dbsake. You can find dbsake documentation at http://dbsake.readthedocs.org/en/latest/. To

Ubuntu

How to Disable apt Ubuntu Pro Advertisement

On running apt upgrade on Ubuntu 20.04 and newer, Ubuntu shows advertisement abour Ubuntu Pro subscription. To disable the Ubuntu

Plesk Backup

To bakcup a site using SSH, login to server as user root, run the command

nftables

nftables

To display the effect of rule set changes, use Flush rules

cloudlinux

Set unlimited resources for a user in cloudlinux

To set unlimited resources for a user in cloudlinux, run the following command: Back to cloudlinux

Ubuntu

Install MATE desktop with xrdp on Ubuntu Server

Login to ubuntu server using SSH and run the following command to install MATE desktop environment Create a normal user.

Install Memcached on cPanel Server

Install Memcached on cPanel Server

Login to WHM as user root, go to Terminal or login to SSH as user root. Then run the command

How to whitelist a hostname in CSF firewall

Firewalls usually allow or block IP addresses. If you need to allow a hostname, you need to find the IP

How to add physical volume and resize LVM

I have a LVM partition that uses 3 physical drives. I need to increase size of this LVM partition by

How to fix PCIe Bus Error: severity=Corrected, type=Physical Layer

On a Linux server running AlmaLinux 8, i get following error on /var/log/messages To fix the error, edit file Find

MySQL MariaDB

How to change MySQL Datadir in Cpanel Server

If the disk partition that stores MySQL data directory runs out of disk space, you may need to consider moving