Ubuntu10.04 + TinyOS_2.1.1安装和配置

Before anything started, make sure ubuntu 10.04 is installed correctly, including the configuration of apt sources.(/etc/apt/source.list)

1. http://docs.tinyos.net/tinywiki/index.php/Main_Page#Installing_TinyOS_2.1.1

2.Next go to: http://docs.tinyos.net/tinywiki/index.php/Getting_started

3.Find "Automatic installation for debian systems using the TinyOS debian repository", and click into it.That is the offically supported methods to install tinyos 2.1.1 using debian systems(including Ubuntu, of course)

4.And now do as "http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Two-step_install_on_your_host_OS_with_Debian_packages" taught  to do.

Note  this sentence

deb http://hinrg.cs.jhu.edu/tinyos karmic main

karmic is ubuntu9.10, you  need to change it to 

deb http://hinrg.cs.jhu.edu/tinyos lucid main
when you use a ubuntu 10.04. 


It is also recommeded that you add this to the end of /etc/apt/source.list as the line above.

deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main

5.After all the four steps above, you could get a complete tinyos 2.1.1 environment with blip1.0.

6 check environment

sudo tos-intall-jni
Normally, you would see two warnings. The former is about java, the latter is about graph or sth. Just ignore them.

printenv MAKERULES
The printings MUST match $TOSROOT/support/make/Makerules.

The following steps are optional. it is recommended that read them when you need. 

7. Provide Java Native interfaces

sudo tos-intall-jni

你可能感兴趣的:(WSN,ubuntu,debian,methods,graph,java,go)