ICub machines configuration/Archive: Difference between revisions
Jump to navigation
Jump to search
(add link to main page) |
(archive 'use Main server rather than Portugal server' instruction) |
||
Line 1: | Line 1: | ||
''Go back to the [[VisLab machines configuration]] page''. | ''Go back to the [[VisLab machines configuration]] page''. | ||
= Operating system installation = | |||
== Operations after first boot == | |||
* choose Main server (rather than Portugal server, which is not always reliable) as the software repository: | |||
** on desktop machines, System -> Administration -> Synaptic Package Manager -> Settings -> Repositories -> Download from: Main server | |||
** on server machines, remove all the "pt." strings from <code>/etc/apt/sources.list</code> with the following command: <code>sudo sed -i 's/pt.//g' sources.list</code> | |||
= Other operations = | = Other operations = |
Revision as of 14:36, 6 May 2013
Go back to the VisLab machines configuration page.
Operating system installation
Operations after first boot
- choose Main server (rather than Portugal server, which is not always reliable) as the software repository:
- on desktop machines, System -> Administration -> Synaptic Package Manager -> Settings -> Repositories -> Download from: Main server
- on server machines, remove all the "pt." strings from
/etc/apt/sources.list
with the following command:sudo sed -i 's/pt.//g' sources.list
Other operations
Environment variables
- Create a file called ~/.bash_env (used by both interactive and non-interactive sessions, such as commands launched via
yarprun
from another machine) like this one:
export YARP_ROOT=/home/icub/yarp2 export YARP_DIR=$YARP_ROOT/build export ICUB_ROOT=/home/icub/iCub export ICUB_DIR=$ICUB_ROOT/main/build export PATH=$PATH:$YARP_DIR/bin:$ICUB_DIR/bin export ICUB_ROBOTNAME=iCubLisboa01 # only for machines that connect to the real robot export IPOPT_DIR=/home/icub/Ipopt-3.10.0 # only for servers (IK solver) source $YARP_ROOT/scripts/yarp_completion
- Then, before the following line of /etc/bash.bashrc
[ -z "$PS1" ] && return
add this:
# per-user environment variables (non-interactive and interactive mode) source $HOME/.bash_env