LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-26-2006, 12:22 AM   #1
JR67
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Rep: Reputation: 0
Setting up ftp and web server


I want to create multiple accounts in the /home directory. I then want each account to be able to ftp into their account to upload web pages. I am just not sure how to link to the /home directory from the /www directory. Any hints will be greatly appreciated.
 
Old 12-26-2006, 04:40 AM   #2
mindsport
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Slackware 13.1-64bit / 2.6.33.4
Posts: 46

Rep: Reputation: 17
first you need to setup user accounts using
Code:
adduser <username>
and second i guess you could use
Code:
ln -s /home/<username> /www/<username>
or maybe you mean something else?
 
Old 12-26-2006, 07:44 AM   #3
ScooterB
Member
 
Registered: Sep 2003
Location: NW Arkansas
Distribution: Linux Redhat 9.0, Fedora Core 2,Debian 3.0, Win 2K, Win95, Win98, WinXp Pro
Posts: 344

Rep: Reputation: 31
The httpd web page and ftp setups are slightly different. As far as the web server, in your httpd.conf file set the location of the web site to be /home/username/webfolder. Just make sure that file permissions are set up to allow the httpd daemon to access those files. In fedora it requires bin to be able to access. The ftp is a little different. You need to choose one of the ftp servers and then configure it to allow access. Typically most ftp servers allow default to their home folder. Just check to make sure. I use vsftp on mine. There are many out there so just choose one and go from there. Once you get the ftp server set up you should be ready to rock and roll. Once you get the httpd server configured the web pages should show up when you surf to that web address:80 and then the ftp clients should be able to get to their home folders (where the web site pages are located) once you get their access going. Yuo might look at using Webmin to administer. Just surf over to http://www.webmin.com and have a look at your OS. Any thing else just repost. Have fun and good luck!
 
Old 12-28-2006, 07:55 AM   #4
JR67
LQ Newbie
 
Registered: Apr 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks,

Again You all have been very helpful. I know just enough about Linux, to be dangerous lol.
 
  


Reply

Tags
general, linux



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
Setting Up Web and FTP Server tobrien Linux - Networking 24 04-12-2005 01:34 AM
setting up ftp for default web folder stasjohn Linux - Newbie 6 08-18-2004 07:47 AM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM
Setup a linux server, DNS, WEB, FTP, and Mail Server Help watermelon_lee Linux - Networking 1 08-26-2003 03:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration