- PeterMoulding.com
- Author
- Trainer
- Speaker
- Business Coach
- How to write a How To book
- PHP Courses
- Speaking
- Web Architect
- Australia
- Books
- Authors
- Akkana Peck
- Alex Berenson
- Andrew Nugent
- Ben Sanders
- Brock Clarke
- Chris Simms
- David Mercer
- Dianna Mullet
- Don Winslow
- Dori Smith
- Harlan Coben
- Jack McDevitt
- James Wines
- Jerry Yudelson
- John Grisham
- Kevin Mullet
- L. E. Modesitt Jr.
- Laurell K. Hamilton
- Marshall Karp
- Martina Cole
- Michael Marshall Smith
- Michel Roux Jr
- Nadia Sawalha
- Philip Pullman
- Raymond Khoury
- Richard North Patterson
- Robert Masello
- Sally Roth
- Sarah Langan
- Stella Rimington
- Stephen Booth
- Stephen King
- Stephen Leather
- T.C. Boyle
- Tom Negrino
- Tony Hillerman
- Urban Waite
- Val McDermid
- Valerio Massimo Manfredi
- Beginning GIMP
- Beginning Visual C++
- Culturalism
- Fiction
- A Drink Before The War
- A Talent for War
- Bag of Bones
- Blood and Ice
- Burn
- Dark Lady
- Dead Line
- Eclipse
- Empress of Eternity
- Exley
- Flipping Out
- Just One Look
- Nightfall
- Pet Sematary
- Savage Moon
- Skinwalkers
- Starvation Lake
- The Fallen
- The Gardens of the Dead
- The Jump
- The Last Templar
- The Mermaids Singing
- The Midnight Mayor
- The Secret Soldier
- The Summons
- The Terror of Living
- The Testament
- The Tower
- Under the Dome
- Virus
- AJAX and PHP
- Aging with Grace
- Food books
- Green Architecture
- Life Is So Good
- SQL: The Complete Reference
- The Backyard Bird Lover's Ultimate How-to Guide
- The Garden Gurus
- Authors
- Sustainability
- -18 hours left to decide the future of Australia
- Campbells vegetable stock or Massel vegetable stock?
- Carbon Sequestration
- Carbon tax for Australia is a fraud
- Copenhagen will fail
- Cost of living in Australia
- Dick Smith jumps on the population bandwagon
- Dry Run: Preventing the Next Urban Water Crisis
- Energy Saving Lights
- Garlic
- How many people can live in Australia?
- Its obsolete, throw it out!
- Julia Gillard offers 9.9 billion dollars bribe to Rob Oakeshott
- Laundry detergent
- Petrol or Diesel?
- Reflective foil batts kill
- RoHS
- Sea level to rise 3mm due to climate change
- Solar power
- Spring again in Sydney
- Sustainable fuels
- The CRUD Tax is back
- The people who make building regulations do not own houses
- Water efficiency
- Which insulation is safer, foil or wool?
- Will Australia reduce greenhouse gas emissions?
- Technology
- Android or Blackberry or iPhone or a flip phone?
- Apple versus Google 2011
- Cameras
- Cars
- Colour
- Burgundy
- Colour Blindness
- Colour Names
- Dulux colours
- Pantone colours
- Safe Colours
- Seculine ProDisk Mini colour balance card
- What Causes Colour Blindness?
- Hardware
- Batteries for the Digital Age
- Cables
- Cases
- Computer reliability
- Computrace
- Disks
- Astone ISO Gear 481E
- Best SSD for your notebook computer
- Disk block size
- Hitachi disk HDS722020ALA330
- LaCie USB 2.0 250 GB mobile hard drive design by F.A. Porsche
- SMART disk
- Samsung 2 TB HD204UI quiet low power disk for mass storage
- Seagate and Samsung merge disk business
- Select the right disk for your RAID array
- USB disk speed
- Western Digital WD20EARX 2 GB SATA 3 disk
- How long should computer hardware last?
- Keyboards
- Mainframe
- Memory cards
- Monitors
- Netbooks, notebooks, tablets, and xPads
- Network Attached Storage
- OLED Displays
- PC's are a thing of the past
- Printers
- Quiet
- Samsung Galaxy S
- Speed
- Television
- Tools
- USB
- Worst computer movies
- Xserve is dead. What next?
- Your backup will not work
- Z68 motherboards
- iPad or Acer Aspire One?
- IQ
- LG Intello Washing Machine
- Lack of a challenge
- Networks
- 802.11n wireless networking
- D-Link DIR-655 wireless router
- D-Link DWA-160 Xtreme N dual band USB adapter
- D-Link DWA-556 Xtreme N PCI Express desktop adapter
- MIMO
- NBN spends another $12 billion of our tax money on nothing
- National Broadband Network
- Netgear wireless modem router DGND3300 with 300 Mbps 802.11n
- Refrigerator kills wireless broadband
- Small Wireless Network
- TP-LINK TL-SG10005D 5 port gigabit switch
- TP-Link TL-WR1043N wireless N gigabit router
- Telstra Pre-paid Mobile Wi-Fi
- Where are the router plus proxy server combinations?
- Open Source documentation
- Software
- 7-zip
- Accounting
- Asterisk
- Audacity
- Backup software
- Bloat only in Windows
- CAD
- CDex
- Disk imaging software for copying and backup
- Exact Audio Copy
- Filezilla
- Firefox
- Java
- LibreOffice or OpenOffice?
- Linux
- 1 in 5 servers will ship with Linux
- Android phones outsell iPhone
- Another Move to Linux
- CentOS 5.5 installation on SSD and RAID 5
- Debian
- Debian 5.0.5 AMD64 installation
- Debian 5.06 installation
- Fedora
- Fedora or Ubuntu?
- Gnome or KDE?
- K9copy
- Linux 2.6.38
- Linux Gnome login settings lost
- Linux Mint
- Linux RAID, a rant
- Linux Speed
- Linux Time
- Linux reliability as demonstrated by Ubuntu 10.10
- Linux reliability as demonstrated by Ubuntu 11.4
- Linux still a struggle in 2011
- Linux workstation disk RAID 1
- Linux, NT, Windows, and SETI
- Linux, three years of progress
- London Stock Exchange switches to Linux
- Mandrake Linux 9.2
- The partition is misaligned by 48128 bytes - warning from Linux RAID
- Ubuntu
- How to fix the scroll bars in Ubuntu 11.4 Gnome
- Kubuntu 10.10 alternate installation on desktop with RAID 1
- POWbuntu
- Ubuntu 10.10 after 6 months use
- Ubuntu 10.10 alternate installation
- Ubuntu 10.10 desktop RAID 1
- Ubuntu 10.10 desktop RAID 5
- Ubuntu 10.10 desktop install on a netbook
- Ubuntu 10.10 desktop installation
- Ubuntu 10.10 netbook install on a netbook
- Ubuntu 10.10 server AMD64
- Ubuntu 10.10 upgrade to version 11.4 beta 2
- Ubuntu 10.4
- Ubuntu 11.10
- Ubuntu 11.10 first upgrade
- Ubuntu 11.4 after one month use
- Ubuntu 12.04 beta1 desktop amd64
- Ubuntu One
- Ubuntu by Microsoft?
- Ubuntu desktop upgrade 10.4 to 10.10 failed because I did not check the media
- Ubuntu strikes again
- Upgrade Ubuntu to Linux Mint 12 LDXE for extra speed
- Yes, use Linux but not that distribution!
- Nero
- OpenOffice
- OpenOffice is now Apache Office
- Project management
- Scribus
- Software for Windows and Linux
- Text editors
- Time
- Todo applications
- Tomboy notes
- Top text editors
- Version control
- VideoLAN VLC media player
- Visio
- Webmin
- Webmin installation on CentOS for Web development
- Webmin installation on Ubuntu
- What is the most popular open source software today?
- Windows
- Another Windows person goes Linux
- BAD_POOL_CALLER
- Cygwin
- Microsoft Malicious Software Removal Tool cannot find a common virus
- One of the developers of Windows XP is criminally insane
- There are unused icons on your desktop
- W32time
- Which Windows version?
- Windows 7 Home Premium
- Windows XP Stop 0x0000007B during installation
- Windows XP is a disaster
- Windows processes
- XML
- Zip, bzip, gzip, or 7zip?
- configFree
- Technology Succession Planning
- VoIP
- Web Sites
- Drupal
- Do Drupal themes have to use the GPL?
- Drupal 7
- A better search facility for Drupal
- Drupal - performance or flexibility
- Drupal 7 Fields are hard to fix
- Drupal 7 new features
- Drupal 7 ships on January 5
- Drupal 7.14
- Drupal 7.4 hits PeterMoulding.com
- Drupal function sequence
- The evolution of a module
- Undefined index: headers in DefaultMailSystem->mail() (line 54 of /modules/system/system.mail.inc).
- Undefined index: to in DefaultMailSystem->mail() (line 83 of /modules/system/system.mail.inc).
- implode(): Invalid arguments passed in DefaultMailSystem->format() (line 23 of /modules/system/system.mail.inc).
- Drupal 8
- Drupal Code Load Cut
- Drupal How To
- Drupal Modules
- Backup and Migrate
- Browscap
- CKEditor with Drupal WYSIWYG
- Captcha
- Cel
- Colorbox
- Content Construction Kit
- Content type
- Devel module for Drupal
- Drupal Rules as an automation language
- Drupal Spam add-on module
- Form alter to node
- IMCE
- IMCE Wysiwyg bridge
- ImageAPI
- Jdog
- Lightbox2
- Module variable
- Node Gallery Access
- Node_Gallery
- Path
- Path redirect
- Pathauto
- Pet
- Search
- Service links
- Session Variable
- Statistics
- Taxonomy
- Token
- Token ex
- Transliteration
- Trigger
- Watch
- Other modules
- Drupal Training
- Drupal access controls need a major rewrite
- Drupal coding tricks
- Drupal performance
- Drupal themes for the future
- Drupal.org colours
- Import existing data into Drupal
- Multiple Web sites made easy using Drupal multisite and the right start
- drupal_lookup_path()
- Adobe PDF
- Apache
- Apache Mahout
- Audi.com
- Bleet
- CSS Strikes Again
- CSS or xCSS
- Can you believe Facebook or email?
- Content Management Systems
- Databases
- Facebook scam
- Font
- Fonts
- HTML
- Install Apache, MySQL, and PHP 5 in Ubuntu 11.4 using the Ubuntu Software Centre
- Language Codes
- Marketing
- Memcache
- Nginx
- Open source development hits another roadblock
- Oscars
- PHP
- SPDY
- Search software
- Techoni.com.au
- Theme themes
- Things to hate on Web sites
- U.S. Patent No. 6,985,875
- Virtual Private Server
- Visible Improvement
- Web 4.0
- Web browser usage
- Web browsers
- Web site development
- Bluefish
- Crying over spilt code
- Eclipse and PHP
- Getting a Git client, a story of ancient technology and pain
- HTTrack
- MVC
- Netbeans
- PHP or ..., CakePHP/Symfony/ZF versus ...
- Programming
- Superfish
- Web browser emulators for testing your Web site
- Web development frameworks
- Web site books
- Web site development on your own computer
- Webmin or phpMyAdmin or cPanel for creating databases?
- aiki framework
- jQuery
- Views development - Learn Fields first
- Views development - Learn Actions and Rules
- jQuery .each()
- jQuery .has()
- jQuery .is()
- jQuery and Firefox Firebug
- jQuery children
- jQuery for people not using Drupal - Installation and getting started
- jQuery hover
- jQuery hover de-duplication example
- jQuery or CSS?
- jQuery performance
- jQuery tests
- Web site hosting
- Westpac Web site still broken after two years and ten months
- Wordpress wins another CMS survey
- Drupal
Webmin installation on CentOS for Web development
Submitted by Peter on Wed, 2010-12-01 18:21
Webmin is a convenient way to administer a computer across the Internet. You add Usermin and Virtualmin to administer Web sites. This page is an outline of an installation of Webmin, Usermin, and Virtualmin under CentOS for use on a Web development machine.
Update Dec 2010: I decided to drop CentOS and Use Ubuntu because all my other Linux work is on Ubuntu or Debian. There is very little difference and it is enough to be annoying. If Webmin fails on Ubuntu then Webmin needs fixing because the Ubuntu/Debian mixture is outpacing the Red Hat Linux that CentOS is based on. Perhaps Red Hat based Fedora is the compromise between using Webmin and using an up to date Linux.
You can download Webmin, Usermin, and Virtualmin from http://www.webmin.com. Webmin is free, open source, and there is only one limitation, should you want to extend Webmin, Webmin is written in ancient hieroglyphics named Perl. A modern version written in PHP would be so easy to extend and integrate within other Web applications and Web sites.
The components
Webmin
You install Webmin first. Webmin requires Perl and Perl is installed by most Linux distributions because many administration utilities are written in Perl. Read more about Webin in Webmin.
1.520 is the current version.
Virtualmin
For our use, we also need Virtualmin. Virtualmin provides Web site management similar to cPanel. Use Virtualmin to define the settings in the Apache configuration file.
Usermin
We need Usermin to define accounts for other users of Webmin. Webmin lets you plug in a lot of different modules and you want to restrict some of them to individual users. Typically you want to define a user that can access only one Web site, the Web site they work on. You want to give the user control over their email and a bunch of other things. You do not want that user accessing anything on the server that does not belong to them. This is another area where you would use cPanel on a typical Web hosting account.
Installation
The Webmin page talks about downloading files and getting files from repositories. All 1960s DOS command line stuff that hangs around in the Unix world. There is an easier way.
Go to the Linux menu bar. Select Applications then Add/Remove Software. This starts the Package Manager.
In the Package Manager, select edit then Repositories then Add.
Copy the Webmin repository name, Webmin Distribution Neutral, from the Webmin installation page to the Name field in the Add New Repository form.
Copy the base URL, http://download.webmin.com/download/yum, from the installation page to the Location field.
Add a description. I used Webmin, Usermin, and Virtualmin.
Select OK.
You now can search for Webmin using the Package Manager search form.
Select the latest version of Webmin.
Select Package Details. You will see a description similar to the following.
A web-based administration interface for Unix systems. Using Webmin you can configure DNS, Samba, NFS, local/remote filesystems and more using your web browser.
After installation, enter the URL http://localhost:10000/ into your browser and login as root with your root password.
Select Apply.
Log in to Webmin
On the home page you get a status summary and a big menu on the left. Here is the menu:
- Webmin
- Backup Configuration Files
- Change Language and Theme
- Webmin Actions Log
- Webmin Configuration
- Webmin Servers Index
- Webmin Users
- System
- Bootup and Shutdown
- Change Passwords
- Disk Quotas
- Disk and Network Filesystems
- Filesystem Backup
- Initial System Bootup
- LDAP Client
- LDAP Users and Groups
- Log File Rotation
- MIME Type Programs
- PAM Authentication
- Running Processes
- Scheduled Commands
- Scheduled Cron Jobs
- Software Package Updates
- Software Packages
- System Documentation
- System Logs
- Users and Groups
- Servers
- Apache Webserver
- BIND DNS Server
- MySQL Database Server
- PostgreSQL Database Server
- Procmail Mail Filter
- Read User Mail
- SSH Server
- Samba Windows File Sharing
- Sendmail Mail Server
- Squid Proxy Server
- Webalizer Logfile Analysis
- Others
- Command Shell
- Custom Commands
- File Manager
- HTTP Tunnel
- PHP Configuration
- Perl Modules
- Protected Web Directories
- SSH Login
- System and Server Status
- Upload and Download
- Networking
- ADSL Client
- Bandwidth Monitoring
- Kerberos5
- Linux Firewall
- NFS Exports
- NIS Client and Server
- Network Configuration
- PPP Dialin Server
- SSL Tunnels
- TCP Wrappers
- idmapd daemon
- Hardware
- CD Burner
- GRUB Boot Loader
- Linux RAID
- Logical Volume Management
- Partitions on Local Disks
- Printer Administration
- SMART Drive Status
- System Time
- Cluster
- Cluster Change Passwords
- Cluster Copy Files
- Cluster Cron Jobs
- Cluster Shell Commands
- Cluster Software Packages
- Cluster Usermin Servers
- Cluster Users and Groups
- Cluster Webmin Servers
Configuration
The first step is Webmin, Change Language and Theme, then switch from American to English.
Webmin, Webmin Configuration, then Start at boot time. You want Webmin to start automatically so you can use Webmin with the computer screen switched off.
When you have multiple Webmin servers, select Webmin Servers Index.
Webmin Users
You can create users and groups in the Webmin Users page. You can also add Usermin to give your users more control over their Webmin environment. Webmin Users gives them access to things. Usermin provides more. I do not have Usermin installed to see what it adds.
Bootup and Shutdown
List of all the installed processes. You can switch automatic startup on and off. If something is not working automatically, check here to see if it needs an automatic start.
Select httpd, mysqld, and smb then select Start now and at boot to start Apache, MySQL, and Samba automatically.
Change Passwords
There are a lot of passwords in this section and most apply to applications or services, not people.
Filesystem Backup
Create a backup of your files here. you should be able to create a backup to a separate disk through a USB connection then add a backup across your network to a computer in another building.
LDAP Users and Groups
Do you really want LDAP? Think about it later. Start with a visit to this option where you will probably see a message about a missing Perl module. install the module. make a note to look at LDAP later.
Scheduled ?
Look at Scheduled Commands and Scheduled Cron Jobs. Use one to to set up the maintenance jobs for your Web sites.
Software Package Updates
Change this to look for security updates daily and send you an email. You can then apply the updates when people are not in the middle of a major update. The other updates can be left for a weekly update.
System Logs
Use this to look at Apache error logs. You might have to add the Apache logs by hand. Check every error and fix things so errors do not occur.
Users and Groups
You can see your users here. In my system, user id 0 is root access, 1 to 499 are processes, and 500 onwards are logged in users.
Apache Webserver
Here is the place to define your Web sites. Select Create virtual host. Practice with the various options.
BIND DNS Server
if you use Bind in your Webmin server to provide the only DNS service, you are commited to running the server 24 hours a day. Tiny low power routers can provide the same service without overheating the planet and without a cooling fan screaming in your ear. There are some things those little low power devices do better than Webmin.
MySQL Database Server
MySQL is not running by default. You can start it from this administration page but then it is not started automatically. Start MySQL automatically back in Bootup and Shutdown.
PostgreSQL Database Server
PostgreSQL is nice. When Drupal finish the PostgreSQL compatibility work, I will use PostgreSQL for many projects.
Read User Mail
You can read your mail here. Usermin adds to the user options for reading mail.
SSH Server
We do not need SSH immediately because this computer is on a local network protected by a firewall in the router. We will need SSH when we start testing secure Web sites.
Samba Windows File Sharing
Samba is the way we share files with Windows based computers. Given the number of die-hard unix engineers using Windows based notebooks, you usually need Samba.
Sendmail Mail Server
Sendmail is used by your web sites to send mail. You need it. it is started by default. The question is, can you survivie use only the defaults?
Squid Proxy Server
Hopefully you will not need this. If your computer had at least two network connections, you might connect one to the Internet and run Squid. Those little low power routers with no noisy fans or anything that breaks, are happily proxy serving millions of Web sites.
Webalizer Logfile Analysis
Log file analysis is useful for regular sites but not for test sites. For test sites, you just need to list errors and correct them.
File Manager
A file manager would be nice but this is some obsolete rubbish requiring Java. Use the Webmin file manager when they move into this century.
PHP Configuration
This is a basic PHP configuration file text edit without the nice features of the PHP edit in cPanel. Please sponsor the development of an intelligent PHP configuration editor.
SSH Login
This is another Java applet needing replacement.
Upload and Download
You can upload and download stuff here or set up a file share. There are several choices for handling the passing of files from this computer to other computers.
ADSL Client
You can use your Webmin computer as the ADSL client for your Internet connection. Consider two things. This big power hungry computer will have to suck the life out of our planet 24 hours a day trying to reproduct the same service as a tiny ultra low power ADSL modem. The first device on the ADSL line will explode when lightening strikes your telephone line.
Do you want a 600 watt $2000 computer running all day then vaporising or will you settle for a $59 10 watt dedicated ADSL modem performing the same task?
NFS Exports
This is Samba for Unix. you set up the equivalent to Samba shares for use on Linux and Unix machines. Windows can be set to use NFS but Samba is easier.
You do not need complicated NFS and Samba shares for good backup programs because they can also use FTP and other access methods plus they can create the connections just for the backup and nothing else.
SSL Tunnels
Consider an SSL tunnel or equivalent if you have to access Webmin from outside your network.
Webmin can do many things. For Web development, you might also need FTP, Webdav, and other access. A VPN, Virtual Private Network, casn run all your network access over one secure connection. Your choice of access security depends on the total range of access protocols you want to mix in one connection.
Linux RAID
You can monitor your RAID configuration from here and receive an email when things go wrong, assuming it is just one disk that fails.
Partitions on Local Disks
You can access the SMART data fom th disks. The data can be missleading.
SMART Drive Status
This repeats stuff from the Partitions page.
System Time
This fails to pick up the NTP servers from the CentOS configuration.








