Linux
Linux, cPanel, CentoOs
Articles
How to create a MySQL database in cPanel?
Most PHP applications, including WordPress, Joomla and Magento, store their data in a MySQL database. You need three things: a database, a database user and a...
How to create additional FTP accounts in cPanel?
Extra FTP accounts let designers or developers upload files without knowing your cPanel password. You can limit each one to a single folder.
Create an FTP account
Log...
How to create an addon domain in cPanel?
An addon domain is a second, separate website in your hosting account, with its own folder, email addresses and DNS zone.
Before you start
Register the domain and set...
How to create an autoresponder for a specific time period in cPanel?
An autoresponder sends an automatic email reply for a chosen period, for example while someone is on leave. Here is how to add or edit one in cPanel for a limited time...
How to create an email forwarder in cPanel?
An email forwarder sends a copy of every message for one address to another address. Use it for aliases such as sales@ that should reach a person's mailbox.
Steps
Log...
How to create custom error pages in cPanel?
An error page informs a visitor when there is a problem accessing your site. Each type of problem has its own code. In order to create custom error pages in cPanel:1....
How to create snapshots with lxc command for LXD
LXD Linux system container manager. It gives a user experience comparable to virtual machines but using Linux containers instead. There is no VM like overheads. This...
How to delete a domain forwarder in cPanel?
A domain forwarder sends all mail for one domain to the same addresses at another domain. Delete it when that domain should receive its own mail again.
Steps
Log in to...
How to delete an autoresponder in cPanel?
Delete an autoresponder when you no longer want automatic replies, for example when you are back from leave. (If you set a Stop date, it stops by itself.)
Steps
Log in...
How to delete an email account in cPanel
Deleting an email account removes the mailbox and every message in it. It cannot be undone.
Steps
Save anything you need first, for example by exporting from your mail...
How to delete an email forwarder in cPanel
Delete a forwarder when mail for an address should no longer be copied to another mailbox.
Steps
Log in to cPanel (for example at https://yourdomain.com:2083, or from...
How to delete database table via phpMyAdmin in cPanel?
Deleting (dropping) a table removes it and all its data from the database. It cannot be undone.
Steps
Export the table first (see "How to export database table via...
How to disable bash shell history in Linux?
To disable bash history permanently, unset the HISTFILE variable so nothing gets written to disk in the first place, rather than just clearing what has already been...
How to disable directory listing in cpanel?
If a folder has no index.html or index.php, the web server may show a list of its files. Turn this off so visitors cannot browse your folders.
Steps
Log in to cPanel...
How to disable the listing in a non-cPanel CentOS server?
On a server without cPanel, you turn off directory listing in the web server configuration. Visitors then see a 403 Forbidden page instead of a file list when a folder...
How to edit database table via phpMyAdmin in cPanel?
1. Log into your cPanel account.2. In the "Databases" section, click on "phpMyAdmin" Icon.3. In left side-bar, Click on the expand button to expand the database.4....
How to enable spam protection in cPanel
cPanel's Spam Filters use Apache SpamAssassin to give every incoming message a spam score. You decide what happens above a certain score.
Turn on spam filtering
Log in...
How to export database table via phpMyAdmin in cPanel?
You can export a single table instead of the whole database, for example to keep a copy before you change it.
Steps
Log in to cPanel (for example at...
How to find ip address of Linux KVM guest virtual machine?
To find a KVM guest's IP address, run virsh domifaddr <guest-name> on the host, which asks the guest's QEMU agent or the host's DHCP lease records directly. Run...
How to find out which process listening on a particular port?
1. Using netstat Command
netstat (network statistics) command is used to display information concerning network connections, routing tables, interface stats and...
How to find serial number of Lenovo laptop from Linux?
To find a Lenovo (or any PC) laptop or desktop's serial number from Linux, run dmidecode -s system-serial-number as root. dmidecode reads the DMI/SMBIOS data the...
How to fix Disk Quota Exceeded error in Linux servers?
Disk Quota Exceeded is a common error in Linux web hosting servers. Website owners see this error when they try to upload a file, send a mail or update a database....
How to fix Sub-Process /usr/bin/dpkg returned an error code (1) while installing Gluu Server?
It’s one of the common error thrown by dpkg package manager:
Step 1: First thing a package manager does is configure package database, which contains installed...
How to fix Unrecognized VM option MaxMetaspaceSize error?
This tutorial explains how to fix the ‘Unrecognized VM option MaxMetaspaceSize‘ error. One of the prerequisites for the plugin is to install Oxd server and run it on...
How to hide files and directories in Linux
I am a new Linux user. How do I hide files and directories in Linux operating systems using the command line interface?
Introduction: In Linux and Unix-like systems,...