<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>installationguide Archives - Turbolab Technologies</title>
	<atom:link href="https://turbolab.in/tag/installationguide/feed/" rel="self" type="application/rss+xml" />
	<link>https://turbolab.in/tag/installationguide/</link>
	<description>Big Data and News Analysis Startup in Kochi</description>
	<lastBuildDate>Sat, 29 Sep 2018 08:01:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://i0.wp.com/turbolab.in/wp-content/uploads/2018/03/turbo_black_trans-space.png?fit=32%2C32&#038;ssl=1</url>
	<title>installationguide Archives - Turbolab Technologies</title>
	<link>https://turbolab.in/tag/installationguide/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">98237731</site>	<item>
		<title>Kong API Gateway Installation Guide for beginners</title>
		<link>https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/</link>
					<comments>https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/#respond</comments>
		
		<dc:creator><![CDATA[Vasista Reddy]]></dc:creator>
		<pubDate>Wed, 12 Sep 2018 06:55:22 +0000</pubDate>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[apigateway]]></category>
		<category><![CDATA[installationguide]]></category>
		<category><![CDATA[kong]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://turbolab.in/?p=372</guid>

					<description><![CDATA[<p>[et_pb_section admin_label=&#8221;section&#8221;] [et_pb_row admin_label=&#8221;row&#8221;] [et_pb_column type=&#8221;4_4&#8243;] [et_pb_text admin_label=&#8221;Text&#8221;] Kong API Gateway Installation Guide for beginners In this post, we will discuss about the uses of API Gateways and the installation of open source KONG API Gateway. API Gateways provides security and control over the access by sitting in-front of any number of API services. KONG, [&#8230;]</p>
<p>The post <a href="https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/">Kong API Gateway Installation Guide for beginners</a> appeared first on <a href="https://turbolab.in">Turbolab Technologies</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>[et_pb_section admin_label=&#8221;section&#8221;]<br />
		[et_pb_row admin_label=&#8221;row&#8221;]<br />
			[et_pb_column type=&#8221;4_4&#8243;]<br />
				[et_pb_text admin_label=&#8221;Text&#8221;]</p>
<section>
<div>
<div>
<h3>Kong API Gateway Installation Guide for beginners</h3>
<p>In this post, we will discuss about the uses of API Gateways and the installation of open source KONG API Gateway.</p>
<p>API Gateways provides security and control over the access by sitting in-front of any number of API services. <a href="https://konghq.com/">KONG</a>, <a href="https://tyk.io/">Tyk</a>, <a href="https://apiumbrella.io/">API Umbrella</a>, <a href="https://www.getambassador.io/">Ambassador</a>, <a href="https://gravitee.io/">Gravitee.io</a> etc., are some of the API Gateways currently available in the market. These Gateways provides services like Authentication, rate-limiting, analysis, logging etc., to your API endpoints.</p>
<p><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="376" data-permalink="https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/api_gateway1/" data-orig-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?fit=800%2C600&amp;ssl=1" data-orig-size="800,600" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="api_gateway1" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?fit=800%2C600&amp;ssl=1" class="size-full wp-image-376 aligncenter" src="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?resize=800%2C600&#038;ssl=1" alt="" width="800" height="600" srcset="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?w=800&amp;ssl=1 800w, https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/api_gateway1.jpg?resize=510%2C382&amp;ssl=1 510w" sizes="(max-width: 800px) 100vw, 800px" /></p>
<p class="graf graf--p" style="text-align: center">  Flowchart diagram to illustrate the API Gateway usage</p>
<blockquote><p>Why choosing <strong>KONG</strong> over other gateways? Because, it is most straightforward of the choices above and the community is very much alive.</p></blockquote>
<p>The latest version of the Kong 0.14.x comes with the support of various platforms. <strong>click here to </strong><a href="https://konghq.com/install/"><strong>choose</strong></a><strong>. </strong>We proceed further with Installing Kong on Ubuntu platform.</p>
<h3><strong>Installing kong on Ubuntu</strong></h3>
<p><strong><em>Installation of deb file</em></strong></p>
<ol>
<li>download the debian file <a href="https://bintray.com/kong/kong-community-edition-deb/download_file?file_path=dists/kong-community-edition-0.14.1.zesty.all.deb" target="_blank" rel="noopener"><strong>here</strong></a>.</li>
<li>After downloading at the file location, do the following.</li>
</ol>
<p><code>$ sudo apt-get update<br />
$ sudo apt-get install openssl libpcre3 procps perl<br />
$ sudo dpkg -i kong-community-edition-0.14.1.zesty.all.deb</code></p>
<p><strong><em>Database setup</em></strong></p>
<p>Now, we have to setup database. Kong supports <strong>PostgreSQL</strong> and <strong>cassandra</strong></p>
<p>Lets setup <a href="https://www.digitalocean.com/community/tutorials/how-to-install-and-use-postgresql-on-ubuntu-16-04"><strong>PostgreSQL </strong></a>for KONG with user, database name and its password.</p>
<p><code>$ sudo apt-get install postgresql postgresql-contrib</code></p>
<p>Switch over to the <code>postgres</code> account on your server which created at the time of installation procedure by typing:</p>
<p><code>$ sudo -i -u postgres</code></p>
<p>Type <code>psql</code> to access a Postgres prompt and <code>\q</code> to exit the prompt.</p>
<p><strong><em>Setup USER, DATABASE with password</em></strong></p>
<p><code>postgres=# CREATE USER kong; CREATE DATABASE kong OWNER kong;</code></p>
<p><code>postgres=# ALTER USER kong WITH PASSWORD '<strong>password you set</strong>';</code></p>
<p><strong><em>Update Kong configuration and run migrations</em></strong></p>
<p>Generally the Kong configuration path will be at <code>/etc/kong/kong.conf.default</code></p>
<p><code>$ sudo cp /etc/kong/kong.conf.default /etc/kong/kong.conf</code></p>
<p>run the migrations job before the start</p>
<p><code>$ sudo kong migrations up -c /etc/kong/kong.conf<br />
Error: missing password, required for connect<br />
Run with — v (verbose) or — vv (debug) for more details</code></p>
<p>The above error might encounter if you don&#8217;t update the Kong configuration file. For this, you have to do the following steps.</p>
<p><code>$ sudo nano /etc/kong/kong.conf<br />
</code>and paste the below lines<code><br />
pg_user = kong<br />
pg_password = <strong>password you set</strong><br />
pg_database = kong</code></p>
<p><strong><em>Running Kong migrations</em></strong></p>
<p><code>$ sudo kong migrations up -c /etc/kong/kong.conf</code></p>
<p>If this throws an error <code>Error: [postgres error] could not retrieve current migrations: [postgres error] ERROR: function to_regclass(unknown) does not exist (8)</code> , check the <strong>PostgreSQL</strong> version here.</p>
<p><code>$ sudo service postgresql status</code></p>
<p>Kong requires <strong>PostgreSQL 9.5</strong> or later. <a href="https://medium.com/@tk512/upgrading-postgresql-from-9-4-to-9-5-on-ubuntu-14-04-lts-dfd93773d4a5" target="_blank" rel="noopener">Upgrade the older version here</a>.</p>
<p>If you upgrade to PostgreSQL 9.5 or later, then you don&#8217;t have to setup the database, user and password. If you install, you should setup again.</p>
<p><strong><em>Start Kong</em></strong></p>
<p><code>$ sudo kong start -c /etc/kong/kong.conf</code></p>
<p><strong><em>Stop Kong</em></strong></p>
<p><code>$ sudo kong stop</code> <strong>#to stop the Kong</strong></p>
<p><strong><em>Final step to make sure the installation and setup process succeeded is:</em></strong></p>
<p><code>$ curl -i <a href="https://medium.com/r/?url=http%3A%2F%2F127.0.0.1%3A8001%2F" target="_blank" rel="nofollow noopener">http://localhost:8001/</a> </code>or<code> <a href="https://medium.com/r/?url=http%3A%2F%2F127.0.0.1%3A8001%2F" target="_blank" rel="nofollow noopener">http://localhost:8001/</a> </code>in the browser</p>
<p><img data-recalc-dims="1" decoding="async" data-attachment-id="374" data-permalink="https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/1vsfualchf9hrjv88k0surw/" data-orig-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?fit=418%2C755&amp;ssl=1" data-orig-size="418,755" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="1*VSfuAlCHF9HRjV88k0SuRw" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?fit=166%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?fit=418%2C755&amp;ssl=1" class="wp-image-374 size-full aligncenter" src="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?resize=418%2C755&#038;ssl=1" alt="" width="418" height="755" srcset="https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?w=418&amp;ssl=1 418w, https://i0.wp.com/turbolab.in/wp-content/uploads/2018/09/1VSfuAlCHF9HRjV88k0SuRw.png?resize=166%2C300&amp;ssl=1 166w" sizes="(max-width: 418px) 100vw, 418px" /></p>
<p style="text-align: center">   Welcome to Kong</p>
<p>That’s the end of Kong setup.</p>
</div>
</div>
</section>
<p>				[/et_pb_text]<br />
			[/et_pb_column]<br />
		[/et_pb_row]<br />
	[/et_pb_section]</p>
<p>The post <a href="https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/">Kong API Gateway Installation Guide for beginners</a> appeared first on <a href="https://turbolab.in">Turbolab Technologies</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://turbolab.in/kong-api-gateway-installation-guide-for-beginners/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">372</post-id>	</item>
	</channel>
</rss>
