Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
It depends a lot what you want to do with ftp. For example, my system only allows users to log on and has no anonymous access or uploading.
However, to set it up is pretty straightforward. CentOS comes with vsftp (and maybe other servers), but all I needed to do was to play around with /etc/vsftpd/vsftpd.conf and start the daemon. I did it a while back, but as I recall it took next to no time to get it running.
I'd suggest you have a look at the config file, as it'd pretty well commented. There's aslo man vsftpd.conf which goes into far more detail.
Here are the steps:
1) yum install vsftpd
2)edit vsftpd.conf
vim /etc/vsftpd/vsftp.conf
make necessary changes
3)chkconfig vsftpd on
4)service vsftpd restart
just
1. rpm -iUVh vfstpd*.rpm (in your CentOS DVD iso under Centos folder)
2. ensure you firewall is not blocking (you might temporary disable firewall to diagnose first), service iptables stop
3. make your ftp services started (service vsftpd start) and (chkconfig vsftpd on)
4. check your ftp (service vsftpd status)
5. try ftp localhost and use another pc to ftp to you vsftpd server
Last edited by linuxhantu; 12-07-2009 at 03:51 AM.
I am trying to create a user that will allow my web builder to log in and update my website and i can't seem to figure out how to create a user that he can use to do that he uses dream weaver and the weavers ability to log in and let you work on the files through ftp so i was going to create a user called webdream but so far i have not had any luck
can some one tell me how to do it
i know i can log in with winspc and do anything but my web builder needs ftp access
please help
here is my vsftpd.conf file listing
anonymous_enable=no
local_enable=YES
write_enable=YES
local_umask=0777
file_open_mode=0777
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES
async_abor_enable=YES
ascii_upload_enable=YES
ascii_download_enable=YES
ftpd_banner=Welcome you have made it to my FTP site.
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
chroot_local_user=YES
ls_recurse_enable=YES
listen=YES
pam_service_name=vsftpd
tcp_wrappers=YES
max_clients=2
max_per_ip=5
pasv_max_port=35000
pasv_min_port=30000
userlist_deny=no
here is the directory listing that the user needs to have access to
drwxr-xr-x 24 root root 4096 May 22 12:09 var
drwxr-xr-x 6 root root 4096 Apr 4 17:23 www
drwxr-xr-x 6 root root 4096 Apr 4 17:23 html
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.