Debian installation on Magnia SG20: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
mNo edit summary
Brian Wilson (talk | contribs)
mNo edit summary
Line 5: Line 5:


* "Other Linux with 2.6 kernel"
* "Other Linux with 2.6 kernel"
* 1 GB IDE drive
* 512 MB of RAM
* 1 GB IDE drive - after installation I will transfer everything to Compact Flash.
* 2 network interfaces
* 2 network interfaces


Line 11: Line 12:
I accepted most defaults.
I accepted most defaults.


Partitioning - I created a single 1GB partition (no swap space)
* Time zone - Pacific
* Partitioning - I created a single 1GB partition (no swap space)
* Filesystem changed from 'EXT3 journalled' to EXT2
* Use archive at osuosl.org
* "Standard" installation (I want to decide what packages to install later.)
 
The CF will be mounted read-only most of the time to increase its longevity.
Therefore I don't want a swap space on the CF drive and I don't want journalling on the CF drive.
 
I am assuming there will be a CF adapter in IDE slot 0 and a 2.5" drive in IDE slot 1
The system will spin down the hard drive when it is not in use. I will do everything I can to minimize hits on this drive to prolong its lifespan.
 
== What this server will be used for ==
 
The primary function is to implement an asterisk phone system. Beyond that
I'd like to set up a web-based system for tracking volunteer hours. I have an idea
that volunteers will be able to log in and out either via Web page or phone, and when they are logged in they can  receive phone calls on the phone they logged in on. When they are logged out they can receive voice mail messages. A web page will show who is logged in and where.
 
* Phone system - Asterisk
* Intranet Web server - cherokee with php
* Database? - I will avoid needing one.  A DBMS will generate too much uncontrolled disk i/o.
* File and print services - Samba
* System management - Webmin, openvpn, ddclient
 
Webmin will be used locally by staff to perform simple administrative operations.
Openvpn will be set up so that I can get secure remote access to the server from my home.
Using Openvpn means I will have to set up dynamic dns updates so I will install ddclient.
 
=== Packages ===
 
After the initial install, 504 MB of disk space were in use.
 
I added packages, cleaned things up, and rebooted.
 
apt-get install asterisk openssh-server openvpn samba
apt-get install cherokee php5-cgi
apt-get autoremove
apt-get clean
reboot
 
which brought the system up to 505 MB (clearing the cache with "apt-get clean" is a good idea!)
 
On reboot I noticed NFS file sharing was enabled. I removed the packages.
I don't like exim4 email so I removed that and replaced it with postfix.
 
apt-get --purge remove exim4 portmap nfs-common
apt-get install postfix
 
I chose "no configuration" for postfix, I will set it up myself later.
 
Other services that I know I want included here
 
apt-get --purge remove bind9-host
apt-get install ddclient dnsmasq
 
=== LCD program ===
 
I added the SG20 lcd program; see [[Magnia LCD]] for details.
 
== External sound system ==
 
My Chintimini application calls for being able to hear incoming phone calls on a speaker.
I am not sure how to do that yet. USB speaker?

Revision as of 05:42, 20 February 2009


I downloaded the 180 MB ISO image for Debian 5. I created a VMware machine with

  • "Other Linux with 2.6 kernel"
  • 512 MB of RAM
  • 1 GB IDE drive - after installation I will transfer everything to Compact Flash.
  • 2 network interfaces

I booted from the ISO image and installed a basic Debian image. I accepted most defaults.

  • Time zone - Pacific
  • Partitioning - I created a single 1GB partition (no swap space)
  • Filesystem changed from 'EXT3 journalled' to EXT2
  • Use archive at osuosl.org
  • "Standard" installation (I want to decide what packages to install later.)

The CF will be mounted read-only most of the time to increase its longevity. Therefore I don't want a swap space on the CF drive and I don't want journalling on the CF drive.

I am assuming there will be a CF adapter in IDE slot 0 and a 2.5" drive in IDE slot 1 The system will spin down the hard drive when it is not in use. I will do everything I can to minimize hits on this drive to prolong its lifespan.

What this server will be used for

The primary function is to implement an asterisk phone system. Beyond that I'd like to set up a web-based system for tracking volunteer hours. I have an idea that volunteers will be able to log in and out either via Web page or phone, and when they are logged in they can receive phone calls on the phone they logged in on. When they are logged out they can receive voice mail messages. A web page will show who is logged in and where.

  • Phone system - Asterisk
  • Intranet Web server - cherokee with php
  • Database? - I will avoid needing one. A DBMS will generate too much uncontrolled disk i/o.
  • File and print services - Samba
  • System management - Webmin, openvpn, ddclient

Webmin will be used locally by staff to perform simple administrative operations. Openvpn will be set up so that I can get secure remote access to the server from my home. Using Openvpn means I will have to set up dynamic dns updates so I will install ddclient.

Packages

After the initial install, 504 MB of disk space were in use.

I added packages, cleaned things up, and rebooted.

apt-get install asterisk openssh-server openvpn samba
apt-get install cherokee php5-cgi
apt-get autoremove
apt-get clean
reboot 

which brought the system up to 505 MB (clearing the cache with "apt-get clean" is a good idea!)

On reboot I noticed NFS file sharing was enabled. I removed the packages. I don't like exim4 email so I removed that and replaced it with postfix.

apt-get --purge remove exim4 portmap nfs-common apt-get install postfix

I chose "no configuration" for postfix, I will set it up myself later.

Other services that I know I want included here

apt-get --purge remove bind9-host
apt-get install ddclient dnsmasq

LCD program

I added the SG20 lcd program; see Magnia LCD for details.

External sound system

My Chintimini application calls for being able to hear incoming phone calls on a speaker. I am not sure how to do that yet. USB speaker?