Setting up your new electron account
This explains how to set up your account when you first log onto electron.
Creating and viewing directories
When you first log onto electron you will be in your home directory (/home/USERNAME/). This is the directory for all of your things on electron. First, make a number of folders in your home directory by running:
mkdir bin lib include xml src
You should be able to see these folders by typing
Setting your path
You need to tell linux to look in these directories for software. To do this, 4 lines must be added to the end of your
.bash_rc. The easiest thing to do is simply copy a .bash_rc from a working user. For instance:
cp /home/jot/.bashrc .
Now if you type
echo $PATH you should see /home/USERNAME/bin at the end.
Checking out the lab tree
The lab uses a program called subversion to store the lab software. It is kind of like a wiki in that it allows many users to contribute to a central codebase and a revision history is stored. This way everyone in the lab gets the same bundle of software. First, go to your src directory (
cd src). Then, run:
svn co svn+ssh://electron.mit.edu/var/lib/svn/lab
This tells subversion (svn) to checkout (co) a copy of the lab tree using ssh (svn_ssh) from its location on electron.
There are a lot of programs in the lab tree, so expect it to take a few moments to copy. When it’s done,
cd lab and
ls to take a look at what you’ve gotten. You’ll see a few directories with peoples names.
These correspond to applications that are specific to that particular person’s experiment or preferences. 2
There’s also a subdirectory called “lab”. This is where all of the libraries and programs that are common
enough that everyone probably wants them live.
Go to "src/lab/lab/trunk." This is where all of the shared lab code is.