Archived
1
0

remove --createdb and upgrade go version

--createdb doesn't always work for some reason, so prefer the `createdb srnd` command instead. Upgrade to go 1.7.3 because, as far as I know, SRNDv2 compiles on this version.
This commit is contained in:
wzeth 2016-10-20 12:51:06 -04:00 committed by GitHub
parent 2727fe9dff
commit ba7140053a

View File

@ -10,7 +10,7 @@ libav-tools build-essential tcl8.5 postgresql postgresql-contrib
##Configure postgresql ##Configure postgresql
``` ```
su - postgres -c "createuser --pwprompt --createdb --encrypted srnd" su - postgres -c "createuser --pwprompt --encrypted srnd"
su - postgres -c "createdb srnd" su - postgres -c "createdb srnd"
``` ```
Don't forget the password you make for the srnd user, you will need it for configuration. Don't forget the password you make for the srnd user, you will need it for configuration.
@ -20,8 +20,8 @@ Download the golang tarball, extract it to `/usr/local`, and add it to the globa
``` ```
cd /opt cd /opt
wget https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz wget https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz
tar -C /usr/local/ -xvzf go1.6.2.linux-amd64.tar.gz tar -C /usr/local/ -xvzf go1.7.3.linux-amd64.tar.gz
echo 'export PATH="$PATH:/usr/local/go/bin"' >> /etc/profile echo 'export PATH="$PATH:/usr/local/go/bin"' >> /etc/profile
``` ```