Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm a real newbie, working with a pretty fresh Mandrake 8.2 install.
I've installed linux because i have clients who want dynamic websites based on php/mysql (or postgres). So, i have this mandrake box (test server) sitting on my network, I want to be able to ftp to it from another (non-server) box on the network, and i'd like my ftp client (on the other machine) to end up looking at the Apache root html directory (whatever you call it - the directory where the server's html files are going to be), so i can dump my files in.
I HAVE NO IDEA where to start. I can login with my main user account ("admin"), this drops me into /home/admin. I can even backtrack in my client to /var/www/html, but i don't have permissions to write.
Where do i can configure this stuff (and what commands or programs do i have to use)?
HELP!!!
and what's the best 'linux for people who want to setup an intranet linux server' book you've read?
Originally posted by andjules I want to be able to ftp to it from another (non-server) box on the network, and i'd like my ftp client (on the other machine) to end up looking at the Apache root html directory (whatever you call it - the directory where the server's html files are going to be), so i can dump my files in.
thanks, but no. proFTPd is up and running, and like I said, I can ftp the machine by logging in with my main user account. WHAT i can't do is a) get access to my web folder (Apache's default html folder), b) log in anonymously, and c) I'm not sure how to create a user, set it's default ftp folder, etc.
a) In my MDK 7.2 /var/www/html is owned by root, group root. If it's the same in 8.2, you'll need to
* create a new group (for users who will have writing permission to Apache main directory)
* add those users to the group
* change group owning the directory to this newly-created group
* add the group writing permission to the directory
I think you can do this using MDK's nice configuration tools.
b) anymous login? Maybe not anonymous, because you're going to give this user writing prmission to Apache directory...
* edit /etc/ftpaccess
* set guest-root to /var/www/html (so this will be the starting directory)
c) new user
useradd username
OR you can use linuxconf, for example, or SWAT, or Webmin...
Ftp folder seetings are in /etc/ftpaccess
thanks - i think this'll get me going in the right direction. and you are right anonymous is neither necessary nor appropriate (although it is just a test server on a local network)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.