<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6643635510228384218</id><updated>2024-11-01T03:33:19.574-07:00</updated><category term="Linux"/><category term="Red Hat"/><category term="bash"/><category term="Ubuntu"/><category term="CentOS"/><category term="find"/><category term="Amazon EC2"/><category term="MythTV"/><category term="Xen"/><category term="command line"/><category term="grep"/><category term="sed"/><category term="tar"/><category term="vi"/><category term="AoE"/><category term="Fedora Core"/><category term="HP UX"/><category term="Wireshark"/><category term="chkconfig"/><category term="du"/><category term="echo"/><category term="init"/><category term="kernel"/><category term="rpm"/><category term="ssh"/><category term="yum"/><category term="CDROM mount"/><category term="Coraid"/><category term="DNS"/><category term="DVD mount"/><category term="Debian"/><category term="ISO"/><category term="Legato"/><category term="Lexmark"/><category term="Lexmark Z645"/><category term="Netflix"/><category term="Networker"/><category term="Novell"/><category term="PostgreSQL"/><category term="Splunk"/><category term="SuSE"/><category term="TiVO"/><category term="capistrano"/><category term="chmod"/><category term="crontab"/><category term="cut"/><category term="date"/><category term="dig"/><category term="domU"/><category term="email"/><category term="grub"/><category term="gzip"/><category term="hostname"/><category term="iPad 2"/><category term="ip"/><category term="mysql"/><category term="pv"/><category term="replace"/><category term="ripping DVDs"/><category term="ruby"/><category term="script"/><category term="xargs"/><category term="/etc/HOSTNAME"/><category term="/etc/hosts.deny"/><category term="/var/run"/><category term="32bit"/><category term="64bit"/><category term="AirVideo Server"/><category term="BYUI"/><category term="Bootup after.local before.local startup runlevel"/><category term="Cisco"/><category term="Custom commands"/><category term="FreeBSD"/><category term="He-Man"/><category term="IBM"/><category term="KVM"/><category term="Linux/Unix Society"/><category term="Mint"/><category term="Mythweb"/><category term="NTP"/><category term="Netscape"/><category term="PID"/><category term="Prodigy"/><category term="QEMU"/><category term="Rexburg Idaho"/><category term="Roku"/><category term="S3"/><category term="SQL"/><category term="Seinfeld"/><category term="Solaris"/><category term="Unix"/><category term="VMWare"/><category term="VPN"/><category term="Windows"/><category term="Yast"/><category term="YouTube"/><category term="Z645"/><category term="administration"/><category term="align"/><category term="avoiding database corruption"/><category term="backup DVD collection"/><category term="backup MySQL database"/><category term="bind"/><category term="blogger. javascript. html"/><category term="bootloader"/><category term="bzip"/><category term="bzip2"/><category term="cap"/><category term="cat"/><category term="clean"/><category term="comment lines"/><category term="compose email"/><category term="cups"/><category term="db_load"/><category term="dd"/><category term="device drivers for Linux"/><category term="df"/><category term="dhcpd"/><category term="dmidecode"/><category term="dom0"/><category term="drift"/><category term="echoe"/><category term="encryption bypass"/><category term="ffmpeg"/><category term="files"/><category term="for loops"/><category term="ftp"/><category term="gem"/><category term="head"/><category term="host"/><category term="init 3"/><category term="java"/><category term="kickstart"/><category term="kill"/><category term="ldap"/><category term="link"/><category term="lpr"/><category term="lsmod"/><category term="lv"/><category term="lvm2"/><category term="mocha"/><category term="modinfo"/><category term="mount"/><category term="mutt"/><category term="name"/><category term="named"/><category term="nettl"/><category term="nmblookup"/><category term="nomodeset"/><category term="nslookup"/><category term="openSuSE"/><category term="openldap"/><category term="phpldapadmin"/><category term="pkgadd"/><category term="print heads"/><category term="python"/><category term="rake"/><category term="rc.local"/><category term="regex"/><category term="repair MySQL database"/><category term="replication"/><category term="restore MySQL database"/><category term="ripping CDs"/><category term="rubygems"/><category term="sftpd"/><category term="shell"/><category term="shutdown"/><category term="slapd"/><category term="sleep"/><category term="slurpd"/><category term="sort"/><category term="ssh-keygen"/><category term="swinstall"/><category term="system-config"/><category term="tag cloud generator"/><category term="tail"/><category term="tcpdump"/><category term="telnet"/><category term="terracotta"/><category term="udev"/><category term="uniq"/><category term="update-rc.d-insserv"/><category term="usb"/><category term="useradd"/><category term="vacuumdb"/><category term="vcpu-pin"/><category term="vg"/><category term="virt-clone"/><category term="virtual users"/><category term="vobcopy"/><category term="vsftpd"/><category term="wall"/><category term="webmin"/><category term="whois"/><category term="wireless"/><category term="wireless interface"/><category term="wodim"/><category term="xfs"/><category term="xfs_freeze"/><category term="xm"/><category term="zip"/><category term="{1..10}"/><category term="{a..z}"/><title type='text'>Masters of the Linux Universe</title><subtitle type='html'>This is a repository of all of my Linux/Unix writings as well as useful tips and tricks for systems administration, engineering, and programming.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-9051387444621468326</id><published>2014-08-12T15:26:00.003-07:00</published><updated>2014-08-13T09:01:38.926-07:00</updated><title type='text'>Very useful bash $PS1 setting</title><content type='html'>My ~/.bashrc settings have a killer setting for how my shell prompt looks:&lt;br /&gt;
&lt;br /&gt;
case $- in&lt;br /&gt;
&amp;nbsp; &amp;nbsp;*i*) &lt;br /&gt;
export PS1=&quot;\[$(tput bold)\]\[$(tput setaf 6)\]\t \[$(tput setaf 2)\][\[$(tput setaf 4)\]\u\[$(tput setaf 1)\]@\[$(tput setaf 4)\]\H \w \[$(tput setaf 6)\]\[$(tput setaf 2)\]]\[$(tput setaf 4)\] \$? \\$ \[$(tput sgr0)\]&quot; ;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;*) &amp;nbsp;return ;;&lt;br /&gt;
esac&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result:&lt;br /&gt;
&lt;br /&gt;
22:19:43 [myuser@myserver.example.com ~ ] 0 $&lt;br /&gt;
&lt;br /&gt;
This shows the current system time, username@server FQDN, pwd, exit code of last command, and regular user or root prompt.&lt;br /&gt;
&lt;br /&gt;
This works in both interactive and non-interactive shells (hence the case statement). &amp;nbsp;Enjoy. &amp;nbsp;Additional info can be found here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.kirsle.net/wizards/ps1.html&quot;&gt;Bash $PS1 generator&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.thegeekstuff.com/2008/09/bash-shell-ps1-10-examples-to-make-your-linux-prompt-like-angelina-jolie/&quot;&gt;10 Bash $PS1 examples&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://bashrcgenerator.com/&quot; target=&quot;_blank&quot;&gt;Bashrc generator&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/9051387444621468326/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/9051387444621468326' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/9051387444621468326'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/9051387444621468326'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2014/08/very-useful-bash-ps1-setting.html' title='Very useful bash $PS1 setting'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7881595746805025964</id><published>2014-07-09T13:45:00.003-07:00</published><updated>2014-07-09T13:46:02.890-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="regex"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><title type='text'>Ruby Regex</title><content type='html'>Just wanted to pass along two very useful sites for regular expressions with Ruby&lt;br /&gt;
&lt;br /&gt;
Ruby regex calculator:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://rubular.com/&quot;&gt;http://rubular.com/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Ruby regex documentation:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.tutorialspoint.com/ruby/ruby_regular_expressions.htm&quot;&gt;http://www.tutorialspoint.com/ruby/ruby_regular_expressions.htm&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7881595746805025964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7881595746805025964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7881595746805025964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7881595746805025964'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2014/07/ruby-regex.html' title='Ruby Regex'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7656844519681699039</id><published>2014-04-01T16:45:00.000-07:00</published><updated>2014-04-01T16:45:22.867-07:00</updated><title type='text'>MOTD on Amazon Linux</title><content type='html'>Just had to pass this along, very useful.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://coderwall.com/p/hr_9pw&quot;&gt;https://coderwall.com/p/hr_9pw&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7656844519681699039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7656844519681699039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7656844519681699039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7656844519681699039'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2014/04/motd-on-amazon-linux.html' title='MOTD on Amazon Linux'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-1393361717647659478</id><published>2013-05-22T18:26:00.002-07:00</published><updated>2013-05-22T18:28:27.352-07:00</updated><title type='text'>Google search plugin for terminator</title><content type='html'>This is going to save me 10 minutes a day. &amp;nbsp;Props to the developer.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/choffee/terminator-plugins&quot;&gt;https://github.com/choffee/terminator-plugins&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is a plugin which adds a function to the context menu of &lt;a href=&quot;http://www.tenshu.net/p/terminator.html&quot;&gt;terminator&lt;/a&gt;&amp;nbsp;(my favorite Linux-based terminal emulator) which will search Google for the selected text. &amp;nbsp;Before I discovered this, I would select the text, copy it to a browser like Chrome or Firefox, then searched Google. &amp;nbsp;This is going to make me much more efficient. </content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/1393361717647659478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/1393361717647659478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1393361717647659478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1393361717647659478'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2013/05/google-search-plugin-for-terminator.html' title='Google search plugin for terminator'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7058556402279754583</id><published>2013-01-16T16:49:00.002-08:00</published><updated>2013-01-16T16:49:23.843-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="capistrano"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Capistrano with sudo</title><content type='html'>Capistrano with sudo&lt;br /&gt;
&lt;br /&gt;
An easy way to execute commands with sudo from within a capistrano job is to add the prefix&lt;b&gt; &amp;nbsp;#{sudo}&lt;/b&gt; to a&amp;nbsp;command within your capistrano task. &amp;nbsp;For example:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 13px; line-height: 19px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;task :make_protected_dir, :roles =&amp;gt;db do
  run &quot;#{sudo} mkdir /root/mydir&quot;
end&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Another example:
&lt;br /&gt;
&lt;pre style=&quot;background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 13px; line-height: 19px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, &#39;Liberation Mono&#39;, Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;&quot;&gt;task :restart_httpd, :roles =&amp;gt;app do
  run &quot;#{sudo} /etc/init.d/httpd restart&quot;
end&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Then from the command line, load your file with these entries:&lt;br /&gt;
&lt;br /&gt;
cap -f capfile&lt;br /&gt;
&lt;br /&gt;
Then, execute the commands:&lt;br /&gt;
&lt;br /&gt;
cap make_protected_dir&lt;br /&gt;
&lt;br /&gt;
cap restart_httpd&lt;br /&gt;
&lt;br /&gt;
More info:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://github.com/capistrano/capistrano/wiki/2.x-DSL-Configuration-Tasks-Task&quot;&gt;https://github.com/capistrano/capistrano/wiki/2.x-DSL-Configuration-Tasks-Task&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7058556402279754583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7058556402279754583' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7058556402279754583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7058556402279754583'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2013/01/capistrano-with-sudo.html' title='Capistrano with sudo'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-515770153363236091</id><published>2013-01-01T14:10:00.002-08:00</published><updated>2013-01-01T14:10:51.057-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="S3"/><title type='text'>S3 Utility</title><content type='html'>Here is a great tool for working with Amazon S3. &amp;nbsp;It even has a wide variety of repos available (easier than compiling from source). &amp;nbsp;s3cmd is very easy to setup. &amp;nbsp;It is the easiest to work with of all the S3 tools I have used.&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://s3tools.org/s3cmd&quot;&gt;http://s3tools.org/s3cmd&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/515770153363236091/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/515770153363236091' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/515770153363236091'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/515770153363236091'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2013/01/s3-utility.html' title='S3 Utility'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-6563986087232154900</id><published>2012-08-23T12:53:00.000-07:00</published><updated>2012-08-23T12:53:10.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Trace your python programs</title><content type='html'>Bash programming has a very helpful command of:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;bash -x myscript.sh&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This will show you what bash is doing while running through myscript.sh.  Python has the same functionality, through this command:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;python -m trace --trace myscript.py&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Very useful in debugging python programs. &amp;nbsp;Additional info:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://docs.python.org/library/trace.html&quot;&gt;http://docs.python.org/library/trace.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/6563986087232154900/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/6563986087232154900' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/6563986087232154900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/6563986087232154900'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/08/trace-your-python-programs.html' title='Trace your python programs'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-4099742607689930453</id><published>2012-08-03T12:18:00.000-07:00</published><updated>2012-08-03T12:25:38.240-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh-keygen"/><title type='text'>Create ssh public key from private key</title><content type='html'>If you have a private key and want to create the public key from that (to put in ~/.ssh/authorized_keys, for example), do the following:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;ssh-keygen -f &amp;lt;my_private_key&amp;gt; -y &gt; &amp;lt;my_public_key&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;ssh-keygen -f ~/.ssh/id_rsa -y &amp;gt; ~/.ssh/id_rsa.pub&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #b6d7a8;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
If you are using this to ssh with keys, add my_public_key (eg. ~/.ssh/id_rsa.pub) to ~/.ssh/authorized_keys on the remote server.&lt;br /&gt;&lt;br /&gt;Then ssh with the private key to the remote server to test.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/4099742607689930453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/4099742607689930453' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4099742607689930453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4099742607689930453'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/08/create-public-key-from-private-key.html' title='Create ssh public key from private key'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-3971868290751199606</id><published>2012-05-14T15:31:00.004-07:00</published><updated>2012-05-14T15:32:36.495-07:00</updated><title type='text'>EC2 Bundling an AMI -- Server.InternalError: An internal error has occurred</title><content type='html'>&lt;br /&gt;
Once you try to re-bundle an OS image that has been previously bundled, it will complain about /etc/ec2/amitools/cert-ec2.pem not being present.&amp;nbsp; I figured that was my certificate, but it is&amp;nbsp; EC2&#39;s X.509 public key certificate, not mine (docs are somewhat confusing about that).&amp;nbsp; Since they were stripped out of the AMI last time it was bundled, I reinstalled the tools to restore these certs and no errors any more.&lt;br /&gt;
&lt;br /&gt;
AWS API tools: &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aws.amazon.com/developertools/368&quot;&gt;http://aws.amazon.com/developertools/368&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this helps.&lt;br /&gt;
&lt;br /&gt;
Original EC2 forum posts:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/%20https://forums.aws.amazon.com/thread.jspa?messageID=345021&quot;&gt;https://forums.aws.amazon.com/thread.jspa?messageID=345021&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://forums.aws.amazon.com/message.jspa?messageID=344101&quot;&gt;https://forums.aws.amazon.com/message.jspa?messageID=344101&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/3971868290751199606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/3971868290751199606' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/3971868290751199606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/3971868290751199606'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/05/ec2-bundling-ami-serverinternalerror.html' title='EC2 Bundling an AMI -- Server.InternalError: An internal error has occurred'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-3254360949339775056</id><published>2012-04-25T18:05:00.001-07:00</published><updated>2012-04-25T18:05:53.706-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Ubuntu and EC2</title><content type='html'>Great blog on the nitty gritty of working with EC2:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://alestic.com/&quot;&gt;http://alestic.com/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/3254360949339775056/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/3254360949339775056' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/3254360949339775056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/3254360949339775056'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/04/ubuntu-and-ec2.html' title='Ubuntu and EC2'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-149614800270731881</id><published>2012-03-27T18:02:00.000-07:00</published><updated>2012-03-27T18:02:10.558-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="32bit"/><category scheme="http://www.blogger.com/atom/ns#" term="64bit"/><category scheme="http://www.blogger.com/atom/ns#" term="Cisco"/><category scheme="http://www.blogger.com/atom/ns#" term="Mint"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="VPN"/><title type='text'>Install Cisco AnyConnect on Ubuntu/Debian/Mint 64 bit</title><content type='html'>Looks like there are no 64 bit Cisco AnyConect VPN Clients.&amp;nbsp; Here is a workaround to get them working on a Debian-based 64 bit OS:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.virtualcorner.nl/?page_id=220&quot;&gt;http://www.virtualcorner.nl/?page_id=220&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/149614800270731881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/149614800270731881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/149614800270731881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/149614800270731881'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/03/install-cisco-anyconnect-on.html' title='Install Cisco AnyConnect on Ubuntu/Debian/Mint 64 bit'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-4161724494277832689</id><published>2012-03-26T14:01:00.001-07:00</published><updated>2012-03-26T14:02:32.233-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="nomodeset"/><title type='text'>Linux Mint on Gigabyte GA-Z68X-UD3H-B3</title><content type='html'>I tried to install Linux Mint on a desktop with Gigabyte GA-Z68X-UD3H-B3 motherboard with its Intel raid array configured with two of three hard drives.&amp;nbsp; I wanted to install Linux Mint 12 x64 on the third drive.&amp;nbsp; When trying to boot, I got the error message:&lt;br /&gt;
&lt;br /&gt;
udev timeout killing /sbin/modprobe -bv pci:&lt;br /&gt;
&lt;br /&gt;
I had to add the grub option of &lt;span style=&quot;color: #ff4000;&quot;&gt;nomodeset &lt;span style=&quot;color: black;&quot;&gt;as a kernel paramater.&amp;nbsp; It then was able to install from there.&amp;nbsp; Here are more details:&lt;/span&gt;&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://forums.linuxmint.com/viewtopic.php?f=46&amp;amp;t=95351&amp;amp;p=547012#p545731&quot;&gt;http://forums.linuxmint.com/viewtopic.php?f=46&amp;amp;t=95351&amp;amp;p=547012#p545731&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/4161724494277832689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/4161724494277832689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4161724494277832689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4161724494277832689'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/03/linux-mint-on-gigabyte-ga-z68x-ud3h-b3.html' title='Linux Mint on Gigabyte GA-Z68X-UD3H-B3'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-4848032412688742772</id><published>2012-02-24T14:50:00.001-08:00</published><updated>2012-02-24T14:50:33.482-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="/etc/hosts.deny"/><category scheme="http://www.blogger.com/atom/ns#" term="Amazon EC2"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><title type='text'>DenyHosts setup on Red Hat/Centos/Amazon AMIs</title><content type='html'>This is a really useful tutorial for setting up DenyHosts to protect against brute force ssh attacks.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.cyberciti.biz/faq/rhel-linux-block-ssh-dictionary-brute-force-attacks/&quot;&gt;http://www.cyberciti.biz/faq/rhel-linux-block-ssh-dictionary-brute-force-attacks/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
DenyHosts homepage:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://denyhosts.sourceforge.net/&quot;&gt;http://denyhosts.sourceforge.net/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/4848032412688742772/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/4848032412688742772' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4848032412688742772'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/4848032412688742772'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/02/denyhosts-setup-on-red-hatcentosamazon.html' title='DenyHosts setup on Red Hat/Centos/Amazon AMIs'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-2043739699740788593</id><published>2012-02-23T12:14:00.003-08:00</published><updated>2012-02-23T12:14:29.272-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="pv"/><title type='text'>pv</title><content type='html'>This was so good I had to repost it here.&amp;nbsp; It is about a useful utility called pv which shows a progress report of running processes:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.dp.cx/blog/pv--one-of-the-most-useful-applications-around.html&quot;&gt;http://www.dp.cx/blog/pv--one-of-the-most-useful-applications-around.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/2043739699740788593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/2043739699740788593' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2043739699740788593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2043739699740788593'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2012/02/pv.html' title='pv'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-2802241016781933888</id><published>2011-12-14T10:16:00.000-08:00</published><updated>2011-12-14T10:19:40.045-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="chkconfig"/><category scheme="http://www.blogger.com/atom/ns#" term="chmod"/><category scheme="http://www.blogger.com/atom/ns#" term="init"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><title type='text'>Make script compatible with chkconfig</title><content type='html'>To make an init script compatible with chkconfig (to autostart on next runlevel change), add the following header to your script within it&#39;s /etc/init.d/ file, for example, /etc/init.d/myscript&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
#&lt;br /&gt;
# myscript &amp;nbsp;&amp;nbsp;&amp;nbsp; init script to manage myserver &lt;br /&gt;
#&lt;br /&gt;
# chkconfig: 2345 90 35&lt;br /&gt;
# description: A server which does amazing things.&lt;br /&gt;
#&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now, add it with these commands:&lt;br /&gt;
&lt;br /&gt;
/bin/chmod +x&amp;nbsp; /etc/init.d/myscript&lt;br /&gt;
/sbin/chkconfig myscript --add&lt;br /&gt;
/sbin/chkconfig myscript on &lt;br /&gt;
/sbin/chkconfig myscript --list&lt;br /&gt;
myserver&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 0:off&amp;nbsp;&amp;nbsp;&amp;nbsp; 1:off&amp;nbsp;&amp;nbsp;&amp;nbsp; 2:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 3:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 4:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 5:on&amp;nbsp;&amp;nbsp;&amp;nbsp; 6:off&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Within the chkconfig definition line, 2345 means the runlevels it will be started under, and 90 35 are the start and kill priorities, an integer between 0 and 99.&amp;nbsp; In this example, it would be started as one of the last services, and killed (stopped) as one of the earlier processes.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/2802241016781933888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/2802241016781933888' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2802241016781933888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2802241016781933888'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/12/make-script-compatible-with-chkconfig.html' title='Make script compatible with chkconfig'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-8077555921051735622</id><published>2011-11-29T13:04:00.000-08:00</published><updated>2011-11-29T13:04:18.636-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="/var/run"/><category scheme="http://www.blogger.com/atom/ns#" term="cat"/><category scheme="http://www.blogger.com/atom/ns#" term="kill"/><category scheme="http://www.blogger.com/atom/ns#" term="PID"/><title type='text'>Just kill the process</title><content type='html'>/bin/kill -9 `/bin/cat /var/run/snmpd.pid`&lt;br /&gt;
&lt;br /&gt;
To kill just the PID reported by the process as the active PID (with a shotgun, -9) and nothing else, use this shortcut.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/8077555921051735622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/8077555921051735622' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/8077555921051735622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/8077555921051735622'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/11/just-kill-process.html' title='Just kill the process'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-8111465964136130394</id><published>2011-11-03T12:22:00.000-07:00</published><updated>2011-11-03T12:22:21.517-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><title type='text'>sed add line at end of file</title><content type='html'>If you want to add a a line of text to the end of a file, and want to do the edit in place, use this syntax:&lt;br /&gt;
&lt;br /&gt;
sed -i &#39;$ a\This is some sample text.&#39;&amp;nbsp; /foo/bar</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/8111465964136130394/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/8111465964136130394' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/8111465964136130394'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/8111465964136130394'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/11/sed-add-line-at-end-of-file.html' title='sed add line at end of file'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-890294886022829328</id><published>2011-10-31T11:38:00.000-07:00</published><updated>2011-10-31T11:38:11.356-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Visual explanation of SQL joins</title><content type='html'>I wish I had these pictures in my head when I started learning about joins in SQL.&amp;nbsp; Might have been a DBA instead of a systems engineer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html&quot;&gt;http://www.codinghorror.com/blog/2007/10/a-visual-explanation-of-sql-joins.html&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/890294886022829328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/890294886022829328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/890294886022829328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/890294886022829328'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/10/visual-explanation-of-sql-joins.html' title='Visual explanation of SQL joins'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7860328691148998659</id><published>2011-10-09T20:24:00.000-07:00</published><updated>2011-10-09T20:27:22.114-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="iPad 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="udev"/><category scheme="http://www.blogger.com/atom/ns#" term="usb"/><title type='text'>Charge iPad or iPad2 over usb in Linux</title><content type='html'>First, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://korenkov.info/ipad-ipad2-charge-ubuntu&quot;&gt;http://korenkov.info/ipad-ipad2-charge-ubuntu&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For later versions of udev (I tested this on Ubuntu 11.04),  make sure that /etc/udev/rules.d/95-ipad_charge.rules looks like the following examples.&lt;br /&gt;
&lt;br /&gt;
For iPad: &lt;br /&gt;
&lt;br /&gt;
ENV{DEVTYPE}==&quot;usb_device&quot;,  ACTION==&quot;add&quot;, SUBSYSTEM==&quot;usb&quot;, ATTRS{idVendor}==&quot;05ac&quot;,  ATTRS{idProduct}==&quot;129a&quot;, RUN+=&quot;/usr/bin/ipad_charge&quot;&lt;br /&gt;
&lt;br /&gt;
For iPad2:&lt;br /&gt;
&lt;br /&gt;
ENV{DEVTYPE}==&quot;usb_device&quot;,  ACTION==&quot;add&quot;, SUBSYSTEM==&quot;usb&quot;, ATTRS{idVendor}==&quot;05ac&quot;,  ATTRS{idProduct}==&quot;129f&quot;, RUN+=&quot;/usr/bin/ipad_charge&quot;&lt;br /&gt;
&lt;br /&gt;
Then restart udev or reboot.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7860328691148998659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7860328691148998659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7860328691148998659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7860328691148998659'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/10/charge-ipad-or-ipad2-on-ubuntu.html' title='Charge iPad or iPad2 over usb in Linux'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-2415003638923367873</id><published>2011-10-05T10:49:00.000-07:00</published><updated>2011-10-05T10:50:14.607-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Lexmark"/><category scheme="http://www.blogger.com/atom/ns#" term="Lexmark Z645"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Lexmark z645 install redux</title><content type='html'>This is the best way to install the printer driver for the Lexmark 600 or 640 series drivers on Ubuntu:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters&quot;&gt;https://help.ubuntu.com/community/HardwareSupportComponentsPrinters/LexmarkPrinters&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/2415003638923367873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/2415003638923367873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2415003638923367873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2415003638923367873'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/10/lexmark-z645-install-redux.html' title='Lexmark z645 install redux'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7150275605961133491</id><published>2011-07-25T12:32:00.000-07:00</published><updated>2011-07-25T12:32:40.374-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><title type='text'>sed with variables</title><content type='html'>Here is an example of how to get sed to replace values within files with variables:&lt;br /&gt;
&lt;br /&gt;
for a in {1..12} ; do  sed -e s/0/&quot;$a&quot;/g myConfig &gt; myConfig$a ; done;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is useful if you need to have an iterated set of config files, for instance.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7150275605961133491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7150275605961133491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7150275605961133491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7150275605961133491'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/07/sed-with-variables.html' title='sed with variables'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-7469555453022175806</id><published>2011-07-25T12:16:00.000-07:00</published><updated>2011-07-25T12:16:30.397-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="sed"/><title type='text'>In place editing of files quickly</title><content type='html'>Use the sed -i option for in place editing of files:&lt;br /&gt;
&lt;br /&gt;
sed -i &#39;s/foo/bar/g&#39; FILENAME&lt;br /&gt;
&lt;br /&gt;
It will replace all occurances of foo with bar within FILENAME</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/7469555453022175806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/7469555453022175806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7469555453022175806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/7469555453022175806'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/07/in-place-editing-of-files-quickly.html' title='In place editing of files quickly'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-2439826007435073536</id><published>2011-07-11T13:48:00.000-07:00</published><updated>2011-12-18T11:28:43.883-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AirVideo Server"/><category scheme="http://www.blogger.com/atom/ns#" term="bash"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="iPad 2"/><category scheme="http://www.blogger.com/atom/ns#" term="MythTV"/><title type='text'>Convert videos to iPad 2 format</title><content type='html'>Recorded programs on my MythTV are in a lossless HD mpg format, which doesn&#39;t play well on my iPad2 using AirVideo Server over wlan (via wine).  So, instead of having AirVideo Server converting it through the wine abstraction layer (which requires more CPU/memory, and uses ffmpeg.exe anyway), I just run this user job from my MythTV server to convert the files that I care to watch on my iPad.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1:&lt;/b&gt;&lt;br /&gt;
Create this file which I call /usr/bin/mythconverttoipad.  If you have an issue with &quot;too may threads,&quot; remove -threads 16.  I am using this script on a 3 core machine, the -threads option speeds things up a bit.  &lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
DIR=$1&lt;br /&gt;
FILE=$2&lt;br /&gt;
&lt;br /&gt;
echo $DIR&lt;br /&gt;
echo $FILE&lt;br /&gt;
&lt;br /&gt;
ffmpeg -y -i $DIR/$FILE -ab 320kb -vcodec libx264 -b 3200kb -s 1280x720 -threads 16 $DIR/$FILE.m4v&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:&lt;/b&gt;&lt;br /&gt;
Make the script executable.&lt;br /&gt;
&lt;br /&gt;
chmod +x  /usr/bin/mythconverttoipad&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3:&lt;/b&gt;&lt;br /&gt;
Add script as user job within MythTV.&lt;br /&gt;
&lt;br /&gt;
Within mythtv-setup add the following user job:&lt;br /&gt;
&lt;br /&gt;
/usr/bin/mythconverttoipad %DIR% %FILE%&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Step 4:&lt;/b&gt;&lt;br /&gt;
Enable it within rules.&lt;br /&gt;
&lt;br /&gt;
Within a program recording rule (within mythfrontent), enable this user job to be run post-recording.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 5:&lt;/b&gt;&lt;br /&gt;
Access the files from Air Video client or other player.&lt;br /&gt;
&lt;br /&gt;
If you have questions, please comment.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/2439826007435073536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/2439826007435073536' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2439826007435073536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/2439826007435073536'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/07/convert-videos-to-ipad-2-format.html' title='Convert videos to iPad 2 format'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-1119547920772703751</id><published>2011-06-07T15:10:00.000-07:00</published><updated>2011-06-07T15:11:11.847-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Netflix"/><category scheme="http://www.blogger.com/atom/ns#" term="Roku"/><category scheme="http://www.blogger.com/atom/ns#" term="telnet"/><title type='text'>Control Roku player over telnet</title><content type='html'>My young boys have broken several remotes for my Roku player.  I am tired of buying new ones.  There is a way to control the Roku player over the network, though.  Use telnet on port 8080, for example:&lt;br /&gt;
&lt;br /&gt;
[root@mythtv3 ~]# telnet 192.168.1.8 8080 &lt;br /&gt;
Trying 192.168.1.8...&lt;br /&gt;
Connected to 192.168.1.8.&lt;br /&gt;
Escape character is &#39;^]&#39;.&lt;br /&gt;
H0A0AC134945&lt;br /&gt;
ETHMAC 00:0d:4c:43:90:11&lt;br /&gt;
WIFIMAC 00:0d:4c:43:90:11&lt;br /&gt;
&amp;gt;press right&lt;br /&gt;
&amp;gt;press down&lt;br /&gt;
&amp;gt;press select&lt;br /&gt;
&lt;br /&gt;
The available commands are:&lt;br /&gt;
press up&lt;br /&gt;
press down&lt;br /&gt;
press left&lt;br /&gt;
press right&lt;br /&gt;
press select&lt;br /&gt;
press home&lt;br /&gt;
press fwd&lt;br /&gt;
press back&lt;br /&gt;
press pause &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional information:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://forums.roku.com/viewtopic.php?t=20106&quot;&gt;http://forums.roku.com/viewtopic.php?t=20106&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/1119547920772703751/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/1119547920772703751' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1119547920772703751'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1119547920772703751'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/06/control-roku-player-over-telnet.html' title='Control Roku player over telnet'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6643635510228384218.post-1925229266574404351</id><published>2011-04-26T13:01:00.000-07:00</published><updated>2011-04-26T13:01:02.249-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cap"/><category scheme="http://www.blogger.com/atom/ns#" term="capistrano"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="echoe"/><category scheme="http://www.blogger.com/atom/ns#" term="gem"/><category scheme="http://www.blogger.com/atom/ns#" term="mocha"/><category scheme="http://www.blogger.com/atom/ns#" term="rake"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><category scheme="http://www.blogger.com/atom/ns#" term="ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="rubygems"/><category scheme="http://www.blogger.com/atom/ns#" term="yum"/><title type='text'>Install capistrano on RHEL or CentOS</title><content type='html'>Capistrano is great for automating system tasks.  Here is how to install it on RPM-based systems:&lt;br /&gt;
&lt;br /&gt;
# yum install ruby rubygems&lt;br /&gt;
# gem install mocha echoe rake capistrano&lt;br /&gt;
&lt;br /&gt;
Please note that mocha, echoe are optional for tests, but I included them in these instructions.</content><link rel='replies' type='application/atom+xml' href='http://mastersofthelinuxuniverse.blogspot.com/feeds/1925229266574404351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/6643635510228384218/1925229266574404351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1925229266574404351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6643635510228384218/posts/default/1925229266574404351'/><link rel='alternate' type='text/html' href='http://mastersofthelinuxuniverse.blogspot.com/2011/04/install-capistrano-on-rhel-or-centos.html' title='Install capistrano on RHEL or CentOS'/><author><name>John</name><uri>http://www.blogger.com/profile/13060053092489652408</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3h-Sg-jqCbHaRghwQtafJXL8tNeQeiVNelcFl7WUdsa1R6fuokzxsgf2BYo6MMxURXXqgi1PfdK2Pgo12hnajgUJYhjtRFy-He0cIyCeHgGXyHsQL5fksI2cFJUnmymY/s220/P1020124.JPG'/></author><thr:total>0</thr:total></entry></feed>