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
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Security]]
[[Category:SchoolServer]]
[[Category:Security, activation and deployability]]
<noinclude>
oatslite is a server implementation of the [[Theft deterrence protocol]].
oatslite is a server implementation of the [[Theft deterrence protocol]].


Line 5: Line 9:
== Installation ==
== Installation ==


The current version is targetted at Fedora 16 hosts.
The current version is targetted at Fedora 18 hosts.


Create /etc/yum.repos.d/inventario.repo with the following contents:
Create /etc/yum.repos.d/inventario.repo with the following contents:
Line 11: Line 15:
[inventario]
[inventario]
name=Inventario
name=Inventario
baseurl=http://dev.laptop.org/~dsd/inventario-repo
baseurl=http://dev.laptop.org/~dsd/inventario-repo/$releasever
enabled=1
enabled=1
gpgcheck=0
gpgcheck=0
Line 22: Line 26:


# 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
Line 30: Line 33:
# systemctl enable oatslite.service
# systemctl enable oatslite.service
# systemctl start oatslite.service
# systemctl start oatslite.service

== Building ==

Alternatively, it can be built from source. Tested by James Cameron on Fedora 17 builds in the OLPC OS 12.1.0 series.


== Development ==
== Development ==
Line 38: Line 45:


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

Latest revision as of 22:39, 31 January 2013


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 18 hosts.

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

[inventario]
name=Inventario  
baseurl=http://dev.laptop.org/~dsd/inventario-repo/$releasever
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

Building

Alternatively, it can be built from source. Tested by James Cameron on Fedora 17 builds in the OLPC OS 12.1.0 series.

Development

To package:

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