Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
technique:referentiel:chd-stg2-ng [2018/05/12 11:14] admin |
technique:referentiel:chd-stg2-ng [2018/05/12 12:22] admin |
||
---|---|---|---|
Ligne 717: | Ligne 717: | ||
wget -O /var/www/html/etat_reseau/index.html https://priv.chd.sx/api/gen_etat_reseau.php | wget -O /var/www/html/etat_reseau/index.html https://priv.chd.sx/api/gen_etat_reseau.php | ||
</file> | </file> | ||
+ | |||
+ | <code bash> | ||
+ | cd /root | ||
+ | mkdir git | ||
+ | cd git | ||
+ | git clone root@chd.sx:/var/git/chd_gestion | ||
+ | git clone root@chd.sx:/var/git/chd_openwrt | ||
+ | </code> | ||
+ | |||
+ | |||
+ | ===== OpenWRT / LEDE / mise à jour routeur ===== | ||
+ | <code bash> | ||
+ | cd ~/git/chd_openwrt/maj | ||
+ | cp config.default.php config.php | ||
+ | vim config.php | ||
+ | |||
+ | ln -s /root/git/chd_openwrt/build-openwrt.sh /usr/local/bin/ | ||
+ | ln -s /root/git/chd_openwrt/build-openwrt-dev.sh /usr/local/bin/ | ||
+ | |||
+ | chown www-data: /var/cache/build-openwrt* | ||
+ | apt install git-core build-essential libssl-dev libncurses5-dev zlib1g-dev unzip gawk subversion manpages-dev- | ||
+ | </code> | ||
===== TODO ===== | ===== TODO ===== | ||
<code> | <code> | ||
- | reinstall ssh://root@chd.sx/var/git/chd_openwrt.git | + | documenter le contenu de /var/www/html non git'é |
configurer munin/multiping | configurer munin/multiping | ||
netconsole config | netconsole config | ||
- | apt remove --purge isc-dhcp-dhclient isc-dhcp-common | ||
backup borg | backup borg | ||
mailer + mail alert (smartmontools/logcheck ?) | mailer + mail alert (smartmontools/logcheck ?) | ||
</code> | </code> | ||