install

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Install Webserver

DB_ROOT_PASS=terceS
 
debconf-set-selections <<\EOF
mysql-server-5.5 mysql-server/root_password_again string terceS
mysql-server-5.5 mysql-server/root_password string terceS
EOF
 
# install some basic tools
apt-get -y install bzip2 wget vim
 
# install apache
apt-get -y install apache2
 
# install php
apt-get -y install php5
# OPTIONAL
apt-get -y install php5-mcrypt php5-gd php5-curl php5-cli 
 
# install mysql
apt-get -y install mysql-server php5-mysql libapache2-mod-auth-mysql 
 
# configure apache modules
a2enmod auth_mysql
 
# install ssl
http://www.panticz.de/apache2_ope

HTTrack - Open Source webspider

apt-get install webhttrack
 
# Links
http://debian.httrack.com/

Ubuntu One Beta

#!/bin/bash
 
# add reopsitory
cat <<EOF> /etc/apt/sources.list.d/ubuntuone-beta-sources.list
deb http://ppa.launchpad.net/ubuntuone/beta/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntuone/beta/ubuntu jaunty main
EOF
 
# update
apt-get update
 
# install
#?# apt-get install -y ubuntuone-ppa-beta
apt-get install -y ubuntuone-client
 
 
# Links
https://ubuntuone.com/support/installation/

Hylafax CAPI

#!/bin/bash
 
# preconfigure (do we need this?)
debconf-set-selections <<\EOF
postfix postfix/mailname string fax
postfix postfix/main_mailer_type select Internet Site
EOF
 
# install hylafax
apt-get install -y capi4hylafax hylafax-server 
 
#
# default configuration
#
# configure capi
sed -i 's|#run_capi4hylafax=1|run_capi4hylafax=1|g' /etc/default/capi4hylafax
sed -i 's|USE_FAXGETTY=yes|USE_FAXGETTY=no|g' /etc/default/hylafax
echo "SendFaxCmd: /usr/bin/c2faxsend" >> /etc/hylafax/config
 
# optional
echo "@192.168.0.[0-9]+$" >> /etc/hylafax/hosts.hfaxd
 
# disable AutoCoverPa

ICC profile (color management)

# install icc profile
apt-get install -y icc-profiles
wget http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfilesCS4Win_end-user.zip -P /tmp
unzip /tmp/AdobeICCProfilesCS4Win_end-user.zip -d /tmp/
cp "/tmp/Adobe ICC Profiles (end-user)/RGB/AdobeRGB1998.icc" /usr/share/color/icc/
 
# convert image (test)
convert IMAGE_IN.jpg -profile /usr/share/color/icc/AdobeRGB1998.icc -profile /usr/share/color/icc/sRGB.icm IMAGE_OUT.jpg
 
# Links
http://www.imagemagick.org/Usage/formats/#color_profile

Install fcpci (AVM Fritz Card PCI kernel module)

#!/bin/bash
 
# install capiutils
apt-get install -y capiutils
sed -i 's|#fcpci|fcpci|g' /etc/isdn/capi.conf
 
# install kernel module for AVM Fritz card PCI or compile: http://www.panticz.de/ubuntu_compile_fcpci
apt-get install wget
wget http://dl.dropbox.com/u/4170695/www/fcpci.tar.bz2 -P /tmp
tar xjf /tmp/fcpci.tar.bz2 -C /tmp/
/tmp/fcpci/install.sh
reboot
 
apt-get install -y asterisk asterisk-chan-capi
# do we need this?

ddclient

debconf-set-selections <<\EOF
ddclient ddclient/password: (password omitted)
ddclient ddclient/server: members.dyndns.org
ddclient ddclient/protocol: dyndns2
ddclient ddclient/username: user1
ddclient ddclient/names: myname.dyndns.org
ddclient ddclient/interface: web
ddclient ddclient/service: www.dyndns.com
EOF
 
# install
apt-get install -y ddclient
 
# disable demon mode
sed -i 's|run_daemon="true"|run_daemon="false"|g' /etc/default/ddclient
 
# create cron entry
cat <<EOF> /etc/cron.hourly/ddclient
#!/bin/sh
 
HOST=YOUR_HOST.dyndns.org
IP_DNS=\$(ping \${HOST} -c 1 | grep P

Create Xen DomU Mailserver

# set domU parameter
[ -z $DOMAIN_NAME ] && DOMAIN_NAME=mx
[ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:11:22:7E:7E:7E
[ -z $DOMAIN_RAM ] && DOMAIN_RAM=512Mb
[ -z $DOMAIN_HDD ] && DOMAIN_HDD=4Gb
 
# create domU
##http://www.panticz.de/Xen-domU-ubuntu-jaunty
http://www.panticz.de/DomU-Debian-Wheezy
 
# add to autostart (optional)
ln -s /etc/xen/${DOMAIN_NAME} /etc/xen/auto
 
# create lvm for home
lvcreate --name ${DOMAIN_NAME}-home --size 128G vg0
mkfs.ext4 /dev/vg0/${DOMAIN_NAME}-home
 
# configure domU
vi /etc/xen/${DOMAIN_NAME}
(add)
'phy:/dev/vg0/mx-home,sda3,w'
 
# post config dom

Install email server (Postfix, Courier, SASL, fetchmail, maildrop, amavisd-new)

# ToDo
# configure antivirus
# configure antispam
# configure secure connections
 
#
# configure timezone and locale
#
# dpkg-reconfigure tzdata
# locale-gen de_DE
 
# install Postfix
http://www.panticz.de/Install-Postfix
 
# install Dovecot
http://www.panticz.de/Install-Dovecot
 
#
# SASL
#
# install
apt-get install -y sasl2-bin
 
# post-configure
cp /etc/default/saslauthd /etc/default/saslauthd.$(date -I)
sed -i 's|START=no|START=yes|g' /etc/default/saslauthd
#sed -i 's|OPTIONS="-c -m /var/run/saslauthd"|OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"|g' /etc/defaul
Syndicate content