Access Control AC Node Master: verschil tussen versies
(Nieuwe pagina aangemaakt met '... = Configuratie van de master node. Requisite packages: sudo pkg install git sudo screen python34 python3.4 -m ensure pip pip3.4 install configargparse...') |
|||
Regel 1: | Regel 1: | ||
+ | [[Categorie:Notes]] | ||
... | ... | ||
Versie van 17 okt 2018 om 21:36
...
= Configuratie van de master node.
Requisite packages:
sudo pkg install git sudo screen python34 python3.4 -m ensure pip pip3.4 install configargparse pip3.4 install paho-mqtt pip3.4 install pidfile daemon setproctitle
Installatie:
cd /usr/local git clone https://github.com/MakerSpaceLeiden/AccesSystem.git
Initiele uitrollen configuratie (Not yet given its own UID):
mkdir /usr/local/master # Als root cp acnode.ini /usr/local/etc/master cp sample-keydb.txt /usr/local/etc/master/keydb.txt chown master:master -R /usr/local/etc/master chmod -R go-rwx /usr/local/etc/master cp master.sh /usr/local/etc/rc.d echo master_enable=YES >> /etc/rc.conf
Starten
/usr/local/etc/rc.d/master.sh start