New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to install FTP on a VPS with CentOS + OpenVPN?
I buy a VPS with RamNode:
•RAM: 128MB
•VSwap: 128MB
•Cores: 1 @ 2.3GHz+
•50GB RAID10 SSD-Cached HDD Space
•1 IPv4 Address
•16 IPv6 Addresses
•500GB Bandwidth
I install CentOS 6.4 X64 and "OpenVPN server."
This works, but I'd also installed a ftp server.
There's 50GB of disk space, I would like to create user with a 5GB or 10GB of space.
Is it possible with so little memory?
Thank you for your help
Comments
You should have no issues doing this, depending on the memory footprint of the FTP though! Do you have any preference with FTP servers/used any certain ones before?
yes. its possible you could even make a large swap file.
FTP: http://www.cyberciti.biz/tips/linux-creating-ftp-account-with-vsftpds.html
Swap: http://www.cyberciti.biz/faq/linux-add-a-swap-file-howto/
I have no preference.
Maybe I explained myself badly.
For example I want:
But I think we need MySQL for this, and with 128MB of memory, it is not enough.
u can use VSFTP (no need of mysql)
with the above 2nd link, u can do what u want, user1, user2
there are nice tutorials on howtoforge.com
http://www.howtoforge.com/virtual-hosting-with-pureftpd-and-mysql-incl-quota-and-bandwidth-management-on-centos-6.4
Thank you for your help.
There need to MySQL for quotas.
Is my configuration will support MySQL?
should work, if not do some mysql tweaks
Prefer MariaDB over Oracle MySQL. This is a good my.cnf for your setup:
Yes it is possible, just run these commands.
yum install vsftpd
chkconfig vsftpd on
service vsftpd start
then look around in this file to get those preferences you want: /etc/vsftpd/vsftpd.conf
(man pages might not be a bad idea as well)
how about installing proftpd and limit user max disk space by username?
Btw Webmin should work too. it has interface!
Google for 'webmin ftp quota'