Hello Everyone,
I am cool with Windows but Linux is like Alien Planet for me. But I just decided to use Ubuntu on my Old laptop to use it as a File/ PHP testing server. I had this setup on Windows and was working fine but have decided to try on Linux
I installed Xubuntu 16.04
Installed Virtualmin on it
configured everything (googling each step), Virtualmin is a messed up thing.
When I got everything running, I wanted to be able to access my USB Harddisk through FTP, somehow I found GAdmin and tried create a FTP user who’s Home directory is USB HD. While trying, I messed up my Proftpd Server. Because GAdmin modified my /etc/proftpd/proftpd.conf. Now I can’t connect to my Proftpd Server from LAN nor Internet. I thought maybe emptying the subject file will reset the issue but it hasn’t. Proftpd server is running but I can’t connect to it.
Maybe if someone can help me by giving me a copy of default proftpd.conf file, that comes with Virtualmin, then maybe it can solve my issue.
Got it, I just copied proftpd.conf from an other installation which I had done in a Virtual machine, pasted it to my Virtualmin proftpd.conf and wollla, all is working fine, just pasting it here, may come useful for someone in future.
File: /etc/proftpd/proftpd.conf (default file, unchanged as it comes with Virtualmin)
Plateform: Ubuntu 16.04
Virtualmin Version: 1.801
Dated: 12 June 2016
#
# /etc/proftpd/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes, reload proftpd after modifications, if
# it runs in daemon mode. It is not required in inetd/xinetd mode.
#
Includes DSO modules
Include /etc/proftpd/modules.conf
Set off to disable IPv6 support which is annoying on IPv4 only boxes.
UseIPv6 on
If set on you can experience a longer connection delay in many cases.
IdentLookups off
ServerName “Debian”
ServerType standalone
DeferWelcome off
MultilineRFC2228 on
DefaultServer on
ShowSymlinks on
DelayEngine on
ControlsEngine off
ControlsMaxClients 2
ControlsLog /var/log/proftpd/controls.log
ControlsInterval 5
ControlsSocket /var/run/proftpd/proftpd.sock
AdminControlsEngine off