<?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>HyperHawk &#187; Linux</title>
	<atom:link href="http://notes.hyperhawk.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://notes.hyperhawk.com</link>
	<description>Development Notes</description>
	<lastBuildDate>Thu, 27 May 2010 19:08:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ubuntu Server Install PHP 5.3</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-install-php-5-3-416.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-install-php-5-3-416.htm#comments</comments>
		<pubDate>Fri, 21 May 2010 17:44:12 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=416</guid>
		<description><![CDATA[This is example works on Ubuntu Server 9.04 and PHP 5.3.2
First remove all instances of PHP and related packages
1. add to /etc/apt/sources.list:
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all
2. update and upgrade:
#apt-get update &#038;&#038; apt-get upgrade
3. install:
#apt-get install php5 libapache2-mod-php5 php5-cli php5-mysql
4. check PHP version:
#php -v
Restart Apache
]]></description>
			<content:encoded><![CDATA[<p>This is example works on Ubuntu Server 9.04 and PHP 5.3.2<br />
First remove all instances of PHP and related packages</p>
<p>1. add to /etc/apt/sources.list:<br />
<code>deb http://php53.dotdeb.org stable all<br />
deb-src http://php53.dotdeb.org stable all</code></p>
<p>2. update and upgrade:<br />
<code>#apt-get update &#038;&#038; apt-get upgrade</code></p>
<p>3. install:<br />
<code>#apt-get install php5 libapache2-mod-php5 php5-cli php5-mysql</code></p>
<p>4. check PHP version:<br />
<code>#php -v</code></p>
<p>Restart Apache</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-install-php-5-3-416.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Package Search</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-package-search-414.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-package-search-414.htm#comments</comments>
		<pubDate>Thu, 20 May 2010 23:05:29 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=414</guid>
		<description><![CDATA[apt-cache search [package]
]]></description>
			<content:encoded><![CDATA[<p><code>apt-cache search [package]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-package-search-414.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing APC and eAccelerator for PHP</title>
		<link>http://notes.hyperhawk.com/php/installing-apc-and-eaccelerator-for-php-410.htm</link>
		<comments>http://notes.hyperhawk.com/php/installing-apc-and-eaccelerator-for-php-410.htm#comments</comments>
		<pubDate>Thu, 20 May 2010 21:43:15 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=410</guid>
		<description><![CDATA[Examples done on Ubuntu 9.04
Installing and Configuring APC:

#apt-get update
#apt-get install php5-dev
#apt-get install php-pear
#apt-get install apache2-threaded-dev
#apt-get install make
#pecl install APC
Add to php.ini:
extension=apc.so
may need to disable zend optimizer (or install as zend optimizer extension)
;zend_extension=/dir/ZendOptimizer.so
Usage:
apc_store("my_key",$obj,3600);
$cached_obj=apc_fetch("my_key");
Installing and Configuring eAccelerator
#cd /tmp/
#wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2
#tar xvjf eaccelerator-0.9.5.3.tar.bz2
#cd eaccelerator-0.9.5.3
#phpize
#./configure --with-eaccelerator-shared-memory
#make
#make install
#mkdir /var/cache/eaccelerator
#chmod 777 /var/cache/eaccelerator
add to php.ini:

;eAccelerator configuration
extension="eaccelerator.so"
eaccelerator.shm_size        [...]]]></description>
			<content:encoded><![CDATA[<p>Examples done on Ubuntu 9.04</p>
<p><b>Installing and Configuring APC:</b><br />
<code><br />
#apt-get update<br />
#apt-get install php5-dev<br />
#apt-get install php-pear<br />
#apt-get install apache2-threaded-dev<br />
#apt-get install make<br />
#pecl install APC</code><br />
Add to php.ini:<br />
<code>extension=apc.so</code><br />
may need to disable zend optimizer (or install as zend optimizer extension)<br />
<code>;zend_extension=/dir/ZendOptimizer.so</code><br />
Usage:<br />
<code>apc_store("my_key",$obj,3600);<br />
$cached_obj=apc_fetch("my_key");</code></p>
<p><b>Installing and Configuring eAccelerator</b><br />
<code>#cd /tmp/<br />
#wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2<br />
#tar xvjf eaccelerator-0.9.5.3.tar.bz2<br />
#cd eaccelerator-0.9.5.3<br />
#phpize<br />
#./configure --with-eaccelerator-shared-memory<br />
#make<br />
#make install<br />
#mkdir /var/cache/eaccelerator<br />
#chmod 777 /var/cache/eaccelerator</code><br />
add to php.ini:<br />
<code><br />
;eAccelerator configuration<br />
extension="eaccelerator.so"<br />
eaccelerator.shm_size           = "16"<br />
eaccelerator.cache_dir          = "/var/cache/eaccelerator"<br />
eaccelerator.enable             = "1"<br />
eaccelerator.optimizer          = "1"<br />
eaccelerator.check_mtime        = "1"<br />
eaccelerator.debug              = "0"<br />
eaccelerator.filter             = ""<br />
eaccelerator.shm_max            = "0"<br />
eaccelerator.shm_ttl            = "0"<br />
eaccelerator.shm_prune_period   = "0"<br />
eaccelerator.shm_only           = "0"<br />
eaccelerator.compress           = "1"<br />
eaccelerator.compress_level     = "9"</code></p>
<p>Usage:<br />
<code>eaccelerator_put("my_key",serialize($obj),3600);<br />
$cached_obj=unserialize(eaccelerator_get("my_key"));</code></p>
<p>Restart apache2</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/php/installing-apc-and-eaccelerator-for-php-410.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Version Command Line</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-version-command-line-408.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-version-command-line-408.htm#comments</comments>
		<pubDate>Thu, 20 May 2010 17:14:23 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=408</guid>
		<description><![CDATA[#cat /etc/issue
]]></description>
			<content:encoded><![CDATA[<p><code>#cat /etc/issue</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-version-command-line-408.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change Subversion Repository UUID</title>
		<link>http://notes.hyperhawk.com/linux/change-subversion-repository-uuid-401.htm</link>
		<comments>http://notes.hyperhawk.com/linux/change-subversion-repository-uuid-401.htm#comments</comments>
		<pubDate>Wed, 19 May 2010 17:37:37 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=401</guid>
		<description><![CDATA[Check svn repository uuid:
#svnlook uuid /home/example/project
Example output:
ec932a82-3007-40d5-ad6d-96453a70e36d
Changed svn uuid:
#svnadmin setuuid /home/example/project a17cfs5a-10z3-4c51-a3a6-4d48f69865ca
Check modified uuid:
#svnlook uuid /home/example/project
a17cfs5a-10z3-4c51-a3a6-4d48f69865ca
]]></description>
			<content:encoded><![CDATA[<p>Check svn repository uuid:<br />
<code>#svnlook uuid /home/example/project</code><br />
Example output:<br />
<code>ec932a82-3007-40d5-ad6d-96453a70e36d</code><br />
Changed svn uuid:<br />
<code>#svnadmin setuuid /home/example/project a17cfs5a-10z3-4c51-a3a6-4d48f69865ca</code><br />
Check modified uuid:<br />
<code>#svnlook uuid /home/example/project<br />
a17cfs5a-10z3-4c51-a3a6-4d48f69865ca</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/change-subversion-repository-uuid-401.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Server Automatic Updates</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-server-automatic-updates-396.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-server-automatic-updates-396.htm#comments</comments>
		<pubDate>Wed, 19 May 2010 17:15:41 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=396</guid>
		<description><![CDATA[Ubuntu Server Automatic Updates
Automatic Package Updates Using cron-apt
]]></description>
			<content:encoded><![CDATA[<p><a href="https://help.ubuntu.com/9.04/serverguide/C/automatic-updates.html" target="_blank">Ubuntu Server Automatic Updates</a></p>
<p><a href="https://help.ubuntu.com/community/AutoWeeklyUpdateHowTo" target="_blank">Automatic Package Updates Using cron-apt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-server-automatic-updates-396.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove .svn Directories from Project (recursive)</title>
		<link>http://notes.hyperhawk.com/linux/remove-svn-directories-from-project-recursive-394.htm</link>
		<comments>http://notes.hyperhawk.com/linux/remove-svn-directories-from-project-recursive-394.htm#comments</comments>
		<pubDate>Wed, 19 May 2010 17:13:10 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=394</guid>
		<description><![CDATA[Navigate to project directory and execute:
#find ./ -name ".svn" &#124; xargs rm –Rf
]]></description>
			<content:encoded><![CDATA[<p>Navigate to project directory and execute:<br />
<code>#find ./ -name ".svn" | xargs rm –Rf</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/remove-svn-directories-from-project-recursive-394.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Extend Session Timeout</title>
		<link>http://notes.hyperhawk.com/php/php-extend-session-timeout-385.htm</link>
		<comments>http://notes.hyperhawk.com/php/php-extend-session-timeout-385.htm#comments</comments>
		<pubDate>Mon, 10 May 2010 20:57:53 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=385</guid>
		<description><![CDATA[Edit session.gc_maxlifetime param in php.ini file:
session.gc_maxlifetime = 1440
]]></description>
			<content:encoded><![CDATA[<p>Edit session.gc_maxlifetime param in php.ini file:<br />
<code>session.gc_maxlifetime = 1440</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/php/php-extend-session-timeout-385.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Number of Files in Directory</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-number-of-files-in-directory-378.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-number-of-files-in-directory-378.htm#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:45:25 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=378</guid>
		<description><![CDATA[#ls &#124; wc -l
]]></description>
			<content:encoded><![CDATA[<p><code>#ls | wc -l</code></p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-number-of-files-in-directory-378.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Save Alias</title>
		<link>http://notes.hyperhawk.com/linux/ubuntu-save-alias-373.htm</link>
		<comments>http://notes.hyperhawk.com/linux/ubuntu-save-alias-373.htm#comments</comments>
		<pubDate>Thu, 29 Apr 2010 19:42:30 +0000</pubDate>
		<dc:creator>HyperHawk</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notes.hyperhawk.com/?p=373</guid>
		<description><![CDATA[Ubuntu (9.04) Edit /etc/bash.bashrc
Add alias lines:
alias z='ls -l'
Logout/login to save/use
]]></description>
			<content:encoded><![CDATA[<p>Ubuntu (9.04) Edit /etc/bash.bashrc<br />
Add alias lines:<br />
<code>alias z='ls -l'</code><br />
Logout/login to save/use</p>
]]></content:encoded>
			<wfw:commentRss>http://notes.hyperhawk.com/linux/ubuntu-save-alias-373.htm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

