User:Meeg: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 14: Line 14:
su -
su -
wget http://web.mit.edu/meeg/Public/cerebro_setup.sh
wget http://web.mit.edu/meeg/Public/cerebro_setup.sh
bash cerebro_setup.sh
bash setup_cerebro.sh
</pre>
</pre>
Reboot and you should be set.


Note that if you do this, cerebroui will be in your path, while install.sh puts it in your home directory; therefore, while you would use "./cerebroui" if you used install.sh, you need to use "cerebroui" if you used the package.
Note that if you do this, cerebroui will be in your path, while install.sh puts it in your home directory; therefore, while you would use "./cerebroui" if you used install.sh, you need to use "cerebroui" if you used the package.

Revision as of 14:53, 13 July 2008

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

I have a modified version of install.sh (cut out the actions redundant with the package, added the git stuff) that you can use to do this. Run the following commands on a fresh joyride install:

su -
wget http://web.mit.edu/meeg/Public/cerebro_setup.sh
bash setup_cerebro.sh

Reboot and you should be set.

Note that if you do this, cerebroui will be in your path, while install.sh puts it in your home directory; therefore, while you would use "./cerebroui" if you used install.sh, you need to use "cerebroui" if you used the package.