(09-08-2018, 06:27 AM)james30263 Wrote: Hey Guys, is there a way to reinstall proftpd after a fresh Sentora install (and make it work properly with Sentora) or should I just reinstall Sentora all together? I didn't see this until after my install.
I just installed EPEL.
Thanks
OS: Centos 7
Panel: 1.0.3
It could be a bit messy but if you're prepared to do a full reinstall anyway and start from scratch, why not have a go at adding it in first and if it doesn't work, just do the full reinstall. I think the following SHOULD get in installed, but if not then maybe feedback what happened as it might help adjust these commands and help others. These instructions are for CentOS 7 only:
Code:
yum -y proftpd proftpd-mysql
rm -f /etc/proftpd.conf
ln -s /etc/sentora/configs/proftpd/proftpd-mysql.conf" /etc/proftpd.conf
systemctl enable proftpd.service
systemctl start proftpd.service
As far as I can tell, everything else that the installer does for ProFTPD would have been performed anyway, even though the installation of the package failed.
If the first line fails, then you haven't installed EPEL correctly and you should run these commands first (NOTE: at the time of writing, this is based on the latest EPEL release but if it fails, visit
https://dl.fedoraproject.org/pub/epel/7/...ackages/e/ and scroll down to find what the latest "epel-release" is to use in these commands):
Code:
wget https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
yum -y install epel-release-7-11.noarch.rpm
rm epel-release-7-11.noarch.rpm
The other thing to keep in mind is that if the EPEL installation failed when you set up Sentora, you might also have missed MCrypt and IMAP for PHP, which both rely on EPEL, so you might also want to run:
Code:
yum -y php-mcrypt php-imap
systemctl restart httpd.service
Give it a try and let us know how it goes.
Keith.