Linux/BSD: sharing experiences is a blog with useful howtos for FreeBSD and Linux. The latest howto is on setting up MLDonkey on an old, headless, PC.
MLDonkey is an open source, free software multi-network peer-to-peer application. Currently the following protocols are supported: eDonkey, Overnet, Bittorrent, Gnutella, Gnutella2, Fasttrack, FileTP and Kademlia.
I wanted to put my 266 Mhz Celeron to good use so I’ve decided to install MLDonkey without X11 support leaving only the core with both telnet and web interfaces.
Bellow are the steps need to install MLDonkey on FreeBSD 7.0:
Thanks for letting me know about this post, Ricardo!
Having a working RAID and data mirroring set up on your server/PC is great for when your one of your hard disks dies, but what to do when this really happens to you? How do you get that data back?
I like RAID. On my development server, I use both hardware and software RAID. For hardware RAID on FreeBSD, I like 3Ware. For software RAID, I tend to use gmirror, because I don’t need more than RAID-1.
Some time ago I added two 120GB HDD to this system. One was SATA, one was PATA. They were joined together via gmirror. Tonight I received some errors that one of the drives was failing. I replaced the drive, and recovered the mirror. I’ll show you what I did, mostly so I know what to do the next time it happens, but also so you can see what to do as well.
There are two ways to install a new hard disk under FreeBSD system. You can use all command line utilities such as fdisk, bsdlabel and newfs to create partitions, label and format it. This method requires complete understanding of BSD partitions and other stuff.
Squid is a caching proxy and conserving badwidth application for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator. With Squid, you can reduce the network/internet traffic by 30% or more from normal usage (without squid) and enhance respone time.
Step-by-step instructions on how to install Squid on FreeBSD can be found here.
- Turn the system off.
- Hit ESC when the OS boots up
- Choose to boot into Single User Mode (option 4)
- Select the default shell (/bin/sh)
- When the machine is booted up and you see the prompt, enter:
- mount -u /
- mount -a
- Type passwd to reset the password
- Enter the new password and confirm it
- Type reboot to reboot the machine (or press the shutdown button to reboot)
One of the frequently asked questions regarding ZFS. Is it possible to resize a RAIDZ, RAIDZ2 or MIRRORED ZPOOL?
The answer is a littlebit complicated…
If you want to change the ‘geometry’ of the ZPOOL (for example: change from a mirrored pool to a raidz, or simply add a disk to a raidz, or change from raidz to raidz2) then the answer is no.
But it is possible to change the disks of a pool with bigger ones and use the space.