Installation Raspi en serveur

De Wiki Arthion
Aller à : navigation, rechercher

Install initiale

http://www.aboutcher.co.uk/2013/02/raspberrypi-raspbian-minimalserver-install/ https://extremeshok.com/2012/07/22/raspberry-pi-raspbian-tuning-optimising-optimizing-for-reduced-memory-usage/


IRC

Prérequis

apt-get install libssl-dev
apt-get install \
    autoconf automake build-essential expect libgnutls-dev \
    libident-dev libpam-dev libwrap0-dev libz-dev telnet

wget de la derniere version de ngircd : récuperer l'adresse sur le site :
http://ngircd.barton.de/download.php.en

tar -zxf ngircd
cd ngircd
./configure --prefix=/usr --with-openssl

make
make install

SSL

mkdir /usr/etc/ngircd cd /usr/etc/ngircd openssl req -newkey rsa:2048 -x509 -keyout server-key.pem -out server-cert.pem -days 1461

nano /usr/etc/ngircd.conf

[SSL]

   Ports = 6667
   KeyFile = /etc/ngircd/server-key.pem
   CertFile = /etc/ngircd/server-cert.pem
   KeyFilePassword = secret



Lancement automatique

/etc/rc.d/rc.local: /usr/sbin/ngircd

http://www.organicdesign.co.nz/Configure_IRC


Mise à jour IP
http://drupal.briat.org/script-de-mise-a-jour-pour-le-dyndns-ovh
http://pazpop.fr/installer-le-client-dyndns-ipcheck-pour-raspbian-et-ovh/