2016-06-15 10:33:10 +00:00
#How to install nntpchan on Debian 8.5 Jessie
2016-06-15 10:19:43 +00:00
2016-06-15 10:33:10 +00:00
Install the initial dependencies:
2016-06-15 10:30:51 +00:00
2016-06-15 10:19:43 +00:00
```
2016-10-20 12:44:13 -04:00
apt-get -y --no-install-recommends install imagemagick libsodium-dev sox git ca-certificates \
libav-tools build-essential tcl8.5 postgresql postgresql-contrib
2016-06-15 10:19:43 +00:00
```
2016-10-20 12:44:13 -04:00
##Configure postgresql
2016-06-15 10:19:43 +00:00
```
2016-10-20 12:51:06 -04:00
su - postgres -c "createuser --pwprompt --encrypted srnd"
2016-10-20 12:44:13 -04:00
su - postgres -c "createdb srnd"
2016-06-15 10:19:43 +00:00
```
2016-10-20 12:44:13 -04:00
Don't forget the password you make for the srnd user, you will need it for configuration.
2016-06-15 10:19:43 +00:00
## Install golang
2016-06-15 10:33:10 +00:00
Download the golang tarball, extract it to `/usr/local` , and add it to the global profile:
2016-06-15 10:19:43 +00:00
```
cd /opt
2016-10-20 12:51:06 -04:00
wget https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
tar -C /usr/local/ -xvzf go1.7.3.linux-amd64.tar.gz
2016-06-15 10:19:43 +00:00
echo 'export PATH="$PATH:/usr/local/go/bin"' >> /etc/profile
```
Your `PATH` is set at login, so log out and back in before proceeding.
## Install nntpchan
```
cd /opt
git clone https://github.com/majestrate/nntpchan.git
cd nntpchan
./build.sh
```
2016-06-15 10:30:51 +00:00
Now you can proceed with [setting up NNTPChan ](setting-up.md ). When you get to the "set paths to external programs" step, you should change the ffmpeg path to `/usr/bin/avconv` .
2016-06-15 10:19:43 +00:00
2016-06-15 10:30:51 +00:00
Run `./srndv2 setup` and follow the instructions [here ](setting-up.md ).