Oatslite

From OLPC
Revision as of 17:47, 27 January 2012 by 209.124.100.138 (talk) (Created page with 'oatslite is a server implementation of the Theft deterrence protocol. For extensive information, please read the [http://dev.laptop.org/git/users/dsd/oatslite/plain/README R…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

oatslite is a server implementation of the Theft deterrence protocol.

For extensive information, please read the README.

Installation

The current version is targetted at Fedora 16 hosts.

Create /etc/yum.repos.d/inventario.repo with the following contents:

[inventario]
name=Inventario  
baseurl=http://dev.laptop.org/~dsd/inventario-repo  
enabled=1  
gpgcheck=0

Install the package:

# yum install oatslite

Read the README then configure oatslite to your needs:

# cat /usr/share/doc/oatslite-*/README
# mkdir -p /etc/oatslite
# cp /usr/share/doc/oatslite-*/oatslite-sample.cfg /etc/oatslite/oatslite.cfg
# nano /etc/oatslite/oatslite.cfg

Start the service and mark it to be started during boot:

# systemctl enable oatslite.service
# systemctl start oatslite.service

Development

To package:

# git archive --format=tar --prefix oatslite-1.0/ HEAD | bzip2 > ~/rpmbuild/SOURCES/oatslite-1.0.tar.bz2
# rpmbuild -ba oatslite.spec