Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
projets:chaine [2017/03/29 17:03] – [Expériences] gepeto | projets:chaine [2024/02/09 16:56] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 29: | Ligne 29: | ||
==== Gestion de serveur/ | ==== Gestion de serveur/ | ||
* [[https:// | * [[https:// | ||
+ | * https:// | ||
* [[http:// | * [[http:// | ||
* topologie réseau | * topologie réseau | ||
Ligne 85: | Ligne 86: | ||
< | < | ||
# partie alsa base | # partie alsa base | ||
- | echo "pcm.!default { | + | cat <<EOF > / |
- | type hw | + | pcm.!default { type hw ; card 0 } |
- | card 0 | + | ctl.!default { type hw ; card 0 } |
- | } | + | EOF |
- | ctl.!default { | + | |
- | type hw | + | apt-get purge whoopsie libwhoopsie0 |
- | card 0 | + | vi /etc/dbus-1/system.d/ |
- | }" > /home/nanopi/.asoundrc | + | |
- | # partie dbus au cas ou jackd | + | # partie dbus au cas ou jackd et user pi |
+ | echo ' | ||
echo ' | echo ' | ||
< | < | ||
Ligne 104: | Ligne 106: | ||
< | < | ||
</ | </ | ||
- | <policy user="nanopi"> | + | <policy user="pi"> |
< | < | ||
< | < | ||
Ligne 112: | Ligne 114: | ||
'>/ | '>/ | ||
# /etc/fstab | # /etc/fstab | ||
- | echo " | + | echo " |
</ | </ | ||
+ | Modifs | ||
+ | * cf https:// | ||
+ | * https:// | ||
+ | |||
+ | < | ||
+ | |||
+ | echo "# | ||
+ | echo ' | ||
+ | echo ' | ||
+ | |||
+ | cat <<EOF >/ | ||
+ | #!/bin/bash | ||
+ | |||
+ | #Reduce Audio thread latency | ||
+ | #chrt -f -p 43 $(pidof ksoftirqd/ | ||
+ | #chrt -f -p 43 $(pidof ksoftirqd/ | ||
+ | #chrt -f -p 43 $(pidof ksoftirqd/ | ||
+ | #chrt -f -p 43 $(pidof ksoftirqd/ | ||
+ | #Reduce operating system latency | ||
+ | echo noop > / | ||
+ | echo 1000000 > / | ||
+ | echo 100000 > / | ||
+ | echo 25000 > / | ||
+ | |||
+ | sleep 5 | ||
+ | #chrt -f -p 27 $(LE_PID_DE_LAPPLI_AUDIO) | ||
+ | |||
+ | exit 0 | ||
+ | EOF | ||
+ | </ | ||
+ | qjackctl et donc jackd fonctionne bien avec une carte son USB | ||
+ | / | ||
+ | Il semble y avoir un probleme avec alsa sur la carte interne, que pulsaudio n'a pas... Donc dans les cas ou on utlise jackd et puredata : utiliser une carte USB ! | ||
+ | |||
+ | Sinon pour une lecture simple pulsaudio fait l' | ||
+ | |||
=== Partie serveur coté Internet === | === Partie serveur coté Internet === | ||
# gestion de serveur yunohost | # gestion de serveur yunohost | ||
Ligne 128: | Ligne 166: | ||
=== Partie serveur coté local === | === Partie serveur coté local === | ||
- | Installation d'un bureau interface X11 fluxbox | + | Installation d'un bureau interface X11 fluxbox |
- | apt-get install fluxbox pcmanfm lxterminal xpad | + | < |
- | Installation d'un serveur X reseau xtightvnc-server | + | apt install |
- | apt-get install tightvncserver xfonts-base x11-xserver-utils | + | apt install pcmanfm xpad # options |
+ | </ | ||
+ | Pensez en étant l' | ||
Installation de [[https:// | Installation de [[https:// | ||
cd / | cd / | ||
Ligne 145: | Ligne 186: | ||
su neo -c "cd / | su neo -c "cd / | ||
- | cote hat | + | Si noVNC ne fonctionne pas : une version précédente ok : {{ : |
+ | |||
+ | **cote hat pour les NEO** venant de http:// | ||
git clone https:// | git clone https:// | ||
git clone https:// | git clone https:// | ||
+ | git clone https:// | ||
| | ||
=== Préparation d'un site méthode === | === Préparation d'un site méthode === |