How to Change the swap directory for OpenLitespeed and DirectAdmin

1. Create swap folder By default OpenLiteSpeed use /tmp/lshttpd/swap for temp files. If your /tmp partition is small, disk may get full. To move OpenLiteSpeed swap partition to / partition do the following. 2. Copy configuration file In order to change these options will need to edit the httpd-defaults.conf file located in the /usr/local/lsws/conf/ directory. … Read more

How to delete files from a folder having large number of files

Find file patern Change to the folder with the files. and use the below command the list 10 files to know the file name pattern. Let’s assume the results shown were as below. you can see that the files are in different file paterns. Delete … Read more