====== Serveur stg2.tetaneutral.net ======
===== Caractéristiques =====
* Gigabyte Brix
* CPU Celeron, 4GB RAM
* SSD Intel 40GB
* Debian 7 amd64
===== Traces Install =====
A partir d'un clone (rsync) de stg.tetaneutral.net
==== Config réseau ====
* Le NUC n'a qu'une interface réseau, donc tout part sur la base de VLANs (confère /etc/network/interfaces)
* Changer le /etc/hostname : stg2
* Utiliser /etc/debian_chroot pour éviter les confusions des machines
echo NUC> /etc/debian_chroot
source ~/.bashrc
* Mettre l'IP publique dans /etc/hosts (car sinon résolution de stg pourrie chez les adhérents)
91.224.148.6 stg2.tetaneutral.net stg2
* Vérifier que le FQDN fonctionne
(NUC)root@stg2:~# hostname
stg
(NUC)root@stg:~# hostname --fqdn
stg.tetaneutral.net
==== A wikifier : ====
=== Apache Server ===
apt-get install apache2-mpm-prefork libapache2-mod-php5 php5-cli
* TODO : reprendre /var/www… + conf apache htpasswd…
=== Munin Server ===
apt-get install munin libapache2-mod-fcgid a2enmod rewrite
* confère fichiers de conf de /etc/munin/ : apache.conf munin.conf munin-htpasswd munin-conf.d/hosts.conf
=== Air Control ===
mkdir /opt/aircontrol
cd /opt/aircontrol
wget http://www.ubnt.com/downloads/aircontrol/aircontrol_1.4.2-beta_all.deb|
dpkg -i aircontrol_1.4.2-beta_all.deb
apt-get install -f
# Port par defaut : 9080
service aircontrol stop
ln -s java-1.6.0-openjdk-amd64 /usr/lib/jvm/java-6-sun
mkdir /var/log/aircontrol
mv /usr/share/aircontrol/logs/ /var/log/aircontrol
ln -s /var/log/aircontrol/logs/ /usr/share/aircontrol
service aircontrol start
tail -f /var/log/aircontrol/logs/* &
wget -O - localhost:9080/home.seam
=== ===
=== **Test de debit sur sérveur** ===
wget -O /dev/null http://pouzenc.fr/test100M
* Lance un test de debit avec 100M sur serveur pouzenc.fr
**Iperf3**
iperf3 -d -c pouzenc.fr
* Lire [[http://wiki.ubnt.com/AirControl#Installation|http://wiki.ubnt.com/AirControl#Installation]]