Similar Posts
How do I set up an FTP server and an FTP user on my Lightsail instance?
I want to set up an FTP server and FTP user on my Lightsail instance running Amazon Linux 2, CentOS, Ubuntu or Debian. How can I do this? Resolution Note: FTP transmits all data and passwords as plain text. SFTP is a more secure way to connect to your instance and transmit data. For information on…
How to delete mails from Exim mail queue
To print a list of the messages in the queue, enter: # exim -bp To remove a message from the queue, enter: # exim -Mrm {message-id} To remove all messages from the queue, enter: # exim -bp | awk ‘/^ *[0-9]+[mhd]/{print “exim -Mrm ” $3}’ | bashsuggested following clean command:# exim -bp | exiqgrep -i…
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…
Using Multiple SSL Certificates in Apache with One IP Address
About the TLS Extension Server Name Indication (SNI) When website administrators and IT personnel are restricted to use a single SSL Certificate per socket (combination of IP Address and socket) it can cost a lot of money. This restriction causes them to buy multiple IP addresses for regular https websites from their domain host or…
How to automatically clean up /tmp directory contents in Linux?
How to automatically clean up /tmp directory contents in Linux? Every Linux system has a directory called /tmp which has mounted with separate file system. It has special filesystem called tmpfs. It’s a virtual filesystem and operating system will automatically mount /tmp mount point while system booting. If you want to mount /tmp directory separately as…
How to find large file size on linux
Often time, you may need to know which file contains large file size, and delete it to save space. Here’s a code pattern to show you how to find large file size on Linux : 1. File size >= 100MB Find all files that have a size >= 100MB, from root folder and its sub-directories….