PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Apache und pro-FTPD in Verbindung mit webmin



smoo
05.06.03, 19:59
Hallo!
habe mehrere Fragen:
Erstmal zu proFTPD... habe den über Webmin konfiguriert, auf Port 21 kommt auch eine Passwort Abfrage, aber anonymus Login geht nicht. Auch mit Nick und Passwort nicht? Wo stelle ich das genau ein?

Zu Apache:
Habe alle RPM's installiert... aber Webmin sagt es gibt kein Apache... was mache ich nun? (sry wenn die Frage dumm ist, habe noch nicht so die Ahnung)

psy
05.06.03, 20:35
poste mal deine proftpd.conf.

smoo
05.06.03, 21:12
# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "smoo ftp"
ServerType standalone
DefaultServer on

# Allow FTP resuming.
# Remember to set to off if you have an incoming ftp for upload.
AllowStoreRestart 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

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances 5

# Set the user and group under which the server will run.
User nobody
Group nogroup

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwrite on
</Directory>

# Needed for NIS.
PersistentPasswd on

# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#
# DefaultRoot /home/foo foo

<Global>
AllowRetrieveRestart on
AllowStoreRestart on
MaxClientsPerHost none "Only 2 connetions for each host"
ServerIdent off
DefaultRoot /home/smoo/ftp/
HiddenStor on
UserPassword smoo 10EpGduyPTbIk
AuthAliasOnly off
GroupPassword smoo 10EpGduyPTbIk
RequireValidShell off
UseFtpUsers on
UserAlias smoo smoo
AnonymousGroup smoo
AllowForeignAddress on
MaxClients none
DefaultChdir /home/smoo/ftp/
DeleteAbortedStores off
LoginPasswordPrompt off
AccessDenyMsg "Login failed"
AccessGrantMsg "Login OK"
AllowOverwrite off
</Global>
Include /etc/proftpd-anonymous.conf
TimeoutIdle 300

smoo
05.06.03, 21:31
Das proFTPD geht jetzt dank psy (IRC - Lösung), aber wie siehts mit dem Apache aus?

The Apache server executable /usr/sbin/httpd does not exist. If you have Apache installed, adjust the module configuration to use the correct path.

?

Habe per RPMDRAKE alle RPMs installiert.

psy
05.06.03, 21:32
das mit dem proftpd hat sich erledigt.
für die, die es interessiert:

# Set the user and group under which the server will run.
User nobody
Group nogroup

dort muss der/die richtige user/group rein.