Apache configuration is otherwise pretty straightforward. You can choose to build from source or via the packages.
The services will be installed by default and Apache will serve you its default page as soon as the service is started.
Tricky part is to get the pages served over internet for the FQDN - www.kiranghag.com
My ISP assigns me dynamic IP. Luckily the router supports DynDNS. So I setup DynDNS client and let it update DynDNS records every time it got up new IP.
My existing domain - www.kiranghag.com, has been registered using Yahoo! Small Business. I added a CNAME record so that the beta webserver name - atom.kiranghag.com points to my DynDNS alias.
On the server, the hostname and DNS suffix has been setup for its internet domain - kiranghag.com. After that edited the apache configuration files and add ServerName directive for correct domain. The server also needs to be given static IP on home LAN.
The router firewall needs to be updated so that port 80 is forwarded to the webserver's internal IP and port 80.
Now I am able to connect to atom.kiranghag.com from outside!!!
PS: This breaks sometimes though. I guess this happens when the router is restarted and IP changes before DNS servers on Internet flush their cache. This can be solved by restarting apache and network services on the home server first. Turn off router for a minute and power it back on. That should take care of it.
"केल्याने देशाटन, येतसे शहाणपण..." (Travelling makes a man wiser - Marathi proverb)
I am a traveller, set onto the journey of life. I like to watch people and machines, know them, see their life, see how they think and what they experience.
This is not a travelog. It is random, philosophical, technical - like I am at times :) This blog is my space to note down my memories, feelings, experiments and experiences that I accumulate, as I tread the Globe...
Saturday, June 13, 2009
Home Server Project - Configuring Sendmail (for gmail)
This one was tough!
I was always intimidated by sendmail :) My interaction to it was limited to disabling it at startup because it used to hang at bootup :)
For the home server, decided to set it up so that I could be notified for different events. There are many links that explain how to setup sendmail for gmail but it took me little longer to decipher it and get it up. Config is complicated by the fact that gmail uses SSL for mail acceptance via SMTP and sendmail is not friendly for beginers :)
Check out the links that were more useful
http://www.brennan.id.au/12-Sendmail_Server.html
http://rajasuperman.blogspot.com/search?updated-max=2006-09-08T15%3A47%3A00-07%3A00&max-results=4
After lot of fiddling around, the mails started flowing :)
I was always intimidated by sendmail :) My interaction to it was limited to disabling it at startup because it used to hang at bootup :)
For the home server, decided to set it up so that I could be notified for different events. There are many links that explain how to setup sendmail for gmail but it took me little longer to decipher it and get it up. Config is complicated by the fact that gmail uses SSL for mail acceptance via SMTP and sendmail is not friendly for beginers :)
Check out the links that were more useful
http://www.brennan.id.au/12-Sendmail_Server.html
http://rajasuperman.blogspot.com/search?updated-max=2006-09-08T15%3A47%3A00-07%3A00&max-results=4
After lot of fiddling around, the mails started flowing :)
Wednesday, June 10, 2009
Home Server Project - First extended UAT run
Its up for 12 hours today
# uptime
23:11:35 up 12:30, 1 user, load average: 0.00, 0.00, 0.00
Temperature is now in little control. I got one cheap HDD cooler and removed two small fans from it. Adding these fans to the case has brought down cabinet and CPU temperature to less than 60...earlier it used to hover around 70!!!
Keeping the case open reduces it further...problem with Zebronics chotu cabinet is its SMPS. The SMPS generates more heat and heats up entire cabinet. I had kept a sponge sheet under motherboard because it shorted itself before. But I think that blocked bottom went in the cabinet.
Now its removed so hopefully aiding ventilation.
After 12 hours, following temperatures are noted
#sensors
smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
in0: +2.55 V (min = +0.00 V, max = +3.32 V)
Vcore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.28 V (min = +0.00 V, max = +4.38 V)
+5V: +5.00 V (min = +0.00 V, max = +6.64 V)
+12V: +12.31 V (min = +0.00 V, max = +15.94 V)
VCC: +3.30 V (min = +0.00 V, max = +4.38 V)
in6: +1.58 V (min = +0.00 V, max = +1.99 V)
in7: +1.77 V (min = +0.00 V, max = +2.39 V)
SIO Temp: +43.0°C (low = -127.0°C, high = +127.0°C)
temp2: +53.0°C (low = +40.0°C, high = +70.0°C)
temp3: +47.0°C (low = -127.0°C, high = +127.0°C)
cpu0_vid: +2.050 V
Not bad at all!
Managed to create and configure Apache with a self-signed certificate. The web page is accessible from outside world. But for few minutes, the pages stop serving from internet domain. Not sure why. If I used the DDNS provided, it works flawlessly.
Need to check with ISP if they can provide static IP. I had requested that in application form but they nicely ignored it :) Bunch of craps...
Good to see things moving a step everyday ! makes me happy!!
# uptime
23:11:35 up 12:30, 1 user, load average: 0.00, 0.00, 0.00
Temperature is now in little control. I got one cheap HDD cooler and removed two small fans from it. Adding these fans to the case has brought down cabinet and CPU temperature to less than 60...earlier it used to hover around 70!!!
Keeping the case open reduces it further...problem with Zebronics chotu cabinet is its SMPS. The SMPS generates more heat and heats up entire cabinet. I had kept a sponge sheet under motherboard because it shorted itself before. But I think that blocked bottom went in the cabinet.
Now its removed so hopefully aiding ventilation.
After 12 hours, following temperatures are noted
#sensors
smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
in0: +2.55 V (min = +0.00 V, max = +3.32 V)
Vcore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.28 V (min = +0.00 V, max = +4.38 V)
+5V: +5.00 V (min = +0.00 V, max = +6.64 V)
+12V: +12.31 V (min = +0.00 V, max = +15.94 V)
VCC: +3.30 V (min = +0.00 V, max = +4.38 V)
in6: +1.58 V (min = +0.00 V, max = +1.99 V)
in7: +1.77 V (min = +0.00 V, max = +2.39 V)
SIO Temp: +43.0°C (low = -127.0°C, high = +127.0°C)
temp2: +53.0°C (low = +40.0°C, high = +70.0°C)
temp3: +47.0°C (low = -127.0°C, high = +127.0°C)
cpu0_vid: +2.050 V
Not bad at all!
Managed to create and configure Apache with a self-signed certificate. The web page is accessible from outside world. But for few minutes, the pages stop serving from internet domain. Not sure why. If I used the DDNS provided, it works flawlessly.
Need to check with ISP if they can provide static IP. I had requested that in application form but they nicely ignored it :) Bunch of craps...
Good to see things moving a step everyday ! makes me happy!!
Sunday, June 07, 2009
Intex USB TV BOX drivers
Drivers for this are not available from Intex website. I purchased the tuner and missplaced the driver CD.
The tuner quality is not so great and you need to select "CATV" method if you are tuning cable TV signals. If the quality had been good, the accompanying software could have made it a great deal to buy.
http://www.newmi.com/en/productsshow.asp?id=475
Original manufacturer of this box is "newmi" and drivers can be found at following location
http://www.newmi.com/en/systemadmin/upfile/upload/music/200871867871705.rar
or http://www.newmi.com/en/Download.asp
Hope this helps
The tuner quality is not so great and you need to select "CATV" method if you are tuning cable TV signals. If the quality had been good, the accompanying software could have made it a great deal to buy.
http://www.newmi.com/en/productsshow.asp?id=475
Original manufacturer of this box is "newmi" and drivers can be found at following location
http://www.newmi.com/en/systemadmin/upfile/upload/music/200871867871705.rar
or http://www.newmi.com/en/Download.asp
Hope this helps
Thursday, June 04, 2009
Home Server Project - HD Playback check
I was sceptical before attempting HD movies.
Intel Atom 330 is able to handle HD playback fine, while folks on web dont feel so.
I downloaded some HD movies from net and played back -both the 720p and 1080p variants. Both play smooth and CPU utilisation doesnt shoot up. Not sure if I am missing anything...I am running them on a TFT screen set at 1024x768 usng onboard 945GMA.
Someone please let me know if things change when you run it through HDMI.
PS: upgraded Windows XP SP3 and system started rebooting yest night. Did a system restore and things are back fine. Good news is that the ADMTek wireless card is able to connect, however only if the antenna is in line of sight. Not bad anyway. Havent been able to configure it yet in Linux, maybe tonight!
Intel Atom 330 is able to handle HD playback fine, while folks on web dont feel so.
I downloaded some HD movies from net and played back -both the 720p and 1080p variants. Both play smooth and CPU utilisation doesnt shoot up. Not sure if I am missing anything...I am running them on a TFT screen set at 1024x768 usng onboard 945GMA.
Someone please let me know if things change when you run it through HDMI.
PS: upgraded Windows XP SP3 and system started rebooting yest night. Did a system restore and things are back fine. Good news is that the ADMTek wireless card is able to connect, however only if the antenna is in line of sight. Not bad anyway. Havent been able to configure it yet in Linux, maybe tonight!
Wednesday, May 27, 2009
Home Server Project - checking temperature
This is first time to configure lm_sensors
- dloaded the source using wget ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-3.1.0.tar.bz2
- extracted the file using bunzip2 and tar
- compiled source and did "make install"
- ran sensors-detect to find out which sensor i have
- loaded sensor driver (follow the output of sensors-detect!)
- run "sensors -s" and then "sensors"
didnt feel it would be so easy. having net connectivity to the box helped!
# sensors
smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
in0: +2.55 V (min = +0.00 V, max = +3.32 V)
Vcore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.28 V (min = +2.97 V, max = +3.63 V)
+5V: +4.97 V (min = +4.50 V, max = +5.50 V)
+12V: +12.25 V (min = +10.81 V, max = +13.19 V)
VCC: +3.28 V (min = +2.97 V, max = +3.63 V)
in6: +1.57 V (min = +0.00 V, max = +1.99 V)
in7: +1.76 V (min = +0.00 V, max = +2.39 V)
SIO Temp: +51.0°C (low = -127.0°C, high = +127.0°C)
temp2: +63.0°C (low = -127.0°C, high = +127.0°C)
temp3: +57.0°C (low = -127.0°C, high = +127.0°C)
I haven't forgotten my way around in Linux yet! This is perhaps after many years I am sitting the the box for RnD, Thanks to Intel Atom :)
time to sleep! zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
- dloaded the source using wget ftp://ftp.netroedge.com/pub/lm-sensors/lm_sensors-3.1.0.tar.bz2
- extracted the file using bunzip2 and tar
- compiled source and did "make install"
- ran sensors-detect to find out which sensor i have
- loaded sensor driver (follow the output of sensors-detect!)
- run "sensors -s" and then "sensors"
didnt feel it would be so easy. having net connectivity to the box helped!
# sensors
smsc47m192-i2c-0-2d
Adapter: SMBus I801 adapter at 2000
in0: +2.55 V (min = +0.00 V, max = +3.32 V)
Vcore: +1.15 V (min = +0.00 V, max = +2.99 V)
+3.3V: +3.28 V (min = +2.97 V, max = +3.63 V)
+5V: +4.97 V (min = +4.50 V, max = +5.50 V)
+12V: +12.25 V (min = +10.81 V, max = +13.19 V)
VCC: +3.28 V (min = +2.97 V, max = +3.63 V)
in6: +1.57 V (min = +0.00 V, max = +1.99 V)
in7: +1.76 V (min = +0.00 V, max = +2.39 V)
SIO Temp: +51.0°C (low = -127.0°C, high = +127.0°C)
temp2: +63.0°C (low = -127.0°C, high = +127.0°C)
temp3: +57.0°C (low = -127.0°C, high = +127.0°C)
I haven't forgotten my way around in Linux yet! This is perhaps after many years I am sitting the the box for RnD, Thanks to Intel Atom :)
time to sleep! zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Home Server Project - getting the web server up for alpha testing
Just got the server up for some time. For those who are not aware (almost all of you would be :) ), its following configuration...
Intel 945GCLF2 motherboard with Atom330 (Dual atom, dual core) CPU
2GB DDR RAM
Seagate 320GB internal SATA HDD
miniature keyboard, mouse and DVD-RW drive, though not to be connected
This is low power consumption system and low in size, thanks to Intel Atom. Planned to be run up and running 24/7, either as a web server, HTPC, home server or any combination of these :)
The mobo and SMPS went kaput just on the day when it was pieced up :( :( managed to get it back after 4 weeks.
So now the box is hunting for its final place, waiting for work at home to finish for this. Just powered it on for a while of testing.
Was trying to setup Apache on Linux. SSHed to it and started Apache service. Came up fine. Checked up local page access, and it was fine. But could not be accessed from other machine on network or internet.
Tried to scratch my head hard, and "iptables" hit me. Checked if iptables was running and stopped it.
Voila! The Atom is on the net now :)
Intel 945GCLF2 motherboard with Atom330 (Dual atom, dual core) CPU
2GB DDR RAM
Seagate 320GB internal SATA HDD
miniature keyboard, mouse and DVD-RW drive, though not to be connected
This is low power consumption system and low in size, thanks to Intel Atom. Planned to be run up and running 24/7, either as a web server, HTPC, home server or any combination of these :)
The mobo and SMPS went kaput just on the day when it was pieced up :( :( managed to get it back after 4 weeks.
So now the box is hunting for its final place, waiting for work at home to finish for this. Just powered it on for a while of testing.
Was trying to setup Apache on Linux. SSHed to it and started Apache service. Came up fine. Checked up local page access, and it was fine. But could not be accessed from other machine on network or internet.
Tried to scratch my head hard, and "iptables" hit me. Checked if iptables was running and stopped it.
Voila! The Atom is on the net now :)
Subscribe to:
Posts (Atom)