Access Control AC Node Master: verschil tussen versies
Regel 1: | Regel 1: | ||
− | [[Categorie:Notes]][[Categorie:Docu]] | + | [[Category:ACNode]][[Category:RunningTheSpaceDocs]]{{OldPage}}[[Categorie:Notes]][[Categorie:Docu]] |
... | ... | ||
Versie van 27 dec 2018 om 17:22
Sjabloon:OldPage ...
= 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