<?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>NewPush &#187; Patch</title> <atom:link href="http://newpush.com/tag/patch/feed/" rel="self" type="application/rss+xml" /><link>http://newpush.com</link> <description>Server Hosting, Data Warehouse Hosting, Collaboration</description> <lastBuildDate>Mon, 30 Jan 2012 15:40:45 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>AIX 6.1 OS Patches the Easy Way</title><link>http://newpush.com/2010/01/aix-6-1-os-patches-the-easy-way/</link> <comments>http://newpush.com/2010/01/aix-6-1-os-patches-the-easy-way/#comments</comments> <pubDate>Tue, 26 Jan 2010 04:43:24 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[AIX 6.1]]></category> <category><![CDATA[IBM]]></category> <category><![CDATA[Patch]]></category> <category><![CDATA[smit]]></category> <category><![CDATA[smitty]]></category> <category><![CDATA[SUMA]]></category><guid isPermaLink="false">http://www.wdream.com/?p=464</guid> <description><![CDATA[Summary Patching AIX can be intimidating at first for someone coming from the Windows / Linux world. AIX has capabilities that natively support production quality operations. One of these qualities is that one can install patches on an alternative volume, &#8230; <a href="http://newpush.com/2010/01/aix-6-1-os-patches-the-easy-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<h4>Summary</h4><p>Patching AIX can be intimidating at first for someone coming from the Windows / Linux world.  AIX has capabilities that natively support production quality operations.  One of these qualities is that one can install patches on an alternative volume, make that volume bootable for testing and allowing an easy way out if something doesn&#8217;t work right.  Since AIX 5.3, it is also possible to install patches on the same volume as the boot volume and define boot profiles to boot at a certain patch level.  In this post we will just look at the basics of patching, emulating the equivalent of &#8220;yum update&#8221; or the &#8220;windows express update&#8221; (taking Linux / Windows as analogy).</p><h4>Steps</h4><ul><li>Download available patches for current technology level:<code><br /> smitty suma &lt;Enter><br /> Download Updates Now (Easy) &lt;Enter><br /> Download All Latest Fixes &lt;Enter> &lt;Enter></code></li><li>Install patches:<code><br /> smitty update_all <enter><br /> specify INPUT device: /usr/sys/inst.images/installp/ppc &lt;Enter><br /> go down to "ACCEPT new license agreements?" &lt;Tab> (to  switch to "yes") &lt;Enter> &lt;Enter></enter></code></li></ul><p>That&#8217;s it.  You can reboot in case there were kernel updates or APARs that recommend a reboot.  To check the current patch level, you can run <code>oslevel -s</code>.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2010/01/aix-6-1-os-patches-the-easy-way/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to create or apply a patch?</title><link>http://newpush.com/2009/05/how-to-create-or-apply-a-patch/</link> <comments>http://newpush.com/2009/05/how-to-create-or-apply-a-patch/#comments</comments> <pubDate>Tue, 05 May 2009 22:20:41 +0000</pubDate> <dc:creator>Balazs</dc:creator> <category><![CDATA[AIX]]></category> <category><![CDATA[Dedicated Servers]]></category> <category><![CDATA[Hosting Support]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac OS X]]></category> <category><![CDATA[Managed Hosting]]></category> <category><![CDATA[OpenBSD]]></category> <category><![CDATA[Patch]]></category> <category><![CDATA[Programming]]></category><guid isPermaLink="false">http://www.wdream.com/?p=177</guid> <description><![CDATA[Often programmers that haven&#8217;t worked with patches before find it intimidating. Patches are actually very simple to deal with. Here is how. Creating Patches diff -u oldfile newfile > filename.patch or diff -urN /olddir /newdir > filename.patch or diff -urN &#8230; <a href="http://newpush.com/2009/05/how-to-create-or-apply-a-patch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Often programmers that haven&#8217;t worked with patches before find it intimidating.  Patches are actually very simple to  deal with.   Here is how.</p><h4>Creating Patches</h4><pre>

diff -u oldfile newfile > filename.patch
</pre><p>or</p><pre>
diff -urN /olddir /newdir > filename.patch
</pre><p>or</p><pre>
diff -urN -X excludes /olddir /newdir > filename.patch
</pre><p>diff options:<br /> <code>-u</code> Output (default 2) lines of unified context.<br /> <code>-r </code> Recursively compare any subdirectories found.<br /> <code>-N</code> Treat absent files as empty.<br /> <code>-X FILE</code> Exclude files that match any pattern in <code>FILE</code>.</p><p>Note: The <code>-u</code> options can be replaced with <code>-c</code> to create a context format diff file with a setting of two lines.</p><h4>Applying Patches</h4><pre>

gzip -cd patch.gz | patch -p0
</pre><p>or</p><pre>
bzip2 -dc patch.bz2 | patch -p0
</pre><p>or</p><pre>
patch -p0 < filename.patch
</pre><p>patch options:<br /> <code>-p NUM</code> Strip <code>NUM</code> leading components from file names.</p> ]]></content:encoded> <wfw:commentRss>http://newpush.com/2009/05/how-to-create-or-apply-a-patch/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: newpush.com @ 2012-02-09 09:24:24 by W3 Total Cache -->
