Create a gist now

Instantly share code, notes, and snippets.

Razor server prerequistes on CentOS 6.4
#### Prerequistes
#### there are known better ways to do these
## Install PostgreSQL
$ yum install postgresql-server
$ chkconfig postgresql on
$ service postgresql initdb
$ su - postgres
> vi /var/lib/pgsql/data/pg_hba.conf
Add line 'host all all 127.0.0.1/32 md5' before all others
> createuser -P -SDR razor
> createdb -O razor razor_dev
> createdb -O razor razor_test
> createdb -O razor razor_prd
## Install libarchive
yum -y install libarchive-devel
## Open up port 8080 in firewall
## - not needed if you run a proxy in front of Razor
$ echo '--port=8080:tcp' >> /etc/sysconfig/system-config-firewall
$ lokkit -q
## Create a razor user
$ yum -y install unzip
$ useradd razor
$ su - razor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment