Oatslite: Difference between revisions

From OLPC
Jump to navigation Jump to search
(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…')
 
No edit summary
Line 22: Line 22:


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

Revision as of 18:02, 27 January 2012

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
# 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