Helpful Information
 
 
Category: FTP Help
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

Maybe you have an ftp already?

if you don't know in console type ftp

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

Hello Shakadev,

Here is my config file.



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

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

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

Take a look at www.pureftpd.org ! Very easy, documentation, rpm, graphical conf tool for kde, advanced features ....










privacy (GDPR)