Script used to create the server image

# packages added
apt-get -y update
apt-get -y upgrade
apt-get -y install apache2
apt-get -y install php4
apt-get -y install php4-gd
apt-get -y install php4-mysql
apt-get -y install php4-domxml
apt-get -y install php4-cli
apt-get -y install mysql-client
apt-get -y install mysql-common
apt-get -y install mysql-server
apt-get -y install graphviz
#apt-get -y install mozilla-firefox
# ssh-keys
# assume that the keys are in the current folder and they are \
named id_dsa_eWAN_server and id_dsa_eWAN.pub
mkdir -p .ssh
mv id_dsa_eWAN_server .ssh/id_dsa
cat id_dsa_eWAN.pub >> authorized_keys2
rm id_dsa_eWAN.pub
# change StrictHostKeyChecking option
cat /etc/ssh/ssh_config | sed \
"s/.*StrictHostKeyChecking.*$/StrictHostKeyChecking no/g" > aux
cp aux /etc/ssh/ssh_config



sansol 2006-06-09