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 Can I Change the Port SSH Listens On?

To change which port ssh listens on, you just need to edit the sshd_config file. The default directory for ssh configuration is /etc/ssh. First, backup the current configuration and use your favorite editor to change the Port line: root@root [~]# cd /etc/ssh/ root@root [/etc/ssh]# cp sshd_config sshd_config.save root@root [/etc/ssh]# vi

Can I Limit the IP(s) that sshd Listens On?

To limit the IP addresses which sshd listens on, you just need to modify its settings within the sshd_config file. Follow these 4 easy steps: First, backup the sshd_config file, then edit it with your favorite editor. Now, to limit the IPs sshd listens on, you need to change the

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

BLOG NAVIGATION