Hello good morning.
I have installed HestiaCP and everything is working Ok, and I also already have several websites.
I have realized that I have not installed the FTP server, is there any way to install it but without having to reinstall the entire server again???Install FTP Server
Hello @FernandoGBJ ,
You are lucky, today someone asked the same question
@eris already post the steps but to do it a bit user friendly and avoid problems with functions and variables, I’ve created a script (the script also enables rules for fail2ban).
Create a file like this in your hestiacp server:
touch /root/install-vsftpd-hestia
chmod 750 /root/install-vsftpd-hestia
Now edit the file /root/install-vsftpd-hestia, with vi, nano, or whatever editor you are used to use and paste below content:
#!/usr/bin/env bash
HESTIA="/usr/local/hestia"
BIN="${HESTIA}/bin"
# …
1 Like
And then how do I manage FTP users from the Hestia panel?
Every user you add in HestiaCP can access via ftp using their password.
OK, thank you very much, working.
Is there any way to make it appear to add more ftp users like when the full panel is installed?
You are welcome.
Edit web domain and at the end of that page, in Advanced options, you can add additional ftp accounts.
I am not enabled in the advanced options area and for adding ftp accounts to appear, that is the case that it does not appear, not even restarting the server.
eris
August 30, 2023, 10:46pm
8
Make sure to update hestia.conf to add vsftp in “FTP_SYSTEM”
Thank you very much, you have solved the problem of not having to reinstall 2 complete servers.
Thank you.
sahsanu
August 30, 2023, 11:21pm
10
Didn’t you use the script I left in the other post? Because the script modifies FTP_SYSTEM
option in hestia.conf
file.
Yes, you used it, but it seems that you haven’t modified it for something… but hey, it’s fixed now.
thank you.
sahsanu
August 30, 2023, 11:51pm
12
Ok, but it is strange, this part should had changed it:
# Change FTP_SYSTEM variable
sed -i "s/FTP_SYSTEM=.*/FTP_SYSTEM='vsftpd'/g" "$HESTIA"/conf/hestia.conf
echo "FTP_SYSTEM variable changed to vsftpd in hestia.conf"