The DSLinux Wiki should do a fairly decent job explaining how to set it up. Getting it to run is simple - download the DLDI build, extract "dslinux.nds" and the "linux" folder to the root of your card, and launch the file. Getting the FTP transfers working might take a bit more effort.