summaryrefslogtreecommitdiff
path: root/README.md
blob: a7d3b881a998962da959613bd1a515ec91b7432a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# learning from post-edits

# setup
## nanomsg lib
    export LD_LIBRARY_PATH=/fast_scratch/simianer/lfpe/lib/nanomsg-0.5-beta/lib

## ruby
    [see $(pwd)/lib/ruby/gems/nanomsg-0.4.0/ext/extconf.rb]
    gem install nanomsg -i $(pwd)/lib/ruby
    export GEM_PATH=/fast_scratch/simianer/lfpe/lib/ruby/:$GEM_PATH

## iptables
    iptables -A INPUT -i eth0 -p tcp -m multiport --dports 50000:50100 -j ACCEPT

## apache
    ln -s /etc/apache2/sites-available/lfpe /etc/apache2/sites-enabled/020-lfpe

## python
    export PYTHONPATH=/fast_scratch/simianer/lfpe/lib/python:$PYTHONPATH