====== Ceci n'est pas un serveur autonome ======
ni une machine à faire des trucs
* Base [[http://armbian.com|armbian]] jessie serveur
* suivre la doc d'installation de la chaine de fabrication
* faire une image debian jessie serveur
* booter sur la jessie, connecter l'adaptateur USB/serie du centre noir, nc, blanc,vert
* utilisateur neo / nanopi
* dpkg-reconfigure locales pour un joli fr_FR.UTF-8
* poser un X/VNC
apt-get install fluxbox tightvncserver xfonts-base ttf-dejavu-core xterm
su neo
vnc passwd
vncserver
* faciliter la reconnaissance sur le reseau ( zeroconf/bonjour=>avahi)
apt-get install avahi-daemon libnss-mdns avahi-autoipd
* le nom de la machine est dans /etc/hosts ?
* si l'acces du reseau sur l'ip:1 par un vncclient fonctionne on continu avec noVNC
* de https://github.com/novnc/noVNC/wiki/Projects-and-companies-using-noVNC
cd /usr/local/bin
git clone https://github.com/novnc/noVNC.git
# test
/usr/local/bin/noVNC/utils/launch.sh --vnc localhost:5901
* poser pd-l2ork
* http://forum.pdpatchrepo.info/topic/10569/purr-data-finally-released
* https://git.purrdata.net/jwilkes/purr-data
* soit récupérer un .deb soit le compiler sachant que nos carte ARM n'ont pas forcement la même base...
cd /usr/src
git clone --recursive git://github.com/pd-l2ork/pd.git pd-l2ork
apt-get install bison flex automake qjackctl tcl8.5-dev tk8.5-dev tcl-dev tk-dev libasound2-dev libjack-jackd2-dev libtool libbluetooth-dev libgl1-mesa-dev libglu1-mesa-dev libglew-dev libmagick++-dev libftgl-dev libgmerlin-dev libgmerlin-avdec-dev libavifile-0.7-dev libmpeg3-dev libquicktime-dev libv4l-dev libraw1394-dev libdc1394-22-dev libfftw3-dev libvorbis-dev ladspa-sdk dssi-dev tap-plugins invada-studio-plugins-ladspa blepvco swh-plugins mcp-plugins cmt blop slv2-jack omins rev-plugins libslv2-dev dssi-utils vco-plugins wah-plugins fil-plugins mda-lv2 libmp3lame-dev libspeex-dev libgsl0-dev portaudio19-dev python-dev libsmpeg0 libjpeg62 tkpng flite1-dev libgsm1-dev libfftw3-dev libgtk2.0-dev subversion git libstk0-dev libsndobj-dev libfluidsynth-dev tclxapian fluid-soundfont-gm python-tk byacc Gettext fakeroot pkgconf ttf-dejavu-core
cd pd_l2ork/l2ork_addons
./tar_em_up.sh -a
./tar_em_up.sh -b
./tar_em_up.sh -R
* on installe le paquet :
cd ../..
dpkg -i pd-l2ork...deb
* pour l'accès aux GPIO : WiringNP ! , ce wiringpi dépend de la carte , wiringOP(orangePi) / WiringNP(nanoPi)
* de http://wiki.friendlyarm.com/wiki/index.php/WiringNP:_WiringPi_for_NanoPi
git clone https://github.com/friendlyarm/WiringNP
cd WiringNP/
chmod 755 build
./build
* vérifier avec gpio readall
* régler les problèmes de jackd/alsa
echo '
'>/etc/dbus-1/system.d/audiojack.conf
service dbus restart
echo "none /dev/shm tmpfs defaults 0 0" >> /etc/fstab
* penser à "export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket" dans le ~/.vnc/xstartup
* trucs d'administrations
* apt-get install python-pip # pip nous servira à installer du python
* apt-get install systemd-gui # pour suivre les lancements de programme