Server1 Setup ubuntu, java, virtualmin
A while ago I wrote a document describing how I setup my own server for shared web hosting using virtualmin. This can be helpful if you ever plan on hosting your websites on your own server. It was fun learning about these technologies so I'm willing to share my notes.
Server1
This document explains the steps I took to install and configure server1.
Note: keep in mind that I have a router setup with dchp enabled.

Also, I have setup dhcp clients to use server1 as the first dns server along with my isp dns. These settings will come up when setting up the FQDN of server1 and when changing the ip address to static.Remember to change the DNS 1 setting to server1's ip address. The only other router setting I can think of is putting the server in the DMZ.
Installing The Software
1. Install fresh copy of ubuntu 8.04(LTS) server edition
- make sure to extend root volume to second harddrive
- hostname is server1
- DO NOT install dns, lamp, postgresql, mail because suexec for apache causes errors
- tomcat is not an option in this version
- system mail name is johnmercier.selfip.com
- sudo apt-get install sun-java6-jdk
- sudo update-java-alternatives -s java-6-sun
- sudo apt-get upgrade
- link
- test with hostname -f and check for hostname in browser
- server1.johnmercier.selfip.com will not work until dns is setup.
- johnmercier.selfip.com should work if httpd is running
- remove dhcp client
- link
5. install virtualmin using the install.sh script on their website
VIRTUALMIN SETUP
1. post install script
4. Server Plans
5. Bandwidth Monitoring
6. Skeleton Pages
future steps
VIRTUALMIN SETUP
1. post install script
- Basically answered yes to everything.
- Default IP address is set to 192.168.1.10, but the detected external addresss is actually 24.165.27.83. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.
- System Settings -> Module Config -> set Default IP address for DNS records = Automatically detect external address.
4. Server Plans
5. Bandwidth Monitoring
6. Skeleton Pages
future steps
- setup mod_jk
- make control panel to edit mod_jk, restart tomcat, change jdk, and access virtualmin, usermin, webmin
- write webapp to show status of all servers on public page
the post is very nice..good thinking of this one..really nice this one..thanks for sharing this one here with us
Posted by seo greece on July 13, 2011 at 12:45 PM PDT #