Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Production Test Suite
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Production Test Suite
Commits
93690ffe
Commit
93690ffe
authored
Oct 25, 2011
by
Matthieu Cattin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a note explaining how to setup a test PC.
parent
ee144099
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
58 additions
and
0 deletions
+58
-0
ubuntu_setup_note.txt
test/fmcadc100m14b4cha/doc/ubuntu_setup_note.txt
+58
-0
No files found.
test/fmcadc100m14b4cha/doc/ubuntu_setup_note.txt
0 → 100644
View file @
93690ffe
This note explains how to setup an Ubuntu PC for FmcAdc100M14b4cha production
test suite.
Ubuntu version must be 11.04
The following packages must be installed:
git
python-scipy
python-matplotlib
Copy PTS git repository:
cd ~
git clone git://ohwr.org/misc/pts.git
Pyro4 must be installed:
cd ~/pts/test/fmcadc100m14b4cha/python/
tar -xf Pyro4-4.10.tar.gz
cd Pyro4-4.10
chmod +x setup.py
sudo python setup.py install
Create the following file:
sudo touch /usr/lib/python2.7/dist-packages/larz/__init__.py
Compile gnurabbit stuff:
cd ~/pts/gnurabbit
make
Install rawrabbit driver (so it loads at startup):
cd ~/pts/gnurabbit/kernel
make install
Create a script file to launch the test program:
cd ~
touch run_pts.sh
chmod +x run_pts.sh
Edit the script file as follow:
#!/bin/sh
echo " "
echo " "
echo "********************************************************************************"
echo "* FmcAdc100M14b4cha Test program *"
echo "********************************************************************************"
echo " "
cd ~/pts && sudo ./fmcadc100m14b4cha.sh
Create an alias to be able to launch the test program by typing "test".
Add the fllowing to ~/.bashrc
alias test='~/run_pts.sh'
Define bash as the default shell:
chsh -s /bin/bash <username>
In "System > Preferences > Startup Applications" add the following to
automatically open a terminal at startup:
Command: gnome-terminal
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment