Install a Perl Module

On a server with CPanel, you can log into the WHM and install it there. If for some reason doesn’t work for you, you can log into the shell as root and install it via the command line. Once logged in, from any directory, type: echo “HTML::Template” | /usr/local/cpanel/whostmgr/bin/perlmod -i

How to Update Sources and Ports via cvsup in FreeBSD

Install cvsup-without-gui from ports: cd /usr/ports/net/cvsup-without-gui make install Copy the cvsup recipes to /usr/local/etc: cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/stable-supfile cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc/ports-supfile Edit the cvsup recipes for both stable and ports — you just need to specify the server to use (for example cvsup4.us.FreeBSD.org): ee /usr/local/etc/stable-supfile ee /usr/local/etc/ports-supfile Update your sources: /usr/local/bin/cvsup

How to Recompile the FreeBSD Kernel

The below example is for SMP, Quotas, and Firewall support. Sources must be installed to recompile the kernel. If sources are not on the server type: /stand/sysinstall and go to configure>Package>Sources. cd /usr/src/sys/i386/conf cp GENERIC SMP edit the SMP file and add the following under the options section: #Added options

Use Linux to Find Large Files and Directories

If you’re a Linux user troubleshooting memory issues with your server, knowing which files are taking up the most space can be invaluable information. Luckily, you can have Linux find large files and organize them by size by combining a few simple commands. The du command determines the size of

How Do I Revert from an ext3 to an ext2 File System?

Because ext3 is relatively new, some disk utilities do not yet support it. For example, you may need to shrink a partition with resize2fs, which does not yet support ext3. In this situation, it may be necessary to temporarily revert a file system to ext2. Reverting from ext3 to ext2