Similar Posts
OpenVZ useful commands
OpenVZ useful commands Here is the list of some useful OpenVZ commands which should be run from the main node : 1. To fetch the consumption of disk for each container in the node along its it’s hostname and ctid vzlist -H -o veid,hostname,diskspace | awk ‘{ printf(“%d\t%s\t%.2f GB\n”, $1, $2, $3/(1024*1024))}’ 2. To…
Safely Removing virtfs on a cPanel Server
If you’re on a cPanel server, you’ve probably noticed a sizable folder called ‘virtfs’ sitting in /home, which would appear at first to be using a ton of space. Your first inclination might be to delete it, but don’t! Most likely, the files in that folder are actually just hard links or bind mounts and…
OpenCart Admin Login Loop
Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC. If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC” UPDATE oc_setting SET value=’UTC’ WHERE key = ‘config_timezone’; If still issue, follow below method. Method-2: You…
Error: Invalid command ‘SSLEngine’, perhaps misspelled or defined by a module not included in the server configuration
it’s necessary to install mod_ssl. On RHEL and CentOS, this is done with yum install mod_ssl.
Find Files and Directories in CentOS
Find Files and Directories in CentOS The find command helps you locate files and folders on your hard disk. There are additional parameters that can be passed to the command that help you find files and folders in multiple ways. Find by filename, modified time, find files and folders. Basic syntax find /path/to/search -option1 -option2…
How to remove non empty Directory in Linux
I am getting an error message that read as follows: rmdir: failed to remove ‘trip-pictures’: Directory not empty How can I remove non empty directory in Linux using the cli? There are two commands that one can use to delete non empty directories in Linux operating system: rmdir command – Delete directory only if it…