<?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>Burm.net &#187; Linux</title>
	<atom:link href="http://burm.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://burm.net</link>
	<description>John Burmeister's Blog</description>
	<lastBuildDate>Tue, 31 Jan 2012 03:31:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing GitLabHQ on Debian</title>
		<link>http://burm.net/2012/01/30/installing-gitlabhq-on-debian/</link>
		<comments>http://burm.net/2012/01/30/installing-gitlabhq-on-debian/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 03:29:03 +0000</pubDate>
		<dc:creator>John Burmeister</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitLabHQ]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://burm.net/?p=286</guid>
		<description><![CDATA[Just a few notes from getting GitLabHQ up and running on Debian. Used the following as a reference, however that is geared toward Ubuntu (and most of it applies) https://github.com/gitlabhq/gitlabhq_install Depending upon your situation you may want to skip some of those steps such as installing ruby (I&#8217;m using RVM) and using apache&#8230; If you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fburm.net%2F2012%2F01%2F30%2Finstalling-gitlabhq-on-debian%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fburm.net%2F2012%2F01%2F30%2Finstalling-gitlabhq-on-debian%2F&amp;source=burmjohn&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Just a few notes from getting GitLabHQ up and running on Debian.</p>
<p>Used the following as a reference, however that is geared toward Ubuntu (and most of it applies) https://github.com/gitlabhq/gitlabhq_install Depending upon your situation you may want to skip some of those steps such as installing ruby (I&#8217;m using RVM) and using apache&#8230;</p>
<p>If you have not done so already, su to root and add apt-get install sudo.</p>
<p>The documentation on that link is assuming you using ubuntu which uses the admin group for sudo access, and by default on debian it the sudo group. You can either edit the /etc/sudoers and add the admin group or just change the first step to the following:</p>
<p>sudo useradd -s /bin/bash -m -G sudo gitlabhq<br />
sudo passwd gitlabhq<br />
Follow the rest of the instructions (ignoring ruby if you have RVM installed)&#8230;</p>
<p>There is one little typo where the guide tells you to edit the gitlab.yml file under &#8220;Configure GitLabHQ&#8221; The correct path is:</p>
<p>~gitlabhq/config/gitlab.yml</p>
<p>In my case I wanted to use MySQL instead of SQLite, so I went ahead and edited the database.yml file to mysql&#8230; Added the mysql2 gem to the Gemfile then ran the following commands:</p>
<p>bundle install &#8211;without development test<br />
bundle exec rake db:setup RAILS_ENV=production<br />
bundle exec rake db:seed_fu RAILS_ENV=production</p>
<p>On my Dev server I&#8217;m running apache with passenger, so I added a new site pointing to the public directory of the gitlabhq user that was created during the process and fired up the url. Everything seems to be working fine, I&#8217;ll update this page as I get to play around a bit. So far it seems solid, comitted my first project and update.</p>
<p>My main reason for installing this was to avoid the costs of using one of the git hosting sites. I couldn&#8217;t see paying for it when I&#8217;d like to create a whole bunch of repositories for testing and side projects, cost wise it just didn&#8217;t make sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://burm.net/2012/01/30/installing-gitlabhq-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XenServer basic security Tips &#8211; How do you secure your XenServer?</title>
		<link>http://burm.net/2012/01/29/xenserver-basic-security-tips-how-do-you-secure-your-xenserver/</link>
		<comments>http://burm.net/2012/01/29/xenserver-basic-security-tips-how-do-you-secure-your-xenserver/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 07:49:05 +0000</pubDate>
		<dc:creator>John Burmeister</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[XenServer]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://burm.net/?p=278</guid>
		<description><![CDATA[Using this post to keep some notes on a few things I did to my XenServer instance,  most of this is just common sense. Disable root login via SSH First things first, make sure you add a user on the Xenserver box.  This is the user you will allow to login via SSH (if you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fburm.net%2F2012%2F01%2F29%2Fxenserver-basic-security-tips-how-do-you-secure-your-xenserver%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fburm.net%2F2012%2F01%2F29%2Fxenserver-basic-security-tips-how-do-you-secure-your-xenserver%2F&amp;source=burmjohn&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Using this post to keep some notes on a few things I did to my XenServer instance,  most of this is just common sense.</p>
<p><strong>Disable root login via SSH</strong></p>
<p>First things first, make sure you add a user on the Xenserver box.  This is the user you will allow to login via SSH (if you have SSH running at all).</p>
<p>Edit the sshd_config, and find the text #PermitRootLogin yes and change it to:</p>
<p>PermitRootLogin no</p>
<p>Right below that add a new line, and replace USERNAME with the username you created.</p>
<p>AllowUsers USERNAME</p>
<p>If you have more then one user that you want to add just put a space between them and add them in succession.  Example:</p>
<p>AllowUsers john harry bob</p>
<p>Then go ahead and restart sshd:</p>
<p>/etc/init.d/sshd restart</p>
<p>Open up a new terminal session and make sure you can login to the server under your new user, and you should be good to go!</p>
<p><strong>Edit the web page that XenServer shows or limit access completely</strong></p>
<p>Xenserver by default serves up a web page that gives your links to download the Xen Center admin console&#8230; The web server also servers up the XAPI that is needed for the admin console to access the server remotely. So you have a few options, edit the index.html page to remove the data on there and serve up a blank page.  Or the better option is to restrict access completely to the XAPI via the hosts file.  And the best option is to toss the Xenserver behind a firewall (hardware or software).  Perhaps I&#8217;ll go into detail on how to do that in a future post, but in short, firewall the entire server and tunnel in via SSH, which would be the most secure avenue. The only downside to restricting access via a firewall or restricting access via the hosts file is that if you are not at home / work / at a PC where you have access to the restrictions in place your, out of luck on getting access to your server.   Now keep in mind, there are alternatives for access (port knocking, ssh via another server or VM, etc)  I could go on forever, but everyones situation is different. With that said, lets go over the first two options.</p>
<p>To prevent XenServer from showing the default index.html page, you can either edit the actual file and change it to your liking. The file is located here:</p>
<p>/opt/xensource/www/index.html</p>
<p>For the second option, you can reference the Citrix support document here for detailed information on modifying the hosts file http://support.citrix.com/article/CTX118504, however below is essentially what you need to do.</p>
<p>First edit the hosts.deny file located here: /etc/hosts.deny and enter in: xapi:ALL &#8211; What this does is restrict every IP from accessing the XAPI.  Second, you&#8217;ll need to edit the hosts.allow file, which takes precedence over the hosts.deny and specify the ip adresses or range of ip addresses that you would like to allow access to the XAPI.  The hosts.allow file is located /etc/hosts.allow</p>
<p>Allow access to a specific ip in the hosts.allow you would put in the following replacing IPADDRESS with the ip you would like to grant access:</p>
<p>xapi:IPADDRESS</p>
<p>Example:</p>
<p>xapi:24.22.12.222</p>
<p>To allow access to a group of ip addresses, for our example, lets use 24.22. &#8211; this would allow any ip address that begins with 24.22. to access the XAPI.</p>
<p>Example:</p>
<p>xapi: 24.22.</p>
<p>If you happen to come across this page, what do you do to lock down your XenServer installs?  I&#8217;ll be writing a few more articles as I dive deeper into Xen and XenServer, so be sure to check back often.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://burm.net/2012/01/29/xenserver-basic-security-tips-how-do-you-secure-your-xenserver/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Home Server Build &#8211; Somewhat Energy Efficient</title>
		<link>http://burm.net/2007/12/21/home-server-build-somewhat-energy-efficient/</link>
		<comments>http://burm.net/2007/12/21/home-server-build-somewhat-energy-efficient/#comments</comments>
		<pubDate>Fri, 21 Dec 2007 16:50:56 +0000</pubDate>
		<dc:creator>John Burmeister</dc:creator>
				<category><![CDATA[house]]></category>
		<category><![CDATA[Interesting]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://burm.net/2007/12/21/home-server-build-somewhat-energy-efficient/</guid>
		<description><![CDATA[This is the new server I am putting together, it will control do the following: Security Server (Video Camera&#8217;s with motion detection / recording) &#8211; Going to run ZoneMinder Media / File Server &#8211; 1TB of storage w/rsync of important files to backup offsite. Home Automation Server &#8211; Lighting / Temp control Web Server &#8211; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fburm.net%2F2007%2F12%2F21%2Fhome-server-build-somewhat-energy-efficient%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fburm.net%2F2007%2F12%2F21%2Fhome-server-build-somewhat-energy-efficient%2F&amp;source=burmjohn&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is the new server I am putting together, it will control do the following:</p>
<p>Security Server (Video Camera&#8217;s with motion detection / recording) &#8211; Going to run <a href="http://burm.net/wp-admin/OS:%20Debian%20GNU/Linux">ZoneMinder</a><br />
Media / File Server &#8211; 1TB of storage w/rsync of important files to backup offsite.<br />
Home Automation Server &#8211; Lighting / Temp control<br />
Web Server &#8211;  light duty / intranet<br />
DB Server &#8211; very light / dev work<br />
Backup Server &#8211; backup for some production sites<br />
Vmware Server &#8211; Running 2 VM&#8217;s &#8211; Light duty (Win XP and a Linux Distro)<br />
Dev Server &#8211; For testing some apps</p>
<p>Sounds like a lot, but its all light duty and this server should be plenty for it. And with the HD choice and the energy efficent options with the Core 2 I should be able keep the energy consumption down.</p>
<p>The server will be running Debian GNU/Linux of course.</p>
<p>PSU: <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817139002">CORSAIR CMPSU-620HX</a><br />
Case: <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811119138">COOLER MASTER COSMOS 1000</a><br />
Motherboard: <a href="http://www.newegg.com/product/product.asp?item=N82E16813131184">ASUS P5K-V LGA 775 Intel G33 ATX Intel Motherboard &#8211; Retail</a><br />
CPU: <a href="http://www.newegg.com/product/product.asp?item=N82E16819115029">Intel Core 2 Duo E6750 Conroe 2.66GHz </a><br />
Memory: <a href="http://www.newegg.com/product/product.asp?item=N82E16820231122">G.SKILL 4GB(2 x 2GB)</a><br />
HD: <a href="http://www.newegg.com/product/product.asp?item=N82E16822136151">Western Digital Caviar GP WD10EACS 1TB 5400 to 7200 RPM 16MB Cache SATA 3.0Gb/s</a></p>
<p>Once the stuff starts rolling in, I&#8217;ll take some shots. I did receive the case last night, this thing weighs a ton, but it looks pretty solid.  It should really keep the noise down and be near silent.</p>
<p><a href="http://www.flickr.com/photos/burmjohn/2126613749/"><img src="http://farm3.static.flickr.com/2374/2126613749_eafe108e19.jpg?v=0" /></a></p>
<p><img src="http://farm3.static.flickr.com/2128/2126613827_7c4dc40506.jpg?v=0" /></p>
]]></content:encoded>
			<wfw:commentRss>http://burm.net/2007/12/21/home-server-build-somewhat-energy-efficient/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Linux Tutorials and How To Links</title>
		<link>http://burm.net/2006/12/25/some-linux-tutorials-and-how-to-links/</link>
		<comments>http://burm.net/2006/12/25/some-linux-tutorials-and-how-to-links/#comments</comments>
		<pubDate>Mon, 25 Dec 2006 20:41:50 +0000</pubDate>
		<dc:creator>John Burmeister</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://burm.net/2006/12/25/some-linux-tutorials-and-how-to-links/</guid>
		<description><![CDATA[Advanced Bash Scripting Understand and learn how to write bash scripts for the command line. Bluetooth on Linux Great document on setting up Bluetooth on Linux. Introduction to Linux This is a great overview of Linux, a definite must read for Linux newbies. IPTables Secure your network using IPTables. Linux Administration Made Easy A very [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fburm.net%2F2006%2F12%2F25%2Fsome-linux-tutorials-and-how-to-links%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fburm.net%2F2006%2F12%2F25%2Fsome-linux-tutorials-and-how-to-links%2F&amp;source=burmjohn&amp;style=compact&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<ul>
<li><a href="http://tldp.org/LDP/abs/html/index.html" target="_blank" title="Advanced Bash Scripting">Advanced Bash Scripting<br />
</a>Understand and learn how to write bash scripts for the command line.</li>
<li><a href="http://www.g7smy.co.uk/?linux/bt" target="_blank" title="Bluetooth On Linux">Bluetooth on Linux<br />
</a>Great document on setting up Bluetooth on Linux.</li>
<li><a href="http://tldp.org/LDP/intro-linux/html/index.html" target="_blank" title="Introduction to Linux">Introduction to Linux<br />
</a>This is a great overview of Linux, a definite must read for Linux newbies.</li>
<li><a href="http://www.linuxguruz.com/iptables/howto/" target="_blank" title="IPTables HOWTO">IPTables<br />
</a>Secure your network using IPTables.</li>
</ul>
<p><span id="more-3"></span></p>
<ul>
<li><a href="http://howtos.linux.com/guides/linux-admin-made-easy/" title="Linux Administration Made Easy" target="_blank">Linux Administration Made Easy</a><br />
A very detailed document on Linux administration.</li>
<li><a href="http://tldp.org/HOWTO/html_single/Linux-Complete-Backup-and-Recovery-HOWTO/" target="_blank" title="Linux Complete Backup and Recovery">Linux Complete Backup and Recovery<br />
</a>Anyone who has a Linux desktop or server must know how to backup and restore their system at any moments notice. This is an important guide if you absolutely do not want to lose any crucial data.</li>
<li><a href="http://tldp.org/LDP/Linux-Dictionary/html/index.html" target="_blank" title="Linux Dictionary">Linux Dictionary<br />
</a>This is a great resource for finding out information on Linux related terms and jargon.</li>
<li><a href="http://encryptionhowto.sourceforge.net/Encryption-HOWTO.html" target="_blank" title="Linux Encryption">Linux Encryption<br />
</a>Understand and learn about encryption practices on Linux.</li>
<li><a href="http://tldp.org/HOWTO/html_single/Linux-Gamers-HOWTO/" target="_blank" title="Linux Gamers HOWTO">Linux Gamers<br />
</a>Learn the inner workings of how games work on Linux along with how to resolve common problems.</li>
<li><a href="http://tldp.org/HOWTO/Linux+IPv6-HOWTO/index.html" target="_blank" title="Linux IPv6 HOWTO">Linux IPv6<br />
</a>Learn about the new layer 3 protocol, IPv6 protocol and how to take advantage of it on Linux.</li>
</ul>
<p><!--  google_ad_client = "pub-3610215697370887";  google_ad_width = 468;  google_ad_height = 60;  google_ad_format = "468x60_as";  google_ad_type = "text";  google_ad_channel = "";  google_color_border = "FFFFFF";  google_color_bg = "FFFFFF";  google_color_link = "666688";  google_color_text = "000000";  google_color_url = "bbbbcc";  //--></p>
<ul>
<li><a href="http://tldp.org/LDP/Mobile-Guide/html/index.html" title="Linux on the Road" target="_blank">Linux on the Road</a><br />
This document covers all aspects on bringing Linux on the road via your laptop or portable device.</li>
<li><a href="http://tldp.org/HOWTO/html_single/Security-HOWTO/" target="_blank" title="Linux Security HOWTO">Linux Security<br />
</a>Understand the general concepts of security on a Linux system, complete with examples and applications to use.</li>
<li><a href="http://tldp.org/LDP/sag/html/index.html" target="_blank" title="Linux System Administrator's Guide">Linux System Administrator’s Guide<br />
</a>Learn the aspects of the Linux System Administrator.</li>
<li><a href="http://tldp.org/HOWTO/html_single/Networking-Overview-HOWTO/" target="_blank" title="Networking Overview HOWTO">Networking Overview<br />
</a>A great overview of the networking capabilities of the Linux operating system.<a href="http://tldp.org/HOWTO/html_single/Networking-Overview-HOWTO/" target="_blank" title="Networking Overview HOWTO"><br />
</a></li>
<li><a href="http://tldp.org/HOWTO/html_single/Online-Troubleshooting-HOWTO/" target="_blank" title="Online Troubleshooting HOWTO">Online Troubleshooting Resources<br />
</a>Learn how to troubleshoot problems online using a variety of resources.</li>
<li><a href="http://www.linuxprinting.org/%7Etill/printing-tutorial/tut.html" target="_blank" title="Printing in Linux">Printing in Linux<br />
</a>Learn how to use CUPS to print in Linux.</li>
<li><a href="http://tldp.org/HOWTO/html_single/Qmail-ClamAV-HOWTO/" target="_blank" title="Qmail &amp; ClamAV HOWTO">Qmail &amp; ClamAV<br />
</a>Learn how to setup a Qmail e-mail system with anti-virus scanning on your Linux machine.<a href="http://tldp.org/HOWTO/html_single/Qmail-ClamAV-HOWTO/" target="_blank" title="Qmail &amp; ClamAV HOWTO"><br />
</a></li>
<li><a href="http://tldp.org/HOWTO/html_single/Unix-Hardware-Buyer-HOWTO/" target="_blank" title="Unix Hardware Buyer HOWTO">Unix Hardware Buyer<br />
</a>Become a savvy buyer of Intel hardware that works on the Unix/Linux operating system.<a href="http://tldp.org/HOWTO/html_single/Unix-Hardware-Buyer-HOWTO/" target="_blank" title="Unix Hardware Buyer HOWTO"><br />
</a></li>
<li><a href="http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch13_:_Linux_Wireless_Networking" target="_blank" title="Wireless Networking In Linux">Wireless Networking<br />
</a>A quick howto on setting up and configuring wireless networking on Linux.</li>
<li><a href="http://howtos.linux.com/howtos/XWindow-User-HOWTO/index.shtml" target="_blank" title="XWindows User HOWTO">XWindows User<br />
</a>Learn how to configure and use the XWindows system in Linux.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://burm.net/2006/12/25/some-linux-tutorials-and-how-to-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

