Access Control AC Node Master

Uit MakerSpace Leiden
Ga naar: navigatie, zoeken

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