A file checksum is useful when you want to verify the content of a file are same as the content you copied or downloaded somewhere. Basically it calculate and summarise every bits of the file into a small integer value. To verify content of the file are same as the source, simply do a checksum of the source and destination file, and compare the checksum value. To calculate a … [Read more...]
Linux: How To Compress And Decompress Folders And Files
Sometime, you may want to compress all files in a folder (or folders) in Linux into a single file to save space and so that you can back up the file to other media. In Linux, you can use the tar utilities which is installed in most Linux distribution by default. GNU 'tar' saves many files together into a single tape or disk archive, and can restore individual files from the … [Read more...]
Linux: How To Add Swap on CentOS
Linux divides its physical memory (or the RAM, random access memory) into chucks of memory called pages. When a program require more memory and there isn't enough physical memory, Linux will starts moving out inactive pages and store them on hard disk. The process of moving out the pages for physical memory to disk is called swapping. The size of "memory on disk" is … [Read more...]
Virtualmin: How To Install Virtualmin in CentOS
I have recently moved all my websites to a SSD cloud hosting. I installed Virtualmin in the new server and found that it is very useful, powerful and the most important thing - it is free (open source software). … [Read more...]