Book
- Basic setup of a SOHO server
- SoHo - Software repositories
- SoHo - Alias of loopback interface
- SoHo - IPtables configuration example
- SoHo - Webmin
- SoHo - DNS
- SoHo - VMWare
- SoHo - Windows
- SoHo - OpenVPN
- SoHo - Remote Desktop
- Nameserver on Windows XP forwarding to public DNS with private zones
- SoHO - NTP
- SoHo - SSH
- SoHo - Ubuntu prerequisites
- How to strengthen SSH
- Fixing Nessus complaints
- Java installation on RHEL 4
- Installing vsFTPd on CentOS
- How to setup CA (certificate authority)
- Installation of VIM X11 and archivers on RHEL 4 x86_64
- SoHo - MS & Open-Office
- User management
- CommuniGate Pro
- Backup
- Issue tracking for small groups
- Jabber setup and configuration
- Monitoring & Statistics
- Printing in SOHO
- Faxes in SOHO
- T38 Modem
- PostScript fonts for faxes
- Installing Brother MFU drivers on Ubuntu
- Installing Hylafax client on RHEL4 and Fedora
- Installing Hylafax server on RHEL4
- Installing Hylafax server on Ubuntu
- Integrating Hylafax with CUPS
- Integrating Hylafax with CommuniGate
- Managing Hylafax from Ubuntu client
- Sending and receiving faxes over internet (links)
- How to test faxing
- Drivers for Brother MFUs
- Brand new idea about faxing
- External faxing resources
- Antivirus & Antispam
- External SOHO References
- Supplementary SOHO procedures
SoHo - Webmin
Table of Contents
1. Webmin on RHEL4
- install prerequisite perl-Net-SSLeay-1.30-1.el4.rf.x86_64.rpm
- install webmin
rpm -ivh webmin-1.520-1.noarch.rpm
- install usermin
rpm -ivh usermin-1.360-1.noarch.rpm
- make them run by default and restart packges so that they will create initial config files:
chkconfig --add webmin chkconfig webmin on service webmin restart
chkconfig --add usermin chkconfig usermin on service usermin restart
- after installation webmin is available via https://localhost:10000 and usermin is available via https://localhost:20000 using the root name and password.
- command usermin to use ldap via /etc/pam.d/usermin (for webmin this is not required since only root can login):
#%PAM-1.0 auth sufficient pam_unix.so nullok auth required pam_ldap.so use_first_pass nullok account required pam_unix.so session required pam_unix.so
- tell webmin it will be proxied by apache on server via sub-directory - edit /etc/webmin/config:
webprefix=/server/admin referers=admin.ourdom.com webmin.ourdom.com wiki.ourdom.com
- tell usermin it will be proxied by apache on server via sub-directory and will be referenced by wiki - edit /etc/usermin/config:
webprefix=/server/users referers=admin.ourdom.com webmin.ourdom.com wiki.ourdom.com
- restart both
service webmin restart service usermin restart
- fix a webmin's miniserv path traversal bug (notice server and admin):
cd /usr/libexec/webmin ln -s server . ln -s admin .
- setup apache proxying
- using webmin interface:
- set russian language for webmin and usermin
- set Default Blue theme for webmin
- set MSC.Linux theme for usermin
- install hylafax module hylafax_mod-1.8.2.wbm.gz on webmin and hylafax_u_mod-1.4.5.wbm.gz on usermin
- disable all modules but hylafax in usermin
2. Webmin on Ubuntu
- install prerequisites
apt-get install -y libauthen-pam-perl libio-pty-perl
libmd5-perl libnet-ssleay-perl- install webmin:
dpkg -i webmin_1.430_all.deb
- install usermin:
dpkg -i usermin_1.360_all.deb
- command usermin to use ldap via /etc/pam.d/usermin (for webmin this is not required since only root can do that):
#%PAM-1.0 auth sufficient pam_unix.so nullok auth required pam_ldap.so use_first_pass nullok account required pam_unix.so session required pam_unix.so
- tell webmin it will be proxied by apache on server via sub-directory - edit /etc/webmin/config:
webprefix=/fax/admin referers=admin.ourdom.com webmin.ourdom.com wiki.ourdom.com
- tell usermin it will be proxied by apache on server via sub-directory and will be referenced by wiki - edit /etc/usermin/config:
webprefix=/fax/users webprefixnoredir=1 referers=admin.ourdom.com webmin.ourdom.com
- setup apache proxying
- using webmin interface:
- set russian language for webmin and usermin
- set Default Blue theme for webmin
- set MSC.Linux theme for usermin
- install hylafax module hylafax_mod-1.8.2.wbm.gz on webmin and hylafax_u_mod-1.4.5.wbm.gz on usermin
- disable all modules but hylafax in usermin
3. Apache SSL
4. Webmin proxied via Apache
- by default webmin listens on port 10000 and usermin on port 20000
- configure redirections and proxying in /etc/httpd/conf.d/ssl.conf
RewriteEngine on RewriteRule ^/[^/]*$ /server/admin/
ProxyRequests off SSLProxyEngine on ProxyPass /server/admin https://localhost:10000 keepAlive=on ProxyPassReverse /server/admin https://localhost:10000
ProxyPass /server/users https://localhost:20000 keepAlive=on ProxyPassReverse /server/users https://localhost:20000
ProxyPass /fax/admin https://fax.gclimate.com:10000 keepAlive=on ProxyPassReverse /fax/admin https://fax.gclimate.com:10000 ProxyPass /fax/users https://fax.gclimate.com:20000 keepAlive=on ProxyPassReverse /fax/users https://fax.gclimate.com:20000
Notice end slashes, they are important !
- protect ports 10000 and 20000 in /etc/sysconfig/iptables.
- restart:
service iptables restart service httpd restart service webmin restart service usermin restart
5. More
Info: for webmin, modules and DNS setup.
Repository of 3rd party webmin modules
Attachments
perl-Net-SSLeay-1.30-1.el4.rf.x86_64.rpm 324.93 KB
webmin-1.520-1.noarch.rpm 15.35 MB
usermin-1.360-1.noarch.rpm 5.76 MB
webmin_1.430_all.deb 13 MB
usermin_1.360_all.deb 5.39 MB
hylafax_mod-1.8.2.wbm.gz 50.81 KB
hylafax_u_mod-1.4.5.wbm.gz 22.93 KB

Comments
Post new comment