<?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>Servers Archives - SideCode</title>
	<atom:link href="https://sidecode.io/dev-blog-category/servers/feed/" rel="self" type="application/rss+xml" />
	<link>https://sidecode.io/dev-blog-category/servers/</link>
	<description>Web Development &#38; IT Consulting Company</description>
	<lastBuildDate>Thu, 14 May 2020 09:17:30 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://sidecode.io/wp-content/uploads/logo_icon-150x150.png</url>
	<title>Servers Archives - SideCode</title>
	<link>https://sidecode.io/dev-blog-category/servers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Installing Composer Globally on CentOS 7</title>
		<link>https://sidecode.io/dev-blog/installing-composer-globally-on-centos-7/</link>
		
		<dc:creator><![CDATA[jhonny]]></dc:creator>
		<pubDate>Sun, 03 Sep 2017 10:16:55 +0000</pubDate>
				<guid isPermaLink="false">https://sidecode.io/?post_type=blog&#038;p=1162</guid>

					<description><![CDATA[<p># Installing Composer Globally on CentOS 7 First you need to make sure your system is up-do-date, for that you need to run yum -y update Download and install Composer by executing the following command: curl -sS https://getcomposer.org/installer &#124; php Once the process completes, you can make the ‘composer.phar’ file executable by running the ...</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/installing-composer-globally-on-centos-7/">Installing Composer Globally on CentOS 7</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h3><a href="“#”"># </a>Installing Composer Globally on CentOS 7</h3>
<p>First you need to make sure your system is up-do-date, for that you need to run</p>
<pre>yum -y update
</pre>
<p>Download and install Composer by executing the following command:</p>
<pre>curl -sS https://getcomposer.org/installer | php
</pre>
<p>Once the process completes, you can make the ‘composer.phar’ file executable by running the following command:</p>
<pre>chmod +x composer.phar
</pre>
<p>Now use the following commands to make composer available globally for all users in your system, which can be used for all php applications on that system:</p>
<pre>mv composer.phar /usr/local/bin/composer
</pre>
<p>You can also check the version of composer by running bellow command:</p>
<pre>composer -V
</pre>
<p>And you are ready to go.</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/installing-composer-globally-on-centos-7/">Installing Composer Globally on CentOS 7</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Block IP Manually from Fail2Ban Plesk server</title>
		<link>https://sidecode.io/dev-blog/block-ip-manually-fail2ban/</link>
		
		<dc:creator><![CDATA[jhonny]]></dc:creator>
		<pubDate>Tue, 29 Aug 2017 11:43:04 +0000</pubDate>
				<category><![CDATA[git]]></category>
		<guid isPermaLink="false">https://sidecode.io/?post_type=blog&#038;p=1138</guid>

					<description><![CDATA[<p>While using Fail2Ban under a Plesk handled server, you have a GUI to view the current Banned IP&#8217;s, and also &#8220;whitelist&#8221; IP&#8217;s (move to trusted IP&#8217;s), But you don&#8217;t have the option to manually add an IP to the Blacklist, and permanently block a specific IP. To do so, SSH to your terminal as ...</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/block-ip-manually-fail2ban/">Block IP Manually from Fail2Ban Plesk server</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>While using Fail2Ban under a Plesk handled server, you have a GUI to view the current Banned IP&#8217;s, and also &#8220;whitelist&#8221; IP&#8217;s (move to trusted IP&#8217;s), But you don&#8217;t have the option to manually add an IP to the Blacklist, and permanently block a specific IP.</p>
<p>To do so, SSH to your terminal as root.</p>
<p>To see all the Fail2Ban Blacklist IP&#8217;s<br />
run (as root):</p>
<pre>sudo iptables -nL</pre>
<p>To manually block an IP</p>
<p>Run:</p>
<pre>sudo fail2ban-client set &lt;JAILNAME&gt; banip &lt;IP ADDRESS&gt;

</pre>
<p>Where:</p>
<p>&lt;JAILNAME&gt; &#8211; Is the Jail name.</p>
<p>&lt;IP ADDRESS&gt; &#8211; Is the ip address you want to ban.</p>
<p>&nbsp;</p>
<p>To see your Jail&#8217;s run:</p>
<pre>fail2ban-client status</pre>
<p>To see the list of Banned IP&#8217;s Run:</p>
<pre>iptables -L -n</pre>
<p>In Plesk the common Jail to use is &#8220;recidive&#8221;</p>
<p>So the command will look like:</p>
<pre>sudo fail2ban-client set recidive banip &lt;IP_ADDRESS&gt;</pre>
<p>Be careful not to ban your own IP 🙂</p>
<p>If you do, just switch to your phone network (open an HotSpot) and whitelist your IP (add to Trusted IP&#8217;s).</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/block-ip-manually-fail2ban/">Block IP Manually from Fail2Ban Plesk server</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Bitbucket &#8211; Setup Git on a Remote Server For an existing Repo</title>
		<link>https://sidecode.io/dev-blog/bitbucket-setup-git-on-a-remote-server-for-an-existing-repo/</link>
		
		<dc:creator><![CDATA[jhonny]]></dc:creator>
		<pubDate>Wed, 12 Apr 2017 09:59:03 +0000</pubDate>
				<guid isPermaLink="false">https://sidecode.io/?post_type=blog&#038;p=1146</guid>

					<description><![CDATA[<p>Step 1: Switch to your repository&#8217;s directory cd /path/to/your/repo Step 2: Connect your existing repository to Bitbucket git remote add origin https://PATH_TO_YOUR_REPO git push -u origin master</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/bitbucket-setup-git-on-a-remote-server-for-an-existing-repo/">Bitbucket &#8211; Setup Git on a Remote Server For an existing Repo</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Step 1: Switch to your repository&#8217;s directory</p>
<pre>cd /path/to/your/repo
</pre>
<p>Step 2: Connect your existing repository to Bitbucket</p>
<pre>git remote add origin https://PATH_TO_YOUR_REPO</pre>
<pre>git push -u origin master</pre>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/bitbucket-setup-git-on-a-remote-server-for-an-existing-repo/">Bitbucket &#8211; Setup Git on a Remote Server For an existing Repo</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Setting Git on a Production Server</title>
		<link>https://sidecode.io/dev-blog/setting-git-on-a-production-server/</link>
		
		<dc:creator><![CDATA[jhonny]]></dc:creator>
		<pubDate>Sat, 25 Mar 2017 09:57:42 +0000</pubDate>
				<guid isPermaLink="false">https://sidecode.io/?post_type=blog&#038;p=1145</guid>

					<description><![CDATA[<p>To set your git repo on your production server. go tho the root directory of the server (i.e. public_html or httpdocs etc.) then run: git init run (to connect your server with the cloud repo) git remote add origin https://PATH_TO_YOUR_REPO Then if you want your production server to always pull from the remote origin ...</p>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/setting-git-on-a-production-server/">Setting Git on a Production Server</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>To set your git repo on your production server.<br />
go tho the root directory of the server (i.e. public_html or httpdocs etc.)<br />
then run:</p>
<pre>git init</pre>
<p>run (to connect your server with the cloud repo)</p>
<pre>git remote add origin https://PATH_TO_YOUR_REPO
</pre>
<p>Then if you want your production server to always pull from the remote origin (so you will be able to run git pull instead of git pull origin master)<br />
You need to add this to your /.git/cofig, you can do this like this:</p>
<pre> git config branch.master.remote origin
 git config branch.master.merge refs/heads/master
</pre>
<p>Now you can run git pull, and it will automatically pull from your master branch.</p>
<p>&nbsp;</p>
<p>If you also git to remember your password (so you won&#8217;t need to type it with every &#8220;git pull&#8221;)</p>
<p>enable credentials cache: (make sure you have git version &gt; 1.7.12.1, which you probably have).</p>
<pre class="prettyprint prettyprinted"><span class="pln">git config </span><span class="pun">--</span><span class="kwd">global</span><span class="pln"> credential</span><span class="pun">.</span><span class="pln">helper cache</span></pre>
<p>The post <a rel="nofollow" href="https://sidecode.io/dev-blog/setting-git-on-a-production-server/">Setting Git on a Production Server</a> appeared first on <a rel="nofollow" href="https://sidecode.io">SideCode</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Object Caching 0/152 objects using disk
Page Caching using disk: enhanced 
Database Caching 4/79 queries in 0.222 seconds using disk

Served from: sidecode.io @ 2026-07-10 12:49:28 by W3 Total Cache
-->