BE:Squads/Piratech/Projekte/piratech.de/protocoll

Aus Piratenwiki
Wechseln zu: Navigation, Suche

Protokoll

Hier sind alle größeren Änderungen am System erfasst.

Installation

touch /etc/apt/sources.list.d/froxlor.list && echo 'deb http://debian.froxlor.org squeeze main' > /etc/apt/sources.list.d/froxlor.list
gpg --keyserver pgp.mit.edu --recv-keys 4F9E9BBC && apt-key add /root/.gnupg/pubring.gpg
apt-get update && apt-get upgrade && apt-get install froxlor

a2enmod ssl
mkdir /var/ssl
cd /var/ssl/
openssl genrsa -out default.key 1024
openssl req -new -key default.key -out default.csr
openssl x509 -req -days 365 -in default.csr -signkey default.key -out default.crt
chmod 640 *
chown -R root:www-data /var/ssl

mkdir -p /var/customers/webs/
mkdir -p /var/customers/logs/
mkdir -p /var/customers/tmp
chmod 1777 /var/customers/tmp
a2dismod userdir

apt-get install awstats
cp /usr/share/awstats/tools/awstats_buildstaticpages.pl /usr/bin/
mv /etc/awstats/awstats.conf /etc/awstats/awstats.model.conf
sed -i.bak 's/^DirData/# DirData/' /etc/awstats/awstats.model.conf

apt-get install bind9
echo "include \"/etc/bind/froxlor_bind.conf\";" >> /etc/bind/named.conf
touch /etc/bind/froxlor_bind.conf
chown root:bind /etc/bind/froxlor_bind.conf
chmod 0644 /etc/bind/froxlor_bind.conf
/etc/init.d/bind9 restart

/etc/init.d/apache2 restart

http://<IP>/froxlor/
> SSL Aktiviren und Konfigurieren
> ASP Aktiviren
> Neuer Port (443) mit SSL
> FTP Konfiguration gemäß Anleitung
-> TLS Aktivieren und erzwingen
> AWStats Aktiviren
> neuen Kunden "www" für Infoseite über den Server
> /var/www/index.html mit Redicet zu dieser Seite
rm /etc/apache2/sites-enabled/000-default

echo '
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/5 * * * *        root        /usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php' > /etc/cron.d/froxlor
/etc/init.d/cron restart

config abwarten
/etc/init.d/apache2 restart

Apache Einschränken

RAM Verbrauchende werte:

  • MaxKeepAliveRequests
  • mpm_prefork
  • mpm_worker
  • mpm_event

OS-Ticket

http://www.kasplodey.com/8/linux/piping-emails-to-osticket-with-postfix

Beim Mailserver noreplay & alerts nach /dev/null umleiten sonst gibt es eine Endlosschleife!

BugFix für Umlaute: (sonst werden eingehende Mails mit Umlauten im FROM Feld abgelehnt und zurückgesendet) http://osticket.com/forums/showthread.php?t=677

12.02.2013 Neues SSL-Zertifikat

Tausch des Hupt-Zertifikates. Gültig bis 13.03.2014 00:22:00 GMT