Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install netcat openssl libpcre3 dnsmasq procps perl
- sudo apt-get install postgresql postgresql-contrib
- sudo -i -u postgres
- postgres=# CREATE USER kong; CREATE DATABASE kong OWNER kong;
- postgres=# ALTER USER kong WITH password 'kong';
- sudo dpkg -i kong-0.9.7.xenial_all.deb
- sudo echo -e 'pg_user = kong\npg_password = kong\npg_database = kong' > /etc/kong.conf
- kong start -vv
- sudo apt-get install npm
- sudo npm install -g n@latest
- sudo n stable
- # install kong dashboard
- sudo npm install -g kong-dashboard
- # Start Kong Dashboard
- kong-dashboard start
- # To start Kong Dashboard on a custom port
- kong-dashboard start -p [port]
- # To start Kong Dashboard with basic auth
- kong-dashboard start -a user=password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement