|
[SMS] - Superb Mini Server Project Support Forum |
|
|
|
View previous topic :: View next topic |
Author |
Message |
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Sep 29, 2007 3:44 pm Post subject: Virtualhosting with Virtualmin |
|
|
Added both add-ons in download area
Use them or you can follow the guide and do it yourself
For creating VirtualHosting we are going to use
1. Virtualmin (GPL) an Webmin module, alternative to cPanel or Plesk
2. Httpd recompiled with suexec enabled
First of all lets upgrade httpd. This add-on probably (I'm thinking of it) will be available in SMS in the next release (1.2.1) so this step won't be necessary, but for now lets get it from here place it on folder modules and rebuild the iso, or installed it with "lzm2dir httpd-2.2.4-suexec.lzm /" and restart httpd.
To install vilrtualmin module download it from here and go on webmin configuration and install the module.
After you install it go on virualmin menu, on module config and choose to enable proftpd, SAVE and press [re-check and refresh configuration] you probably need to add 127.0.0.1 to the list DNS servers, Do that, and press [re-check and refresh configuration] again.
You should now see this output
BIND DNS server is installed, and the system is configured to use it.
Detected mail server Sendmail.
Mail server Sendmail is installed and configured.
Apache is installed.
Webalizer is installed.
MySQL is installed and running.
ProFTPD is installed.
Logrotate is installed.
Using network interface eth0 for virtual IPs.
Default IP address for virtual servers is [your ip].
Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /var/spool/mail. Quota editing has been disabled.
Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access.
All commands needed to create and restore backups are installed.
.. your system is ready for use by Virtualmin.
Updating all Webmin users with new settings..
.. done
If you want to use quotas just read the how to here
Now the only thing left is /etc/proftpd.conf.
Use a simple one like
Code: | ###############
# proftpd.conf
###################
ServerType standalone
DefaultServer on
Umask 022
ServerName "SMS FTP"
ServerIdent on "SMS FTP Server"
ServerAdmin root@sms
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49150 65534
DefaultRoot ~
RequireValidShell off
DenyFilter \*.*/
|
Start ProFTPD from Virtualmin
and you are ready to add Virtual Servers with mail domains and ftp access.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
|
|
|