FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 25th, 2001, 04:45 AM
ron273 ron273 is offline
PHP-addict
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netherlands
Posts: 48 ron273 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 m 28 sec
Reputation Power: 8
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
__________________
"Yes dear, I'll come to bed in a minute"
R. Smit
http://www.rsdev.nl

Reply With Quote
  #2  
Old December 25th, 2001, 06:55 AM
Bob Loblaw Bob Loblaw is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 174 Bob Loblaw User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Maybe you have an ftp already?

if you don't know in console type ftp

Reply With Quote
  #3  
Old December 25th, 2001, 12:51 PM
shakadev shakadev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Vienna, Austria
Posts: 12 shakadev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #4  
Old December 25th, 2001, 01:09 PM
ron273 ron273 is offline
PHP-addict
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Netherlands
Posts: 48 ron273 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 3 m 28 sec
Reputation Power: 8
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

Reply With Quote
  #5  
Old December 25th, 2001, 01:26 PM
shakadev shakadev is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Location: Vienna, Austria
Posts: 12 shakadev User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #6  
Old January 7th, 2002, 05:44 PM
vdschoor vdschoor is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 1999
Location: California
Posts: 43 vdschoor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #7  
Old January 8th, 2002, 02:39 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,808 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 3 Weeks 21 h 29 m 33 sec
Reputation Power: 278
Take a look at www.pureftpd.org ! Very easy, documentation, rpm, graphical conf tool for kde, advanced features ....

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP-server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway