SA-MP Forums Archive
How to setup FTP on a box running CentOS 6? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to setup FTP on a box running CentOS 6? (/showthread.php?tid=405387)



How to setup FTP on a box running CentOS 6? - Deal-or-die - 06.01.2013

Hey,
I was curious as to know how to setup FTP that can be either connect to via a webpage or preferably an FTP client on a box running CentOS 6.

I have looked around for a simple guide or something as I am rather new too dealing with VPSs but nothing seems to work, any help or assistance would be greatly appreciated.

Thanks,
Deal

(Hopefully this is a better section to be posting this in.)


Re: How to setup FTP on a box running CentOS 6? - niCe - 06.01.2013

You have already posted this thread here: https://sampforum.blast.hk/showthread.php?tid=405383. Posting duplicite threads could lead to your account being banned.


Re: How to setup FTP on a box running CentOS 6? - Deal-or-die - 06.01.2013

Yeah I'm not able to delete that thread though.. :/

Where do you recommend this thread in General or Server Support?


Re: How to setup FTP on a box running CentOS 6? - Mrkrabz - 06.01.2013

https://www.digitalocean.com/communi...on-centos-6--2


Re: How to setup FTP on a box running CentOS 6? - GWMPT - 06.01.2013

Код:
yum install vsftpd -y
service vsftpd start
tadah!
now, you add a user and set a password, and he will be automatically available to login into the ftp.


@off i totally prefer pureftpd, but vsftpd is almost available on any repository center


Re: How to setup FTP on a box running CentOS 6? - Mark™ - 06.01.2013

Instead of going through all the hassle of running and installing a FTP server, use the built-in SFTP protocol. Login credentials will be the same as your SSH credentials.


Re: How to setup FTP on a box running CentOS 6? - Deal-or-die - 06.01.2013

Ahh Mark™ you legend.
Okay Sweet all is well, Do I just use the normal 'useradd' too create a username?


Cheers mate.


Re: How to setup FTP on a box running CentOS 6? - Mark™ - 06.01.2013

Yes, you can create any account simply with "useradd username". You want to restrict access to a specific folder for that user ?


Re: How to setup FTP on a box running CentOS 6? - Deal-or-die - 06.01.2013

Okay sweet thanks, I sorted that but since I installed samp using the root account(Yes, I thought only running the server from root was bad.) the account that samp is installed under (EG. /home/sampunsername/samp03/) has no rights to touch any of the files. Ideas on how I am able to give the 'sampusername' permissions to add and remove files from only the 'sampusername' directory?


Cheers.

(I can write that a little less confusing if you'd like.)


Re: How to setup FTP on a box running CentOS 6? - GWMPT - 06.01.2013

Quote:
Originally Posted by Mark™
Посмотреть сообщение
use the built-in SFTP protocol.
It is totally more slower than the normal ftp systems.