<?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>remidian.com &#187; *nix</title>
	<atom:link href="http://remidian.com/category/nix/feed" rel="self" type="application/rss+xml" />
	<link>http://remidian.com</link>
	<description>Braindumps of Remi Visser, freelance Oracle DBA.</description>
	<lastBuildDate>Mon, 02 Apr 2012 12:18:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>awk</title>
		<link>http://remidian.com/nix/os-commands/awk.html</link>
		<comments>http://remidian.com/nix/os-commands/awk.html#comments</comments>
		<pubDate>Sat, 13 Oct 2007 07:03:23 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>
		<category><![CDATA[awk]]></category>

		<guid isPermaLink="false">http://remidian.com/nix/os-commands/awk.html</guid>
		<description><![CDATA[Awk dumps. Count number of bytes in multiple directories I have been busy moveing (scp-ing/reorganising) large numer of databases over the network, this little awk script makes me able to count the number of bytes and thus check if my nighlty scp&#8217;s didn&#8217;t miss a byte. (or two) /cygdrive/c/oracle/oradata/DB01/DB01 $ find . -name &#34;*DBF&#34; -exec [...]]]></description>
			<content:encoded><![CDATA[<p>
Awk dumps.<span id="more-63"></span>
</p>
<h3>Count number of bytes in multiple directories</h3>
<p>I have been busy moveing (scp-ing/reorganising) large numer of databases over the network, this little awk script makes me able to count the number of bytes and thus check if my nighlty scp&#8217;s didn&#8217;t miss a byte. (or two)</p>
<pre>
/cygdrive/c/oracle/oradata/DB01/DB01
$ find . -name &quot;*DBF&quot; -exec ls -l {} \;
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 10493952 Oct&nbsp;&nbsp;9 16:49 ./DB01/DATAFILE/O1_MF_TEST_3HSWQYNH_.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 104865792 Oct&nbsp;&nbsp;9 16:49 ./EXAMPLE01.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 293412864 Oct&nbsp;&nbsp;9 16:49 ./P1PERG001.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 104865792 Oct&nbsp;&nbsp;9 16:49 ./P1PERG002.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 272637952 Oct 13 08:34 ./SYSAUX01.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 513810432 Oct&nbsp;&nbsp;9 16:49 ./SYSTEM01.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 20979712 Oct 13 08:36 ./TEMP01.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 47194112 Oct&nbsp;&nbsp;9 16:49 ./UNDOTBS01.DBF
-rwxrwx&#45;&#45;- 1 Administrators SYSTEM 5251072 Oct&nbsp;&nbsp;9 16:49 ./USERS01.DBF
&nbsp;
/cygdrive/c/oracle/oradata/DB01/DB01
$ find . -name &quot;*DBF&quot; -exec ls -l {} \; | awk &#039;
&gt; BEGIN { BYTES = 0 }
&gt; { BYTES = BYTES + $5 }
&gt; END { print &quot;Total number of bytes = &quot; BYTES}&#039;
Total number of bytes = 1373511680
&nbsp;
/cygdrive/c/oracle/oradata/DB01/DB01
$
&nbsp;
</pre>
<p>
Even shorter.
</p>
<pre>
find /m*/oradata/ai018001/ -name &quot;*dbf&quot; -exec ls -l {} \; | awk &#039;{B+=$5} END {print B}&#039;
&nbsp;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/awk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ls</title>
		<link>http://remidian.com/nix/os-commands/ls.html</link>
		<comments>http://remidian.com/nix/os-commands/ls.html#comments</comments>
		<pubDate>Sun, 23 Sep 2007 16:43:53 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>

		<guid isPermaLink="false">http://remidian.com/uncategorized/ls.html</guid>
		<description><![CDATA[man: NAME: ls, ls &#8211; list directory contents Display only directories in current directory /cygdrive/c/temp $ ls -ld */ drwxr-xr-x+ 2 rz4tlj mkgroup-l-d 0 Sep 18 07:50 _backup_18-SEP-2007/ &#160; /cygdrive/c/temp $]]></description>
			<content:encoded><![CDATA[<p>
man: NAME: ls, ls &#8211; list directory contents<span id="more-61"></span>
</p>
<h6>Display only directories in current directory</h6>
<pre>
/cygdrive/c/temp $ ls -ld */
drwxr-xr-x+ 2 rz4tlj mkgroup-l-d 0 Sep 18 07:50 _backup_18-SEP-2007/
&nbsp;
/cygdrive/c/temp $ 
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/ls.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mailx</title>
		<link>http://remidian.com/nix/os-commands/mailx.html</link>
		<comments>http://remidian.com/nix/os-commands/mailx.html#comments</comments>
		<pubDate>Fri, 24 Aug 2007 10:24:30 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>

		<guid isPermaLink="false">http://remidian.com/uncategorized/mailx.html</guid>
		<description><![CDATA[man: NAME: mailx, mail &#8211; interactive message processing system send file as attachment Use uuencode to encode a file and pipe it to mailx to be send as attachment (when you quickly need a file on your desktop it&#8217;s faster then ftp&#8230;) uuencode file to mailx $ uuencode file.txt file.txt &#124; mailx -s file.txt &#60;your-email-address&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>
man: NAME: mailx, mail &#8211; interactive message processing system<span id="more-55"></span>
</p>
<h3>send file as attachment</h3>
<p>
Use <code>uuencode</code> to encode a file and pipe it to mailx to be send as attachment (when you quickly need a file on your desktop it&#8217;s faster then ftp&#8230;)
</p>
<h6>uuencode file to mailx</h6>
<pre>
$ uuencode file.txt file.txt | mailx -s file.txt &lt;your-email-address&gt;
$ 
</pre>
<p>
In my environment the -r flag (return address) is needed since my mailserver is blocking mail without a known email address reply header.
</p>
<h6>uuencode file to mailx with -r flag</h6>
<pre>
$ uuencode file.txt file.txt | mailx -s file.txt -r &lt;your-email-address&gt; &lt;your-email-address&gt;
$ 
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/mailx.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download and Install of Java (JRE) on Centos</title>
		<link>http://remidian.com/nix/download-and-install-of-java-jdk.html</link>
		<comments>http://remidian.com/nix/download-and-install-of-java-jdk.html#comments</comments>
		<pubDate>Thu, 16 Aug 2007 06:18:16 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[*nix]]></category>

		<guid isPermaLink="false">http://remidian.com/nix/download-and-install-of-java-jdk.html</guid>
		<description><![CDATA[Here&#8217;s how I installed JDK on Centos (thanks to http://www.trading-shim.org/faq/?java) Download Go to http://java.sun.com/javase/downloads/index.jsp and download the desired file. Extract the .bin file [root@localhost tmp]# chmod 755 j2re-1_4_2_15-linux-i586-rpm.bin [root@localhost tmp]# ./j2re-1_4_2_15-linux-i586-rpm.bin Install the .rpm file [root@localhost tmp]# rpm -Uvh j2re-1_4_2_15-linux-i586.rpm Preparing&#46;..&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;########################################### [100%] &#160;&#160; 1:j2re&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; ########################################### [100%] &#160; Adjust environment Finally add the path to the [...]]]></description>
			<content:encoded><![CDATA[<p>
Here&#8217;s how I installed JDK on Centos (thanks to <a target="_blank" class="link-dest-external" href="http://www.trading-shim.org/faq/?java">http://www.trading-shim.org/faq/?java</a>) <span id="more-48"></span>
</p>
<h3>
Download<br />
</h3>
<p>
Go to <a target="_blank" class="link-dest-external" href="http://java.sun.com/javase/downloads/index.jsp">http://java.sun.com/javase/downloads/index.jsp</a> and download the desired file.
</p>
<h3>Extract the .bin file</h3>
<pre>
[root@localhost tmp]# chmod 755 j2re-1_4_2_15-linux-i586-rpm.bin
[root@localhost tmp]# ./j2re-1_4_2_15-linux-i586-rpm.bin
</pre>
<h3>Install the .rpm file</h3>
<pre>
[root@localhost tmp]# rpm -Uvh j2re-1_4_2_15-linux-i586.rpm
Preparing&#46;..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;########################################### [100%]
&nbsp;&nbsp; 1:j2re&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ########################################### [100%]
&nbsp;
</pre>
<h3>Adjust environment</h3>
<p>
Finally add the path to the java executable in the /etc/profile file.
</p>
<h3>Test</h3>
<pre>
$ java -version
java version &quot;1.6.0_02&quot;
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing)
</pre>
<h3>View symbolic links </h3>
<p>
In my environment a symbolic link is created in /usr/bin/java which points to /usr/java/default/bin/java.
</p>
<pre>
$ which java
/usr/bin/java
$ ls -la /usr/bin/java
lrwxrwxrwx 1 root root 26 Jul 31 14:38 /usr/bin/java -&gt; /usr/java/<strong>default</strong>/bin/java
$ ls -la /usr/java/
total 40
drwxr-xr-x&nbsp;&nbsp;4 root root 4096 Jul 31 14:38 .
drwxr-xr-x 14 root root 4096 Jun 14 21:03 ..
lrwxrwxrwx&nbsp;&nbsp;1 root root&nbsp;&nbsp; 16 Jul 31 14:38 <strong>default</strong> -&gt; /usr/java/<strong>latest</strong>
drwxr-xr-x&nbsp;&nbsp;7 root root 4096 Jul 31 14:16 j2re1.4.2_15
drwxr-xr-x&nbsp;&nbsp;9 root root 4096 Jul 31 14:38 jdk1.6.0_02
lrwxrwxrwx&nbsp;&nbsp;1 root root&nbsp;&nbsp; 21 Jul 31 14:38 <strong>latest</strong> -&gt; /usr/java/jdk1.6.0_02
$
&nbsp;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/download-and-install-of-java-jdk.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>nohup</title>
		<link>http://remidian.com/nix/os-commands/nohup.html</link>
		<comments>http://remidian.com/nix/os-commands/nohup.html#comments</comments>
		<pubDate>Wed, 15 Aug 2007 07:45:59 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>

		<guid isPermaLink="false">http://remidian.com/nix/os-commands/nohup.html</guid>
		<description><![CDATA[man: NAME: nohup &#8211; run a command immune to hangups nohup and SQL*Plus Nohup and SQL*Plus can be easily used together: $ nohup sqlplus -s remi/remivisser @update.sql &#38; [4]&#160;&#160;&#160;&#160; 14433 $ Sending output to nohup.out &#160; $ $ Prevent password from being displayed in the ps list $ export password=remivisser $ nohup sqlplus -s remi/${password} [...]]]></description>
			<content:encoded><![CDATA[<p>
man: NAME:  nohup &#8211; run a command immune to hangups <span id="more-47"></span>
</p>
<h3>nohup and SQL*Plus</h3>
<p>
Nohup and SQL*Plus can be easily used together:
</p>
<pre>
$ nohup sqlplus -s remi/remivisser @update.sql &amp;
[4]&nbsp;&nbsp;&nbsp;&nbsp; 14433
$ Sending output to nohup.out
&nbsp;
$
$
</pre>
<h6>Prevent password from being displayed in the ps list</h6>
<pre>
$ export password=remivisser
$ nohup sqlplus -s remi/${password} @update.sql &amp;
[8]&nbsp;&nbsp;&nbsp;&nbsp; 16768
$ Sending output to nohup.out
$
$
&nbsp;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/nohup.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yum</title>
		<link>http://remidian.com/nix/yum.html</link>
		<comments>http://remidian.com/nix/yum.html#comments</comments>
		<pubDate>Fri, 10 Aug 2007 05:22:23 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[*nix]]></category>

		<guid isPermaLink="false">http://remidian.com/nix/yum.html</guid>
		<description><![CDATA[&#8216;Everythin&#8217; about yum &#8211; Yellowdog Updater Modified. Yum is an interactive, automated update program which can be used for maintaining systems using rpm. Enable YUM behind a Proxy Server To enable yum behind a proxy server add the http_proxy environment variable to you shell: $ export http_proxy=&#039;http://&#60;username&#62;:&#60;password&#62;@&#60;proxyserver&#62;:&#60;port&#62;&#039; &#160; yum update Below is the logging of [...]]]></description>
			<content:encoded><![CDATA[<p>
&#8216;Everythin&#8217; about <a target="_blank" class="link-dest-external" href="http://www.centos.org/docs/5/html/yum/">yum</a> &#8211; Yellowdog Updater Modified. Yum is an interactive, automated update program which can be used for maintaining systems using rpm. <span id="more-43"></span>
</p>
<h3>
Enable YUM behind a Proxy Server<br />
</h3>
<p>
To enable yum behind a proxy server add the http_proxy environment variable to you shell:
</p>
<pre>
$ export http_proxy=&#039;http://&lt;username&gt;:&lt;password&gt;@&lt;proxyserver&gt;:&lt;port&gt;&#039;
&nbsp;
</pre>
<h3>yum update</h3>
<p>
Below is the logging of a &#8216;yum update&#8217; session.
</p>
<pre>
[root@localhost ~]# yum update
Loading &quot;installonlyn&quot; plugin
Setting up Update Process
Setting up repositories
base&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100% |=========================| 1.1 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
updates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100% |=========================|&nbsp;&nbsp;951 B&nbsp;&nbsp;&nbsp;&nbsp;00:00
addons&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100% |=========================|&nbsp;&nbsp;951 B&nbsp;&nbsp;&nbsp;&nbsp;00:00
extras&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100% |=========================| 1.1 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
Reading repository metadata in from local files
primary.xml.gz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100% |=========================| 249 kB&nbsp;&nbsp;&nbsp;&nbsp;00:01
updates&nbsp;&nbsp; : ################################################## 552/552
Added 25 new packages, deleted 0 old in 0.76 seconds
primary.xml.gz&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100% |=========================|&nbsp;&nbsp;62 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
extras&nbsp;&nbsp;&nbsp;&nbsp;: ################################################## 233/233
Added 5 new packages, deleted 0 old in 0.21 seconds
Resolving Dependencies
&#45;-&gt; Populating transaction set with selected packages. Please wait.
&#45;&#45;-&gt; Downloading header for cups to pack into transaction set.
cups-1.2.4-11.5.3.el5.i38 100% |=========================| 162 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
&#45;&#45;-&gt; Package cups.i386 1:1.2.4-11.5.3.el5 set to be updated
&#45;&#45;-&gt; Downloading header for cups-libs to pack into transaction set.
cups-libs-1.2.4-11.5.3.el 100% |=========================|&nbsp;&nbsp;38 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
&#45;&#45;-&gt; Package cups-libs.i386 1:1.2.4-11.5.3.el5 set to be updated
&#45;-&gt; Running transaction check
&nbsp;
Dependencies Resolved
&nbsp;
=============================================================================
 Package&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Arch&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Version&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Repository&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Size
=============================================================================
Updating:
 cups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:1.2.4-11.5.3.el5&nbsp;&nbsp;updates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.7 M
 cups-libs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1:1.2.4-11.5.3.el5&nbsp;&nbsp;updates&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 178 k
&nbsp;
Transaction Summary
=============================================================================
Install&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0 Package(s)
Update&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 Package(s)
Remove&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Package(s)
&nbsp;
Total download size: 2.9 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): cups-1.2.4-11.5.3. 100% |=========================| 2.7 MB&nbsp;&nbsp;&nbsp;&nbsp;00:05
(2/2): cups-libs-1.2.4-11 100% |=========================| 178 kB&nbsp;&nbsp;&nbsp;&nbsp;00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
&nbsp;&nbsp;Updating&nbsp;&nbsp;: cups-libs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;######################### [1/4]
&nbsp;&nbsp;Updating&nbsp;&nbsp;: cups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ######################### [2/4]
&nbsp;&nbsp;Cleanup&nbsp;&nbsp; : cups&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ######################### [3/4]
&nbsp;&nbsp;Cleanup&nbsp;&nbsp; : cups-libs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;######################### [4/4]
&nbsp;
Updated: cups.i386 1:1.2.4-11.5.3.el5 cups-libs.i386 1:1.2.4-11.5.3.el5
Complete!
[root@localhost ~]#
&nbsp;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/yum.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos 5.0 install fails, kernel panic</title>
		<link>http://remidian.com/nix/vmware/centos-50-install-fails-kernel-panic.html</link>
		<comments>http://remidian.com/nix/vmware/centos-50-install-fails-kernel-panic.html#comments</comments>
		<pubDate>Thu, 09 Aug 2007 17:40:45 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://remidian.com/nix/centos-50-install-fails-kernel-panick.html</guid>
		<description><![CDATA[The following configuration is at place, VMWare Server (1.0.3) on Windows XP (host operating system). Installation of Centos 5.0 fails with kernel panic. I can not get Centos 5.0 installed, I choose, Red Hat Enterprise Linux 4 as the &#8216;Guest Operating System&#8217; the boot starts fine, but after a while the kernel panic errors appear [...]]]></description>
			<content:encoded><![CDATA[<p>
The following configuration is at place, VMWare Server (1.0.3) on Windows XP (host operating system). Installation of Centos 5.0 fails with kernel panic.<span id="more-42"></span>
</p>
<p>
I can not get Centos 5.0 installed, I choose, Red Hat Enterprise Linux 4 as the &#8216;Guest Operating System&#8217; the boot starts fine, but after a while the kernel panic errors appear and the install freezes.
</p>
<h3>
Solution (workaround)<br />
</h3>
<p>
As I did not have the time to sort this one out, I downloaded a preconfigured VM Machine CentOS 5.0 server install from thoughtpolice.co.uk, <a target="_blank" class="link-dest-external" href="http://www.thoughtpolice.co.uk/vmware/#centos5.0">http://www.thoughtpolice.co.uk/vmware/#centos5.0</a> (ziparchive is 399M, extracted it is 8G). This one is running stable now, thank you thought police! Saved my day.
</p>
<h3>Screen Captures</h3>
<p>
<a title="" href='http://remidian.com/wp-content/uploads/2007/08/kernel-panic_001.jpg'><img src='http://remidian.com/wp-content/uploads/2007/08/kernel-panic_001.jpg' alt='Centos welcome screen' /></a></p>
<p><a title="" href='http://remidian.com/wp-content/uploads/2007/08/kernel-panic_002.jpg'><img src='http://remidian.com/wp-content/uploads/2007/08/kernel-panic_002.jpg' alt='Kernel Panic abort' /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/vmware/centos-50-install-fails-kernel-panic.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pipe</title>
		<link>http://remidian.com/nix/os-commands/pipe.html</link>
		<comments>http://remidian.com/nix/os-commands/pipe.html#comments</comments>
		<pubDate>Wed, 28 Mar 2007 15:02:28 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>

		<guid isPermaLink="false">http://remidian.com/uncategorized/export-import-using-pipe.html</guid>
		<description><![CDATA[man: NAME: pipe &#8211; create an interprocess channel import from compressed export file Example below demonstrates how to import &#8216;directly&#8217; from a compressed file. Handy when you have not enough space on your mountpoint to unpack the file. mknod pipe_db01 p &#160; zcat exp.dmp.Z &#62; pipe_db01 &#38; &#160; sleep 3 &#160; imp / file=pipe_db01 &#46;.. [...]]]></description>
			<content:encoded><![CDATA[<p>
man: NAME: pipe &#8211; create an interprocess channel <span id="more-39"></span>
</p>
<h3>import from compressed export file</h3>
<p>
Example below demonstrates how to import &#8216;directly&#8217; from a compressed file. Handy when you have not enough space on your mountpoint to unpack the file.
</p>
<pre>
mknod pipe_db01 p
&nbsp;
zcat exp.dmp.Z &gt; pipe_db01 &amp;
&nbsp;
sleep 3
&nbsp;
imp / file=pipe_db01 &#46;.. 
&nbsp;
</pre>
<p>
Same as above but now for the other compression utilities.
</p>
<h6>(win)zip</h6>
<pre>
unzip -p exp.dmp.zip &gt; pipe_db01 &amp;
</pre>
<h6>gzip</h6>
<pre>
gunzip &lt; exp.dmp.gz &gt; pipe_db01 &amp;
&nbsp;
gzip -cNf &lt; pipe_db01 &gt; exp.dmp.Z &amp;
gunzip -c exp.dmp.Z &gt; pipe_db01 &amp;
</pre>
<h6>cpio</h6>
<pre>
cpio -icvdu &lt; exp.dmp.cpio &gt; pipe_db01 &amp;
</pre>
<h3>The other way around</h3>
<p>
Export to pipe and compress.
</p>
<pre>
$ mknod c.pipe p
$ nohup compress &lt; c.pipe &gt; exp_DB01_2007-10-31.dmp.Z &amp; 
$ nohup exp system/$(cat .pwd) file=c.pipe owner=inotime log=exp_DB01_2007-10-31.log &amp; 
&nbsp;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/pipe.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configure telnet</title>
		<link>http://remidian.com/nix/configure-telnet.html</link>
		<comments>http://remidian.com/nix/configure-telnet.html#comments</comments>
		<pubDate>Wed, 07 Feb 2007 06:57:54 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[*nix]]></category>

		<guid isPermaLink="false">http://remidian.com/uncategorized/configure-telnet.html</guid>
		<description><![CDATA[Install and configure telnet on fresh Debian install Install (download) telnet Install telnet with the apt-get utility as shown below: $ apt-get install telnetd Configure telnet Upon install the telnet server is enabled $ cat /etc/inetd.conf To start telnet server issue command below. $ /usr/sbin/in.telnetd $ $ netstat -a &#124; grep telnet]]></description>
			<content:encoded><![CDATA[<p>Install and configure telnet on fresh Debian install<span id="more-38"></span></p>
<h3>Install (download) telnet</h3>
<p>Install telnet with the apt-get utility as shown below:</p>
<pre>
$ apt-get install telnetd
</pre>
<h3>Configure telnet</h3>
<p>
Upon install the telnet server is enabled
</p>
<pre>
$ cat /etc/inetd.conf
</pre>
<p>
To start telnet server issue command below.
</p>
<pre>
$ /usr/sbin/in.telnetd
$
$ netstat -a | grep telnet
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/configure-telnet.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>find</title>
		<link>http://remidian.com/nix/os-commands/find.html</link>
		<comments>http://remidian.com/nix/os-commands/find.html#comments</comments>
		<pubDate>Sun, 03 Sep 2006 19:24:35 +0000</pubDate>
		<dc:creator>remivisser</dc:creator>
				<category><![CDATA[os commands]]></category>

		<guid isPermaLink="false">http://remidian.com/uncategorized/find.html</guid>
		<description><![CDATA[man: NAME: find &#8211; find files Find/Remove old files Find files modified more then 365 days ago; find . -mtime +365 -exec ls -l {} \; Use touch to test $ touch -t 197801130300 oldfile $ find . -mtime +365 -exec rm {} \; $ ls oldfile ls: oldfile: No such file or directory]]></description>
			<content:encoded><![CDATA[<p>
man: NAME: find &#8211; find files <span id="more-20"></span>
</p>
<h3>Find/Remove old files</h3>
<p>
Find files modified more then 365 days ago;
</p>
<pre>
find . -mtime +365 -exec ls -l {} \;
</pre>
<p>
Use <code>touch</code> to test
</p>
<pre>
$ touch -t 197801130300 oldfile
$ find . -mtime +365 -exec rm {} \;
$ ls oldfile
ls: oldfile: No such file or directory
</pre>
]]></content:encoded>
			<wfw:commentRss>http://remidian.com/nix/os-commands/find.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

