make ssh,http,ftp start up on boot?Forum: Apps Topic: make ssh,http,ftp start up on boot? started by: o0oO Posted by o0oO on Oct. 30 2004,00:16
Hi, im new to DSL and so far i like it alot! I was planning to use it as a server and am posting to ask how can i make ssh, http, and ftp start up everytime i restart the machine? thanks in advance!
Posted by roberts on Oct. 30 2004,05:11
Several ways...When booting up at the very first boot prompt: boot dsl ssh monkey ftp This will boot and start those servers, press F2 at that first prompt display these and many other boot time options. Or you can add these lines to /opt/bootlocal.sh /etc/init.d/ssh start /opt/monkey-0.8.2/bin/banana start /usr/sbin/betaftpd If this is a hard drive install, then you are done, else... If you are using liveCD or compressed then be sure that /opt/bootlocal.sh is added to your filetool.lst and then backup. Then at boot prompt boot: dsl restore=hda1 where hda1 is where you did the backup, or otherwise appropriate drive designation. Posted by AwPhuch on Oct. 30 2004,05:32
add to file /opt/bootlocal.sh sudo /etc/init.d/ssh start sudo /opt/monkey-0.8.2/bin/banana start sudo /usr/sbin/betaftpd And that should autoboot them as a service...even before you log in hope that helps Doh crap while I was looking up the command roberts was already posting Sheesh Brian AwPhuch Posted by tuin on Nov. 09 2004,17:42
i was wondering how you get on ftp when installed?
Posted by ico2 on Nov. 10 2004,17:09
i think just ssh to your dsl machine with your normal username and password
|