<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Linux on Justin Carmony</title>
		<link>https://www.justincarmony.com/tags/linux/</link>
		<description>Recent content in Linux on Justin Carmony</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 03 Nov 2011 16:33:02 +0000</lastBuildDate>
		
			<atom:link href="https://www.justincarmony.com/tags/linux/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Siege with User Authentication</title>
				<link>https://www.justincarmony.com/2011/11/03/siege-with-user-login/</link>
				<pubDate>Thu, 03 Nov 2011 16:33:02 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/11/03/siege-with-user-login/</guid>
				<description>&lt;p&gt;If you want to stress test your application, the quickest and best way to do so is with &lt;a href=&#34;http://www.joedog.org/index/siege-home&#34;&gt;siege&lt;/a&gt;. From the siege website:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Siege is an http load testing and benchmarking utility. It was designed to let web developers measure their code under duress, to see how it will stand up to load on the internet. Siege supports basic authentication, cookies, HTTP and HTTPS protocols. It lets its user hit a web server with a configurable number of simulated web browsers. Those browsers place the server &amp;ldquo;under siege.&amp;rdquo;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Setting Up Nginx &amp; PHP-FPM on Ubuntu 10.04</title>
				<link>https://www.justincarmony.com/2011/10/25/setting-up-nginx-php-fpm-on-ubuntu-10-04/</link>
				<pubDate>Tue, 25 Oct 2011 03:50:59 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/10/25/setting-up-nginx-php-fpm-on-ubuntu-10-04/</guid>
				<description>&lt;p&gt;This is another wonderful setup that I&amp;rsquo;ve found myself using rather than the traditional Apache &amp;amp; mod_php setup.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-is-nginx&#34;&gt;What is Nginx?&lt;/h2&gt;&#xA;&lt;p&gt;Nginx (pronounced engine-x) is a fast, powerful, lightweight web server. I won&amp;rsquo;t go into the theory under-the-hood, but it&amp;rsquo;s focus is high concurrency with low memory usage. So while Apache is more robust in supporting many different features, nginx focuses on handling the important features very quickly. I still use Apache internally for our SVN &amp;amp; Trac web server. Heck, even at this time I&amp;rsquo;m using Apache to host this blog. However, Dating DNA, Clipish, CEVO, Alienware Arena, and some other high traffic sites/apis use nginx.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Preparing a VMWare Ubuntu Guest OS</title>
				<link>https://www.justincarmony.com/2011/09/13/preparing-a-vmware-ubuntu-guest-os/</link>
				<pubDate>Tue, 13 Sep 2011 07:11:09 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/09/13/preparing-a-vmware-ubuntu-guest-os/</guid>
				<description>&lt;p&gt;I forget these steps all the time, so I figured I should record them here.&lt;/p&gt;&#xA;&lt;p&gt;A lot of times VMWare will auto-install the VMWare tools for you when you first setup your VM. However, many times after setting it up I&amp;rsquo;ll do updates, and updates to the kernel will be applied, knocking out the VMWare Tools changes. These tools are used for things like file sharing between the guest and host.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Working with Middle-Scale Websites</title>
				<link>https://www.justincarmony.com/2011/07/19/working-with-middle-scale-websites/</link>
				<pubDate>Tue, 19 Jul 2011 00:02:40 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/07/19/working-with-middle-scale-websites/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve been thinking about this idea for awhile, and I thought I would put a name to the thought. I brought up this idea while I was giving my &amp;ldquo;Real Life Scaling&amp;rdquo; presentation at the Utah Open Source Conference in 2009. Here is the problem I think most individuals in the web development face:&lt;/p&gt;&#xA;&lt;p&gt;Hopefully at some point, your website gets a lot of traffic. Yay, you&amp;rsquo;ve reached your goal of getting good traffic, but it is soon followed by issues with performance and load. I like to call these the growing pains of a website. So as a web developer, I suddenly have the epiphany of &amp;ldquo;Hey, I need to scale my website!&amp;rdquo; What follows next is the biggest mistake a web developer can make:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Simple Trick: History Command</title>
				<link>https://www.justincarmony.com/2011/05/31/simple-trick-history-command/</link>
				<pubDate>Tue, 31 May 2011 21:05:08 +0000</pubDate>
				<guid>https://www.justincarmony.com/2011/05/31/simple-trick-history-command/</guid>
				<description>&lt;p&gt;So today I quickly installed Redis on a server, and I wanted to keep a copy of all the commands I had used to do so. I knew there was a better way than hitting the up arrow each time to copy and paste each command in reverse order. So after some Googling, I found out about the history command. So I was able to type the command &amp;ldquo;history&amp;rdquo; and it showed me the last two thousand or so commands I had used. I was able to copy and paste that into a wiki, and was good to go. You could also search your history by piping the history command to grep. Cool stuff I don&amp;rsquo;t want to forget.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Sharing Sessions Across Multiple Servers With Memcache</title>
				<link>https://www.justincarmony.com/2010/09/15/sharing-sessions-across-multiple-servers-with-memcache/</link>
				<pubDate>Wed, 15 Sep 2010 08:52:15 +0000</pubDate>
				<guid>https://www.justincarmony.com/2010/09/15/sharing-sessions-across-multiple-servers-with-memcache/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.justincarmony.com/images/wp/2010/09/memcached-logo-200x152.png&#34;&gt;&lt;img src=&#34;https://www.justincarmony.com/images/2010/09/memcached-logo-200x152-150x150.png&#34; alt=&#34;&#34; title=&#34;memcached-logo-200x152&#34;&gt;&lt;/a&gt;These last few days have been full of quickly implementing things I&amp;rsquo;ve only read about, but hadn&amp;rsquo;t done for myself.&lt;/p&gt;&#xA;&lt;p&gt;One situation was looking at splitting web traffic across multiple servers. In our case, we had only 2% of our website that would spike and increase our load by %1000 percent (I&amp;rsquo;m not joking) for a short period of time. So instead of doing traditional load balancing, we opted for routing specific functions to a custom subdomain that would run on another server. That way if the thousands of crazy video game players (you know who you are), slam the servers trying to get a cool skin for their online avatar, it would only take down that one section.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Setting up SSH Key Authentication Between Servers</title>
				<link>https://www.justincarmony.com/2010/07/14/setting-up-ssh-key-authentication-between-servers/</link>
				<pubDate>Wed, 14 Jul 2010 19:52:05 +0000</pubDate>
				<guid>https://www.justincarmony.com/2010/07/14/setting-up-ssh-key-authentication-between-servers/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.justincarmony.com/images/wp/2010/07/openssh-logo.png&#34;&gt;&lt;img src=&#34;https://www.justincarmony.com/images/wp/2010/07/openssh-logo.png&#34; alt=&#34;&#34; title=&#34;openssh-logo&#34;&gt;&lt;/a&gt;I always forget how to do this, so I have to look it up each time. This will make it easier the next time. It is so simple, just I always forget.&lt;/p&gt;&#xA;&lt;p&gt;First, I need to generate my ssh pub and private keys on the host server: ssh-keygen&lt;/p&gt;&#xA;&lt;p&gt;Second, I need to copy the pub key to the remote server: ssh-copy-id -i id_rsa.pub &lt;a href=&#34;mailto:user@server.local&#34;&gt;user@server.local&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Then, that it! Now that I wrote it down, I won&amp;rsquo;t forget it&amp;hellip; I hope.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Setting up Nagios for Servers</title>
				<link>https://www.justincarmony.com/2010/05/04/setting-up-nagios-for-servers/</link>
				<pubDate>Tue, 04 May 2010 21:17:20 +0000</pubDate>
				<guid>https://www.justincarmony.com/2010/05/04/setting-up-nagios-for-servers/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.justincarmony.com/images/wp/2010/05/nagios-logo.png&#34;&gt;&lt;img src=&#34;https://www.justincarmony.com/images/wp/2010/05/nagios-logo.png&#34; alt=&#34;&#34; title=&#34;nagios-logo&#34;&gt;&lt;/a&gt;Ok, so I need to confess, I haven&amp;rsquo;t been a good blogger. I&amp;rsquo;ve gone two months without writing a post, which is broke a 2 year streak. But, I&amp;rsquo;m going to post date these posts, since I can.&lt;/p&gt;&#xA;&lt;p&gt;How I&amp;rsquo;ve gone this long without setting up Nagios to monitor servers is beyond me. However, I was tired of my clients and so finding out a server was offline before me. So I threw up a 256MB virtual server on Slicehost, since I don&amp;rsquo;t have any servers with them at the moment, in case a data center went offline.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Data Backups - There Are No Excuses</title>
				<link>https://www.justincarmony.com/2009/04/19/data-backups-there-are-no-excuses/</link>
				<pubDate>Sun, 19 Apr 2009 00:04:48 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/04/19/data-backups-there-are-no-excuses/</guid>
				<description>&lt;p&gt;Today I just had the terrible experience of having a database lose data, need to restore, only to not have a recent backup. If you haven&amp;rsquo;t had this experience before, please, take this serious. My wife was home for lunch as it happened, and she watched as the blood drained from my face. It only took a few seconds for the loss to happen, and immediately I knew exactly what the repercussions where. The immediate second thought that passes through your brain is &amp;ldquo;Where are my backups?&amp;rdquo; That is when I realized I didn&amp;rsquo;t have my nightly backups set up on this server. I quickly checked the file date on the last known backup I had.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Recursively Add New Files to SVN</title>
				<link>https://www.justincarmony.com/2009/02/20/recursively-add-new-files-to-svn/</link>
				<pubDate>Fri, 20 Feb 2009 16:51:33 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/02/20/recursively-add-new-files-to-svn/</guid>
				<description>&lt;p&gt;One great thing about running Windows is TortoiseSVN. I makes managing my SVN so easy. One of the problems I&amp;rsquo;ve ran into on other systems was I had been working for several hours. I would have dozens of new files and with TortoiseSVN it would show me a list of all the new files and I could hit &amp;ldquo;select all&amp;rdquo; and commit. However, on Mac I haven&amp;rsquo;t found an SVN client that I like, so I just use the terminal commands. There are also times, like when managing a WordPress installation, that WordPress and its plug-ins could auto update. I wanted to be able to add all the new files on the linux server back into the svn.&lt;/p&gt;</description>
			</item>
			<item>
				<title>XAMPP for Mac - My Frustrations &amp; Solutions</title>
				<link>https://www.justincarmony.com/2009/02/14/xampp-for-mac-my-frustrations-solutions/</link>
				<pubDate>Sat, 14 Feb 2009 23:15:34 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/02/14/xampp-for-mac-my-frustrations-solutions/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://www.justincarmony.com/images/2009/02/xampp-objectdock.png&#34;&gt;&lt;img src=&#34;https://www.justincarmony.com/images/2009/02/xampp-objectdock.png&#34; alt=&#34;&#34; title=&#34;xampp-objectdock&#34;&gt;&lt;/a&gt;These last few days I&amp;rsquo;ve been trying to get &lt;a href=&#34;http://www.apachefriends.org/en/xampp.html&#34;&gt;XAMPP&lt;/a&gt; to work on my MacBook Pro these last couple of days and it has been &lt;em&gt;&lt;strong&gt;frustrating&lt;/strong&gt;&lt;/em&gt;! It seemed I kept running into more and more problems. For those who don&amp;rsquo;t know, XAMPP is tool for developers to run a LAMP stack (Linux, Apache, MySQL, PHP) on your machine locally. I&amp;rsquo;ve been running it on my Windows machines for years, and I have been running my production servers on Linux.&lt;/p&gt;</description>
			</item>
			<item>
				<title>My Honest Attempt With Linux Desktop</title>
				<link>https://www.justincarmony.com/2009/01/20/my-honest-attempt-with-linux-desktop/</link>
				<pubDate>Tue, 20 Jan 2009 04:07:00 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/01/20/my-honest-attempt-with-linux-desktop/</guid>
				<description>&lt;p&gt;After the last &lt;a href=&#34;http://uphpu.org/&#34;&gt;uphpu&lt;/a&gt; meeting a few of us went to Applebees like always. We were talking about a lot of stuff and one of the big subjects was Linux Desktop. Kevin Carter, the presenter, was sporting off &lt;a href=&#34;http://www.kubuntu.org/&#34;&gt;Kubuntu&lt;/a&gt; with the new KDE 4.2. This year I&amp;rsquo;ve made a goal to improve my Linux skills and I thought if I switched to using Linux as my main work enviroment. So Sunday night I started to try to install Kubuntu 8.10. I&amp;rsquo;m sorry to say, but after 24 hours, I wasn&amp;rsquo;t able to stick with it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Consumer Linux - When &amp; How</title>
				<link>https://www.justincarmony.com/2009/01/17/consumer-linux-when-and-how/</link>
				<pubDate>Sat, 17 Jan 2009 00:15:28 +0000</pubDate>
				<guid>https://www.justincarmony.com/2009/01/17/consumer-linux-when-and-how/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve been reading several responses about the &lt;a href=&#34;http://www.wkowtv.com/Global/story.asp?S=9667184&amp;amp;nav=menu1362_8_6&#34;&gt;news story of a girl who &amp;ldquo;dropped out of school&amp;rdquo; because of Ubuntu&lt;/a&gt;. I&amp;rsquo;ve read several responses, including &lt;a href=&#34;http://pthree.org/2009/01/16/what-are-we-12/&#34;&gt;Aaron Toponce&amp;rsquo;s response&lt;/a&gt;, and it got me thinking about a topic that has been on my mind for awhile.&lt;/p&gt;&#xA;&lt;p&gt;You can read the story yourself and the &lt;a href=&#34;http://www.wkowtv.com/Global/story.asp?S=9682258&amp;amp;nav=menu1362_2&#34;&gt;follow-up backlash from the Ubuntu Community&lt;/a&gt;. I was extremely sad, but not at all surprised, of the backlash that this woman got. I&amp;rsquo;m sure the negative response is from a relatively small percent of the community that is just extremely loud. I also think the title of the story is a little misleading and that it can be taken as bias. However, the root of the problem lies in this: a woman thought she was buying a consumer product, when in fact, it wasn&amp;rsquo;t.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Father Sued Over Freedom of Speech</title>
				<link>https://www.justincarmony.com/2008/10/28/father-sued-over-freedom-of-speech/</link>
				<pubDate>Tue, 28 Oct 2008 20:22:31 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/10/28/father-sued-over-freedom-of-speech/</guid>
				<description>&lt;p&gt;I thought I would step in and write about the total non-sense that has been going on with the Linspire/Freespire debacle. Today I just found out my father, &lt;a href=&#34;http://en.wikipedia.org/wiki/Kevin_Carmony&#34;&gt;Kevin Carmony&lt;/a&gt; and ex-CEO of &lt;a href=&#34;http://www.linspire.com/&#34;&gt;Linspire&lt;/a&gt;, is being sued by Michael Robertson over &amp;ldquo;&amp;hellip; cybersquatting, trademark infringement, and unfair competition&amp;hellip;&amp;rdquo; for &amp;ldquo;$100,000 and other damages.&amp;rdquo; You can &lt;a href=&#34;http://kevincarmony.blogspot.com/2008/10/michael-robertson-sues-me-to-impede-my.html&#34;&gt;read the entire post&lt;/a&gt; on &lt;a href=&#34;http://kevincarmony.blogspot.com/&#34;&gt;Kevin&amp;rsquo;s blog&lt;/a&gt;. He summarizes the real intent behind this lawsuit well:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;The lawsuit even states, &amp;ldquo;Although the FREESPIRE mark was recently assigned as part of an asset purchase, [Robertson] expressly reserved all rights in and to all claims against Carmony arising from the freespire.com domain name and website.&amp;rdquo; Now, why would Robertson want to carve out that one thing to hang on to? He&amp;rsquo;s no longer involved with Freespire, so why does he care? Is he desperate for money? With Robertson&amp;rsquo;s companies struggling and laying employees off, does anyone really believe this is the most important thing Robertson should be concerning himself with? His motives are pretty transparent&amp;ndash;to suppress freedom of expression that is critical of Robertson.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Ubuntu Desktop Terminal - Su</title>
				<link>https://www.justincarmony.com/2008/10/10/ubuntu-desktop-terminal-su/</link>
				<pubDate>Fri, 10 Oct 2008 18:30:08 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/10/10/ubuntu-desktop-terminal-su/</guid>
				<description>&lt;p&gt;This is just a quick reference for myself. When I want to &amp;ldquo;su to root&amp;rdquo; in Ubuntu&amp;rsquo;s terminal I need to do the follow:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;sudo su&#xA;[enter password]&lt;/p&gt;&#xA;&lt;/blockquote&gt;</description>
			</item>
			<item>
				<title>LT Pact &#39;08 - Overview of Experience</title>
				<link>https://www.justincarmony.com/2008/06/27/lt-pact-08-overview-of-experience/</link>
				<pubDate>Fri, 27 Jun 2008 22:52:45 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/06/27/lt-pact-08-overview-of-experience/</guid>
				<description>&lt;p&gt;I just left the last session of the &lt;a href=&#34;http://www.layeredtech.com/ltpact/&#34;&gt;LT Pact &amp;lsquo;08 conference&lt;/a&gt; and it has been fun. I&amp;rsquo;ve learned a lot and there were a lot of common themes among the conference. I&amp;rsquo;ll briefly touch on the themes and over the next week or so I&amp;rsquo;ll be writing more in-depth on each one. Besides, I need to enjoy Las Vegas while I&amp;rsquo;m here and not just blog.&lt;/p&gt;&#xA;&lt;h3 id=&#34;virtualization--cloud-computing&#34;&gt;&lt;strong&gt;Virtualization &amp;amp; Cloud Computing&lt;/strong&gt;&lt;/h3&gt;&#xA;&lt;p&gt;Virtualization is the future of server hosting. It won&amp;rsquo;t be optimal for all scenarios of course, but there are so many advantages to virtualization that they can&amp;rsquo;t be passed up:&lt;/p&gt;</description>
			</item>
			<item>
				<title>LT PACT 2008 - Day 1</title>
				<link>https://www.justincarmony.com/2008/06/27/lt-pact-2008-day-1/</link>
				<pubDate>Fri, 27 Jun 2008 06:31:52 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/06/27/lt-pact-2008-day-1/</guid>
				<description>&lt;p&gt;Whew, today was a good day. I took a lot of notes and over the next few days I&amp;rsquo;ll be blogging on the different topics. Hopefully you&amp;rsquo;ll enjoy.&lt;/p&gt;</description>
			</item>
			<item>
				<title>How to tell what Linux OS you&#39;re running</title>
				<link>https://www.justincarmony.com/2008/06/24/how-to-tell-what-linux-os-youre-running/</link>
				<pubDate>Tue, 24 Jun 2008 22:01:23 +0000</pubDate>
				<guid>https://www.justincarmony.com/2008/06/24/how-to-tell-what-linux-os-youre-running/</guid>
				<description>&lt;p&gt;I deal with many different servers and it is hard to keep track of which is running which Distro of linux. Here is the quick way to tell:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;uname -a&lt;/p&gt;&#xA;&lt;p&gt;uname &amp;ndash;help&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;You can&amp;rsquo;t believe how hard it was to find that out.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
