The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> FTP Help
|
FTP-server
Discuss FTP-server in the FTP Help forum on Dev Shed. FTP-server FTP Help forum discussing FTP practices, tips and solutions for problems with FTP on multiple platforms. File Transfer Protocol (FTP) was designed specifically for transferring files from one machine to another.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

December 25th, 2001, 04:45 AM
|
|
PHP-addict
|
|
Join Date: Jul 2001
Location: Netherlands
Posts: 54
Time spent in forums: 1 Day 2 h 37 m 50 sec
Reputation Power: 12
|
|
|
FTP-server
Hello,
I finally got my first Linux Webserver running !!!!!!!!!
I installed Redhat 7.1, Apache, PHP and Mysql.
So far so good. In my local network I can use this server to try out my websites before I upload them, there only one problem:
Ho do I upload my website to this Linux Webserver ???
Do I need an FTP-server or is there another way. And if I do need one, which one is the best solution. As I am a complete newbie I need a foolproof "How to install an FTP-server for dummies" so every pointer in that direction would be higly appreciated.
I already tried ProFTPd ( http://www.linuxhelp.net/guides/joey/proftpd.shtml) but I can't seem to get the configuration file in order.
Anybody ???
Thanks,
Ronald
|

December 25th, 2001, 06:55 AM
|
|
|
|
Maybe you have an ftp already?
if you don't know in console type ftp
|

December 25th, 2001, 12:51 PM
|
|
Junior Member
|
|
Join Date: Jul 2001
Location: Vienna, Austria
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
proFTPD is a good choice.
if you don't want anonymous access you're almost ready, after installing the rpm-package.
you have to do one more thing:
open the file /etc/inetd.conf in an editor. find the line starting with ftp or #ftp
it should look like this (all in one line):
ftp stream tcp nowait root /usr/sbin/tcpd proftpd
if there are more lines starting with ftp put a # sign in front of the others.
restart inetd
type "ftp localhost" in a shell and log in with your user name and password.
if you want anonymous access just uncomment the lines (at the bottom) in /etc/proftpd.conf
|

December 25th, 2001, 01:09 PM
|
|
PHP-addict
|
|
Join Date: Jul 2001
Location: Netherlands
Posts: 54
Time spent in forums: 1 Day 2 h 37 m 50 sec
Reputation Power: 12
|
|
Hello Shakadev,
Here is my config file.
Quote:
ServerName "ProFTPD Default Installation"
ServerType standalone
DefaultServer on
# Port 21 is the standard FTP port.
Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022
MaxInstances 30
# Set the user and group that the server normally runs at.
User nobody
Group nogroup
# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories.
<Anonymous ~ftp>
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp
# Limit the maximum number of anonymous logins
MaxClients 10
# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message
# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
</Anonymous> |
I tried to use this one but it says that i don't have a group called "nogroup". I guess I knew that but I don't know how to fix it. I only use the FTP-server internally on my home network.
So one account (preferably without password) is sufficient.
Hope you can help me with this one.
Thanks,
Ronald
|

December 25th, 2001, 01:26 PM
|
|
Junior Member
|
|
Join Date: Jul 2001
Location: Vienna, Austria
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I'm not running RedHat (I use SuSE) but there should be a tool for creating users. Try linuxconf or if you are running KDE use the KDE program for it. First create a group nogroup and then create a new user nobody who is a member of the nogroup.
If you can't find the tools open a shell and type
adduser
you can find help with the man command
man adduser
hope this helps
alex
|

January 7th, 2002, 05:44 PM
|
|
Contributing User
|
|
Join Date: Oct 1999
Location: California
Posts: 43
Time spent in forums: < 1 sec
Reputation Power: 14
|
|
|
Ronald,
What you want to do is change the group to nobody as well.
RedHat doesn't have a nogroup group, but the user nobody has it's own group : nobody
Just change that, and it should work!!
Hope this helps!
Cya,
Iwan
|

January 8th, 2002, 02:39 AM
|
 |
Modding: Oracle MsSQL Firebird
|
|
Join Date: Jun 2001
Location: Outside US
|
|
Take a look at www.pureftpd.org ! Very easy, documentation, rpm, graphical conf tool for kde, advanced features ....
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|