How to set up an ftp server on slack 10
Hi I have a apache server in my internal lan. I wich to upload my web site files from my workstation.
I have slack 10 on both. At the server startup, the apache web server is starting and from the workstation I can see the apache default page. But when I enter in a console ftp with the address of my server, I get, connection rejected. I'm not new to linux but totaly new at server stuff. Can some one tell how to get this to work? |
Theres probably a better way to do this, but this is the only way I know how to do it. As root, open up the file /etc/proftpd.conf and uncomment the line with ServerType standalone, and comment out the line ServerType inetd, and then save and exit your text editor. Now run proftpd and it should work. If anyone knows what to add to inetd to make this work, please respond. I would like to know how to get the server going that way.
|
Hi blk96gt, the ftp server in /etc/inetd.conf comes in a defualt installation, the line is:
ftp stream tcp nowait root /usr/sbin/tcpd proftpd If you use this way, you should set ServerType to inetd. |
Oh ok. I knew I had seen that file somewhere whenever I messed with it when I had Slackware 9.1 installed, I was just thinking it was in the rc.d folder. Thats what I get for thinking. Thanks for the help.
|
After editing /etc/inetd.conf
go to /etc/rc.d/ ./rc.inetd restart And your ftp server would be up. |
Thanks to all of you guys, I will try what you suggested and come back to you with my results.
Cheers! It is great to get help rapidly like that! |
great thread! :cool:
i wanted to transfer an iso from my linux box to my windows box and didnt want to mess with samba. enter ftp! :D i came to the site, searched for ftp server and voila! this thread came right up. i love it when a plan comes together! Thanks guys. |
All times are GMT -5. The time now is 07:49 PM. |