-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.txt
More file actions
35 lines (30 loc) · 1.08 KB
/
commands.txt
File metadata and controls
35 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Installing ZeroNet for Raspberry Pi
# Pre reqs for running ZN
sudo apt-get install python-dev python-pip
sudo pip install gevent --upgrade
sudo pip install msgpack-python --upgrade
# Pre req for Tor
sudo apt-get install libevent-dev
# Install Tor
wget https://www.torproject.org/dist/tor-0.3.1.9.tar.gz
tar -zxvf tor-0.3.1.9.tar.gz
cd tor-0.3.1.9
./configure #Checks pre reqs for Tor
make
sudo make install
# Install ZN
wget https://github.com/HelloZeroNet/ZeroNet/archive/master.tar.gz
tar -xzvf master.tar.gz
cd ZeroNet-master
# Run Tor and ZN -- Tor doesn't work yet... need to do something -- might have to make the file, so run "sudo vim /usr/local/etc/tor/torrc" and "chmod 777 torrc"
screen
#/etc/init.d/tor restart #not installed in /etc/init.d if used used above Tor installation method
tor
# Press ctrl+A then D to detach from screen
screen
python zeronet.py --ui_ip "*"
# You don't need this block if you already have /etc/init.d/tor that exists
# vim /etc/rc.local
# Add this command:
# /home/pi/ZeroNet-master/python zeronet.py --ui_ip "*" &
# The ampersand makes it run in the background