User:Meeg: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Installing Cerebro==
==Installing Cerebro==
<!--
===Using Cerebro package===
===Using Cerebro package===
You must have joyride-2130 or newer ("cat /etc/issue" to check).
You must have joyride-2130 or newer ("cat /etc/issue" to check).
Line 14: Line 15:


===Using install.sh===
===Using install.sh===
-->
In a terminal:
In a terminal:
<pre>
<pre>
Line 23: Line 25:
</pre>
</pre>
Reboot.
Reboot.
<!--

"./cerebroui" from your home directory will start the UI.
"./cerebroui" from your home directory will start the UI.


Line 38: Line 40:
> killproc $prog
> killproc $prog
</pre>
</pre>
-->

==Notes==
==Notes==
The Cerebro package in the latest Joyride builds (joyride-2130 or later) is largely equivalent to what you get by manually installing Cerebro from the git repository.
The Cerebro package in the latest Joyride builds (joyride-2130 or later) is largely equivalent to what you get by manually installing Cerebro from the git repository.

Revision as of 13:32, 16 July 2008

Installing Cerebro

In a terminal:

su -
yum -y install git python-setuptools-devel.noarch
git clone git://dev.laptop.org/projects/cerebro
cd cerebro
./install.sh

Reboot.

Notes

The Cerebro package in the latest Joyride builds (joyride-2130 or later) is largely equivalent to what you get by manually installing Cerebro from the git repository.

Version of your installed Cerebro package: "yum info cerebro"

Version in git: in your /root/cerebro folder, "git-log"

Assuming these match, the following things (needed for the study but not for Cerebro functionality) are done by /root/cerebro/install.sh but not by the Cerebro package:

  • Add ypod's ssh key to your authorized_keys
  • Set Cerebro to start at boot
  • Add trackclient.py to your rc.local

setup_cerebro.sh in my public is a script based on install.sh (cut out the actions redundant with the package, added the git stuff) that you can use to do this. Note that if you do this, cerebroui will be in your path, whereas install.sh puts it in your home directory.