$ ssh root@<IP_GALILEO_WITHOUT_REPEATED_ZEROS>
$ passwd
$ useradd -c <LOGIN_NEW_USER> -s /bin/bash -m <LOGIN_NEW_USER>
$ passwd <LOGIN_NEW_USER>
$ exit
$ ssh <LOGIN_NEW_USER>@<IP_GALILEO_WITHOUT_REPEATED_ZEROS>
$ echo "export PATH=.:$PATH" >> .profile
$ exit
-
Download it from here.
-
Get it into your machine (inside computer/opt).
$ sudo su
$ cd ~/Downloads
$ cp iss-iot-linux_03-24-16.tar.bz2 /opt
$ cd /opt
$ tar -xjf iss-iot-linux_03-24-16.tar.bz2
$ rm iss-iot-linux_03-24-16.tar.bz2
- Adjust the permissions of the obtained files
$ chown -R root.root iss-iot-linux
$ chmod -R go-w iss-iot-linux
$ chmod -R -s iss-iot-linux
- Create links
$ ln -s iss-iot-linux iot-devkit
$ cd iot-devkit
$ ln -s devkit-x86 1.7.2
$ INSTALL_DIR=`pwd` sdk-relocator/relocate_sdk.sh
For being able to compile programs in your host machine to execute on Galileo, you need to run the script iss_setup everytime a new console is opened:
$ source iss_setup.sh
Since the cross compiler has been previously set on your the computer, if you try to use the normal compiler it won't work. For this purpose, just type on the terminal the following command:
$ export CROSS_COMPILE=
$ ssh <USERNAME_GALILEO>@<IP_GALILEO_WITHOUT_REPEATED_ZEROS>
$ scp <FILE_IN_HOST> <USERNAME_GALILEO>@<IP_GALILEO_WITHOUT_REPEATED_ZEROS>: