<?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-1666849747901855096</id><updated>2026-06-27T00:20:53.322-07:00</updated><category term="Linux"/><category term="Unix"/><category term="Open Source"/><category term="SVN"/><category term="Systems Administration"/><category term="Bash"/><category term="Firewall"/><category term="Network Monitoring"/><category term="VMware"/><category term="Xymon/Hobbit"/><title type='text'>Unix - Linux - Open Source - SysOps - Culture</title><subtitle type='html'>This blog is all about life of being a systems administrator, it highlights the achievements and hurdles of managing small to large systems running on Unix/Linux platforms.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>88</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-524832696426119150</id><published>2020-02-18T06:58:00.002-08:00</published><updated>2020-02-18T07:04:57.014-08:00</updated><title type='text'>Disk Expansion steps:  VMS, Unity without LVM</title><content type='html'>&lt;br /&gt;
&lt;span style=&quot;font-size: 21px;&quot;&gt;Disk Expansion steps: &amp;nbsp;VMS, Unity without LVM&lt;/span&gt;&lt;br /&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;===============================================&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;Slight changes to procedure for RHEL.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;1. Display and verify LUN size.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# powermt display dev=all&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# df -h /path/to/mount/point&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# fdisk -lu /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;2. Unmount volume.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# umount /path/to/mount/point&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;3. Check FS.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# fsck -n /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;4. SDP to expand disk.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;5. Verify new LUN size. If not detected, reboot.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# fdisk -lu /dev/emcpowerX&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;6. Remove journaling.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# tune2fs -O ^has_journal&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;/dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;7. Resize partition. Delete then recreate partition with new size.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# fdisk /dev/emcpowerX&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;8. Check FS.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# e2fsck -f /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;9. Resize FS.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# resize2fs /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;10. Check FS.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# fsck -n /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;10. Turn on journal.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# tune2fs -j /dev/emcpowerX1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;helv&amp;quot;; font-size: 16px;&quot;&gt;11. Remount volume. Verify new size.&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# mount /path/to/mount/point&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier&amp;quot;; font-size: 16px;&quot;&gt;# df -h /path/to/mount/point&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot; style=&quot;font-size: 16px;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;=======================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;georgia&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;1. if baremetal run: /usr/bin/rescan-scsi-bus.sh to scan;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if OVM scan disk in UI;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if VM run commands below (if not automatically detected by server)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for BUS in /sys/class/scsi_host/host*/scan&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;- - -&quot; &amp;gt;&amp;nbsp; ${BUS}&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; done&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;2. fdisk /dev/&lt;diskname&gt;&lt;/diskname&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;3. pvcreate /dev/&lt;diskname1&gt;&lt;/diskname1&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;4. vgextend &lt;vgname extend=&quot;&quot; mountpoint=&quot;&quot; of=&quot;&quot; to=&quot;&quot;&gt; /dev/&lt;diskname1&gt;&lt;/diskname1&gt;&lt;/vgname&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;5. lvextend -l +100%FREE &lt;lvname extend=&quot;&quot; mountpoint=&quot;&quot; of=&quot;&quot; to=&quot;&quot;&gt;&lt;/lvname&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;6. resize2fs &lt;lvname extend=&quot;&quot; mountpoint=&quot;&quot; of=&quot;&quot; to=&quot;&quot;&gt;&lt;/lvname&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;7. lvdisplay &lt;span style=&quot;color: #010101;&quot;&gt;&lt;lvname extend=&quot;&quot; mountpoint=&quot;&quot; of=&quot;&quot; to=&quot;&quot;&gt;&lt;/lvname&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/524832696426119150/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2020/02/disk-expansion-steps-unity-without-lvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/524832696426119150'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/524832696426119150'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2020/02/disk-expansion-steps-unity-without-lvm.html' title='Disk Expansion steps:  VMS, Unity without LVM'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-7927824039895949410</id><published>2020-02-18T06:09:00.002-08:00</published><updated>2020-02-18T06:10:05.037-08:00</updated><title type='text'>Enable non-expiring password for Linux Users</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;-en-clipboard: true;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-en-clipboard: true;&quot;&gt;
When you need to set users for non-expiring password accounts.&amp;nbsp; Here are the basic steps.&lt;/div&gt;
&lt;div style=&quot;-en-clipboard: true;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;-en-clipboard: true;&quot;&gt;
passwd &lt;uid&gt;; pam_tally2 -u &lt;uid&gt; -r (reset: &amp;nbsp;this resets the login failures); faillock --user &lt;uid&gt; --reset&amp;nbsp;&lt;/uid&gt;&lt;/uid&gt;&lt;/uid&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
chage -d 0 &lt;uid&gt;&lt;/uid&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Non-expiring.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;; font-size: 10pt;&quot;&gt;&amp;nbsp;chage -I -1 -m 0 -M 99999 -E -1 adb-dev&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;segoe ui&amp;quot;;&quot;&gt;chage -I -1 -m 0 -M 99999 -E -1 adb-d&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/7927824039895949410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2020/02/enable-non-expiring-password-for-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7927824039895949410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7927824039895949410'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2020/02/enable-non-expiring-password-for-linux.html' title='Enable non-expiring password for Linux Users'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-6752250094921821669</id><published>2015-08-25T21:16:00.003-07:00</published><updated>2015-08-25T21:19:02.553-07:00</updated><title type='text'>Convert Unix Time</title><content type='html'>If you happen to be working on a system where you want to convert unix time to human readable format, use this:&lt;br /&gt;
&lt;br /&gt;
perl -p -e &#39;s/^([0-9]*)/&quot;[&quot;.localtime($1).&quot;]&quot;/e&#39;&lt;br /&gt;
&lt;br /&gt;
Its a perl command that when applied to a .log file allows you to convert unix time to a format that is readable to the user.&amp;nbsp; You can pretty much use this with other small shell tools to do wonderful things.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/6752250094921821669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2015/08/convert-unix-time.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6752250094921821669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6752250094921821669'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2015/08/convert-unix-time.html' title='Convert Unix Time'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-8334568620345880950</id><published>2015-08-16T23:50:00.002-07:00</published><updated>2015-08-16T23:55:02.070-07:00</updated><title type='text'>Nouveau causing the Linux Mint System to Freeze</title><content type='html'>Ever had an experience that suddenly your Linux system freezes for no apparent reason?&amp;nbsp; This is manifested, when you tried to fire-up chrome (at least in my case) and doing some check on dmesg / syslog points to this:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyo6POXkf4UBP77whmSyZE8B7EfVU2vSRB1BX0Gvs8fkrBDGIkHoSMMgIXWccSL8tyRFSzDUTscYx8JZTzdRAxsLHJtSiqulff16Acl4mECECSE6kXIstxS8YYnM8L-2D188l9wFVjKakY/s1600/20150817_123125.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyo6POXkf4UBP77whmSyZE8B7EfVU2vSRB1BX0Gvs8fkrBDGIkHoSMMgIXWccSL8tyRFSzDUTscYx8JZTzdRAxsLHJtSiqulff16Acl4mECECSE6kXIstxS8YYnM8L-2D188l9wFVjKakY/s320/20150817_123125.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem here lies with the video drivers loaded to the kernel is having a (NOT going to discuss the internals here) hard time figuring out how to work with the hardware of your system.&amp;nbsp; It can be very painful especially if you are not sure where to look at.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
The SOLUTION:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;wp-code-highlight prettyprint prettyprinted&quot;&gt;&lt;span class=&quot;pln&quot;&gt;sudo apt&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;get&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt; &lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;--&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;purge remove xserver&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;xorg&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;nouveau&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
and then do:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;wp-code-highlight prettyprint prettyprinted&quot;&gt;&lt;span class=&quot;pln&quot;&gt;sudo ldconfig&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;wp-code-highlight prettyprint prettyprinted&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
Afterwards reboot the system.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/8334568620345880950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2015/08/nouveau-causing-linux-mint-system-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8334568620345880950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8334568620345880950'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2015/08/nouveau-causing-linux-mint-system-to.html' title='Nouveau causing the Linux Mint System to Freeze'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyo6POXkf4UBP77whmSyZE8B7EfVU2vSRB1BX0Gvs8fkrBDGIkHoSMMgIXWccSL8tyRFSzDUTscYx8JZTzdRAxsLHJtSiqulff16Acl4mECECSE6kXIstxS8YYnM8L-2D188l9wFVjKakY/s72-c/20150817_123125.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-5093766403643019644</id><published>2015-02-18T19:26:00.002-08:00</published><updated>2015-03-07T18:13:55.928-08:00</updated><title type='text'>Enabling SSH Login Email Alerts</title><content type='html'>If you happen to be figuring out who is loging in or what is being logged in the system you can always use this defined entry to .bashrc to help monitor it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;echo&amp;nbsp; &#39;ALERT - Root Shell Access (ServerName) on: `date` `who` | mail -s &quot;Alert: Root Access from `who | cut -d&#39;(&#39; -f2 | cut -d&#39;)&#39; -f1`&quot; some_domain@domain.com&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
But please note that you will have to have either postfix / sendmail (mail server) and mail client &quot;mailx&quot; installed to get this working.</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/5093766403643019644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2015/02/enabling-ssh-login-email-alerts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/5093766403643019644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/5093766403643019644'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2015/02/enabling-ssh-login-email-alerts.html' title='Enabling SSH Login Email Alerts'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-8763223257376363546</id><published>2015-01-26T18:09:00.001-08:00</published><updated>2015-01-26T18:09:16.597-08:00</updated><title type='text'>SSH Problem:  /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed</title><content type='html'>When you encounter an error relating to this one:&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed&lt;br /&gt;
&lt;br /&gt;
Please install the following packages to help fix the issue&amp;nbsp; &quot;ssh-import-id&quot;&lt;br /&gt;
&lt;br /&gt;
Reload the SSH server then try again.&amp;nbsp; For more modern linux systems running on Cinnamon in my case using LinuxMint I have to use the following syntax to get it right.&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id -p 35354 -i .ssh/id_rsa.pub user@some_ipV4_address&lt;br /&gt;
&lt;br /&gt;
Cheers!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/8763223257376363546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2015/01/ssh-problem-usrbinssh-copy-id-info.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8763223257376363546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8763223257376363546'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2015/01/ssh-problem-usrbinssh-copy-id-info.html' title='SSH Problem:  /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-8384142963468042939</id><published>2015-01-09T02:00:00.000-08:00</published><updated>2015-01-09T03:11:22.255-08:00</updated><title type='text'>Trobleshooting Roundcube Webmail Error:  Message size exceeds fixed limit</title><content type='html'>At times you will encounter an error with your roundcube system with bouncing emails caused by limitations in the mail system.&amp;nbsp; If you get this error:&amp;nbsp; Message size exceeds fixed limit&lt;br /&gt;
&lt;br /&gt;
Chances are your message_size_limit is not set to be as flexible with your current configuration for roundcube to fix this do the following:&lt;br /&gt;
&lt;br /&gt;
1. Edit the file which roundcube reads to assign the global variables /var/www/html/roundcube/.htaccess file and change the following configurations to this one.&lt;br /&gt;
&lt;br /&gt;
php_value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; upload_max_filesize&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32M&lt;br /&gt;
php_value&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; post_max_size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32M&lt;br /&gt;
&lt;br /&gt;
2.&amp;nbsp; Check your postfix mailer configuration by issuing the command:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&lt;br /&gt;
postconf -d |grep message_size_limit&lt;br /&gt;
&lt;br /&gt;
If you did not get a value you need to fix this.&lt;br /&gt;
&lt;br /&gt;
3.&amp;nbsp; To fix the limit issue the command.&lt;br /&gt;
&lt;br /&gt;
postconf -e &#39;message_size_limit = 104857600&#39;&lt;br /&gt;
&lt;br /&gt;
4. &amp;nbsp; To fix the &#39;mailbox_size_limit&#39; issue you need to add this using the command:&lt;br /&gt;
&lt;br /&gt;
postconf -e &#39;mailbox_size_limit = 0&#39;&lt;br /&gt;
&lt;br /&gt;
5.&amp;nbsp; Reload postfix for the changes to apply.</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/8384142963468042939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2015/01/trobleshooting-roundcube-webmail-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8384142963468042939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8384142963468042939'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2015/01/trobleshooting-roundcube-webmail-error.html' title='Trobleshooting Roundcube Webmail Error:  Message size exceeds fixed limit'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-6770940699368629276</id><published>2014-03-05T23:22:00.000-08:00</published><updated>2014-03-06T01:40:17.108-08:00</updated><title type='text'>Troubleshooting Google Apps Migration for Microsoft Exchange – OAuth Authentication Failure</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
When trying to use the Google Apps Migration for Microsoft Exchange tool, I came across the following error:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;i style=&quot;border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Invalid Consumer Secret specified. Google Apps server has denied access to these credentials.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
I checked and double-checked to make sure I had the correct OAuth Domain Key and Consumer Secret entered, and when it still failed, I re-generated the Consumer Secret. &amp;nbsp;Still no love. &amp;nbsp;After some searching, I came across this thread on Google’s Product Forums:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://productforums.google.com/forum/#!msg/apps/Wx3ccVw4Apo/L-yPZv-nP6gJ&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; color: #9f9f9f; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot; title=&quot;Invalid Consumer Secret&quot;&gt;Invalid Consumer Secret&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #444444; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 24px; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
In a nutshell, when configuring your OAuth Domain Key, you have the option to “Allow Access to All API’s”. &amp;nbsp;For, me this box was checked. &amp;nbsp;Turns out when they say “All API’s”, they didn’t include some new ones that the latest version of the GAMME tool requires. &amp;nbsp;The tool looks for those API’s, can’t access them with the credentials you’ve supplied it, and falls on its face. &amp;nbsp;The fix involves you removing that checkmark next to “Allow Access to All API’s” and then heading to the “Manage Third-Party OAuth Client Access” page. &amp;nbsp;Type in your domain name into the “Client Name” field, and then paste the following into the “One or More API Scopes” field:&lt;/div&gt;
&lt;div class=&quot;entry-content&quot; style=&quot;background-color: white; border: 0px; font-family: &#39;Open Sans&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.714285714; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;border: 1px solid rgb(237, 237, 237); font-family: Consolas, Monaco, &#39;Lucida Console&#39;, monospace; font-size: 0.857142857rem; line-height: 1.714285714; margin-bottom: 1.714285714rem; margin-top: 1.714285714rem; overflow: auto; padding: 1.714285714rem; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;a href=&quot;https://apps-apis.google.com/a/feeds/emailsettings/2.0/&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://apps-apis.google.com/a/feeds/emailsettings/2.0/&lt;/a&gt;,
&lt;a href=&quot;https://apps-apis.google.com/a/feeds/user/#readonly&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://apps-apis.google.com/a/feeds/user/#readonly&lt;/a&gt;,
&lt;a href=&quot;https://www.google.com/calendar/feeds/&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://www.google.com/calendar/feeds/&lt;/a&gt;,
&lt;a href=&quot;https://www.google.com/m8/feeds/&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://www.google.com/m8/feeds/&lt;/a&gt;,
&lt;a href=&quot;https://www.googleapis.com/auth/apps.groups.migration&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://www.googleapis.com/auth/apps.groups.migration&lt;/a&gt;,
&lt;a href=&quot;https://apps-apis.google.com/a/feeds/migration/&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://apps-apis.google.com/a/feeds/migration/&lt;/a&gt;,
&lt;a href=&quot;https://apps-apis.google.com/a/feeds/group/#readonly&quot; sl-processed=&quot;1&quot; style=&quot;border: 0px; font-size: 12px; margin: 0px; outline: none; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;https://apps-apis.google.com/a/feeds/group/#readonly&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; line-height: 1.714285714; margin-bottom: 1.714285714rem; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;Click the “Authorize” button, and that’s that. &amp;nbsp;Now the GAMME tool completes it’s diagnostic checks and will happily begin migrating the contents of your Exchange mailbox into Google Apps.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 0.25in; margin-bottom: 0in;&quot;&gt;
&lt;span style=&quot;line-height: 1.714285714;&quot;&gt;Attribution: &amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://zerogb.wordpress.com/2013/07/12/troubleshooting-google-apps-migration-for-microsoft-exchange/&quot; style=&quot;line-height: 1.714285714;&quot;&gt;http://zerogb.wordpress.com/2013/07/12/troubleshooting-google-apps-migration-for-microsoft-exchange/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/6770940699368629276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2014/03/troubleshooting-google-apps-migration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6770940699368629276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6770940699368629276'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2014/03/troubleshooting-google-apps-migration.html' title='Troubleshooting Google Apps Migration for Microsoft Exchange – OAuth Authentication Failure'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-5797603305118417804</id><published>2014-02-03T00:17:00.000-08:00</published><updated>2014-02-03T00:46:51.590-08:00</updated><title type='text'>Annoying issue with * Stopping web server apache2 [Mon Feb 03 16:26:53 2014] [warn] _default_ VirtualHost overlap on port 443, the first has precedence  ... waiting                                                                                          </title><content type='html'>To fix this issue just do this one, after which reload apache on the server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;-webkit-text-stroke-width: 0px; background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 0px; color: black; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; margin: 0px 0px 10px; max-height: 600px; orphans: auto; overflow: auto; padding: 5px; text-align: left; text-indent: 0px; text-transform: none; vertical-align: baseline; widows: auto; width: auto; word-spacing: 0px; word-wrap: normal;&quot;&gt;&lt;code style=&quot;background-color: #eeeeee; background-position: initial initial; background-repeat: initial initial; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;ifmodule mod_ssl.c=&quot;&quot;&gt;    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to &lt;virtualhost&gt;
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.

    NameVirtualHost *:443  # !important!
    Listen 443
&lt;/virtualhost&gt;&lt;/ifmodule&gt;&lt;/code&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/5797603305118417804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2014/02/annoying-issue-with-stopping-web-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/5797603305118417804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/5797603305118417804'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2014/02/annoying-issue-with-stopping-web-server.html' title='Annoying issue with * Stopping web server apache2 [Mon Feb 03 16:26:53 2014] [warn] _default_ VirtualHost overlap on port 443, the first has precedence  ... waiting                                                                                          '/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-2197295189672626526</id><published>2013-10-03T02:31:00.001-07:00</published><updated>2013-10-09T00:46:21.512-07:00</updated><title type='text'>Windows to Linux Storage Sharing:  cifs mount params</title><content type='html'>&lt;br /&gt;
Ever wonder on how to mount using mount.cifs.&amp;nbsp; This is dinosaur tech but I am putting it here anyway.&lt;br /&gt;
&lt;br /&gt;
Act I.&amp;nbsp; Get and create your credentials file&lt;br /&gt;
&lt;br /&gt;
Get the correct credentials from the shared drive and then do the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo echo -e &quot;username=service&quot; &amp;gt; /somedir/.somecredentials; sudo echo -e &quot;password=p@ssw0rd&quot; &amp;gt;&amp;gt; /somedir/.somecredentials &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Act II.&amp;nbsp; Mount the drive&lt;br /&gt;
&lt;br /&gt;
First create a mount point for this new share under your linux system.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mkdir /mnt/winshare&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then issue this command.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;mount.cifs &quot;//some_ip_address/mount_drive&quot; /mnt/winshare -o credentials=/root/.somecredentials &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Act III.&amp;nbsp; Bootstrap it!&lt;br /&gt;
&lt;br /&gt;
The goal is for this service to available every time a reboot occurs, you can do this by creating a simple script to help on this on and put it on &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/etc/rc.local&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Cheers!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/2197295189672626526/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/10/cifs-mount-params.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/2197295189672626526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/2197295189672626526'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/10/cifs-mount-params.html' title='Windows to Linux Storage Sharing:  cifs mount params'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-4759973694611743026</id><published>2013-09-01T17:40:00.002-07:00</published><updated>2015-08-25T21:18:52.401-07:00</updated><title type='text'>Unix Timestamp conversion (Convert Unix Time)</title><content type='html'>Have you ever had the chance to work on logs to investigate on a few items that needs immediate reports and judgement, while you are at it logs shows the standard &quot;unix&quot; convention.&amp;nbsp; To spare you all this hardship use the following formatting on every known log you have.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;perl -p -e &#39;s/^([0-9]*)/&quot;[&quot;.localtime($1)&lt;/span&gt;&lt;wbr style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&lt;/wbr&gt;&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;.&quot;]&quot;/e&#39;&lt;span class=&quot;Apple-converted-space&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I does all the magic for you.&lt;br /&gt;
&lt;br /&gt;
e.g.&amp;nbsp; tail -n 20000 /some_path_to_logs | (command above) | less&lt;br /&gt;
&lt;br /&gt;
Cheers!!!&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; background-color: white; color: #222222; display: inline !important; float: none; font-family: arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/4759973694611743026/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/unix-timestamp-conversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/4759973694611743026'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/4759973694611743026'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/unix-timestamp-conversion.html' title='Unix Timestamp conversion (Convert Unix Time)'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-8090305491461425941</id><published>2013-09-01T02:27:00.001-07:00</published><updated>2013-09-01T02:28:17.359-07:00</updated><title type='text'>Server Hardware Memory Alignment</title><content type='html'>Have you ever had the chance of migrating old memory to a newer hardware, only to find out that its not reading all those modules when they should be?&lt;br /&gt;
&lt;br /&gt;
The reason for this is that, server hardware is channel specific, what I meant by this is that if your board supports more than one processor slot and who have no luxury of reading the setup manual.&amp;nbsp; Chances are you are putting those memory modules on locations which they are not ought to be in.&amp;nbsp;&amp;nbsp; The hint is this.&amp;nbsp; The closer the memory banks to a processor the most likely that that is the correct channel for those banks.&lt;br /&gt;
&lt;br /&gt;
Try it.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/8090305491461425941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/server-hardware-memory-alignment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8090305491461425941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/8090305491461425941'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/server-hardware-memory-alignment.html' title='Server Hardware Memory Alignment'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-6780708908057571013</id><published>2013-09-01T02:22:00.002-07:00</published><updated>2013-09-01T02:22:11.135-07:00</updated><title type='text'>rsync to a different port</title><content type='html'>There are instances when you are faced with issues on securing your servers and in the process systematically closing all the default ports.&amp;nbsp; Real hassle if you do &quot;rsync&quot; on a regular basis.&amp;nbsp; Apparently, there is a simply solution for this.&amp;nbsp; All you need to do is train it to use a different port.&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;bash&quot;&gt;rsync -av -e &lt;span style=&quot;color: red;&quot;&gt;&#39;ssh -p 35500&#39;&lt;/span&gt; /home/footloader fooflight01@server1.saltsugar.net &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
** above will rsync home dir to a certain server&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Awesome?&amp;nbsp; Cheers!!!&lt;br /&gt;
&lt;br /&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/6780708908057571013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/rsync-to-different-port.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6780708908057571013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6780708908057571013'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/09/rsync-to-different-port.html' title='rsync to a different port'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-1012985960306873576</id><published>2013-08-15T22:40:00.002-07:00</published><updated>2013-08-15T22:40:39.881-07:00</updated><title type='text'>ssh-copy-id -i on a different port</title><content type='html'>If it ever occurred to you that a changed has been done to your ssh config particularly the default port of 22 into something else.&amp;nbsp; Then you need to implement password-less ssh.&amp;nbsp; Then you got this:&lt;br /&gt;
&lt;br /&gt;
ssh: connect to host 121.97.35.82 port 22: Connection refused&lt;br /&gt;
&lt;br /&gt;
Solution:&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id -i&amp;nbsp; file_path &quot;username@some_ipaddress -p port_number&quot;&lt;br /&gt;
&lt;br /&gt;
Cheers!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/1012985960306873576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/ssh-copy-id-i-on-different-port.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1012985960306873576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1012985960306873576'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/ssh-copy-id-i-on-different-port.html' title='ssh-copy-id -i on a different port'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-9006564591521269051</id><published>2013-08-12T18:02:00.000-07:00</published><updated>2013-08-12T18:02:51.254-07:00</updated><title type='text'>Secure Copy to a Different Port</title><content type='html'>At times you need to change the order in which services like ssh run on its default port for security reasons.&amp;nbsp; This in effect will impact your scp as well.&amp;nbsp; Here is the syntax for it.&lt;br /&gt;
&lt;br /&gt;
$ scp -P port_number&amp;nbsp;&lt;port_number&gt; /some_path_to_a_file &lt;name&gt;@Ip_address&lt;/name&gt;&lt;/port_number&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/9006564591521269051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/secure-copy-to-different-port.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/9006564591521269051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/9006564591521269051'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/secure-copy-to-different-port.html' title='Secure Copy to a Different Port'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-1995719891501349219</id><published>2013-08-11T19:41:00.000-07:00</published><updated>2013-08-11T19:41:03.989-07:00</updated><title type='text'>Password Generator</title><content type='html'>If in any case you needed to create phrases of passwords.&amp;nbsp; This is the likely key:&amp;nbsp; http://goo.gl/aJD7Kv&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/1995719891501349219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/password-generator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1995719891501349219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1995719891501349219'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2013/08/password-generator.html' title='Password Generator'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-6338232155453594177</id><published>2012-10-22T00:18:00.003-07:00</published><updated>2012-10-22T00:18:55.596-07:00</updated><title type='text'>passwd: Authentication token manipulation error</title><content type='html'>There are times when you will entirely left out a box in the dark and then one day it suddenly becomes the jagging hinge pulling out all the steam to a project you have or to a legacy system that has recoiled from it since its very inception.&amp;nbsp; What do you do when you can no longer retrieve your password?&lt;br /&gt;
&lt;br /&gt;
In this post I am going to lay down simple steps to allow you to retrieve passwords from both virtual systems (vmachines) and physical ones.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;LiveCD -- it is best that you have a liveCD kept somewhere for emergency.&amp;nbsp; This CD either in physical media and/or ISO image will go along way.&lt;/li&gt;
&lt;li&gt;A good procedure to work on.&amp;nbsp; &lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Procedure:&lt;br /&gt;
----------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;If it is a physical box, configure your BIOS to boot to your CD/DVD-ROM drive.&amp;nbsp; If it is a virtual machine, you will have to configure it to boot from an ISO image somewhere in you system.&amp;nbsp; &lt;/li&gt;
&lt;li&gt;Do this as root.&amp;nbsp; Identify the partition which needs to be accessed via &quot;chroot&quot;.&lt;/li&gt;
&lt;li&gt;Create a staging directory for the system you intend to recover.&lt;/li&gt;
&lt;li&gt;Mount that system using this command: &amp;nbsp;&amp;nbsp; e.g. mount -rw -t ext4 /dev/sda4 /mnt/&lt;some_dir&gt;&lt;/some_dir&gt;&lt;/li&gt;
&lt;li&gt;chroot /mnt/&lt;some_dir&gt;&amp;nbsp; -- this would drop you to the chrooted environment of the system you intend to recover.&lt;/some_dir&gt;&lt;/li&gt;
&lt;li&gt;Issue the command:&amp;nbsp;&amp;nbsp; &quot;pwconv&quot;&amp;nbsp; (The &quot;pwconv&quot; command creates shadow from passwd and an optionally existing shadow)&lt;/li&gt;
&lt;/ol&gt;
Thats it, issue fixed.&lt;br /&gt;
&lt;br /&gt;
Cheers!!!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/6338232155453594177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/10/passwd-authentication-token.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6338232155453594177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6338232155453594177'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/10/passwd-authentication-token.html' title='passwd: Authentication token manipulation error'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-7983673826610826942</id><published>2012-09-26T19:25:00.003-07:00</published><updated>2012-09-27T00:39:38.627-07:00</updated><title type='text'>ERROR:  Failed to build gem native extension</title><content type='html'>If you happen to have an error whilst installing gems with chef.&amp;nbsp; similar to this one &lt;br /&gt;
----------------------------------------------------------------------------------------------------------------------- &lt;br /&gt;
gem install zliby chef-solr --no-ri --no-rdoc&lt;br /&gt;
Successfully installed zliby-0.0.5&lt;br /&gt;
Building native extensions.&amp;nbsp; This could take a while...&lt;br /&gt;
ERROR:&amp;nbsp; Error installing chef-solr:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR: Failed to build gem native extension.&lt;br /&gt;
&lt;br /&gt;
/usr/bin/ruby1.9.1 extconf.rb&lt;br /&gt;
creating Makefile&lt;br /&gt;
&lt;br /&gt;
make&lt;br /&gt;
sh: make: not found&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Gem files will remain installed in /var/lib/gems/1.9.1/gems/yajl-ruby-1.1.0 for inspection.&lt;br /&gt;
Results logged to /var/lib/gems/1.9.1/gems/yajl-ruby-1.1.0/ext/yajl/gem_make.out&lt;br /&gt;
----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&amp;nbsp;To fix it you just need to install &quot;make&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is the entire completed installation for this problem.&lt;br /&gt;
&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------------------&lt;br /&gt;
chef-solo -c ~/solo.rb -j ~/chef.json -r bootstrap-latest.tar.gz&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: *** Chef 10.14.2 ***&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Setting the run_list to [&quot;recipe[chef-server::rubygems-install]&quot;] from JSON&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Run List is [recipe[chef-server::rubygems-install]]&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Run List expands to [chef-server::rubygems-install]&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Starting Chef Run for chefsvr.sulit.net&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Running start handlers&lt;br /&gt;[2012-09-27T14:38:48+08:00] INFO: Start handlers complete.&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing user[chef] action create (chef-server::rubygems-install line 30)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing package[erlang-nox] action install (erlang::default line 25)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing package[erlang-dev] action install (erlang::default line 26)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing package[couchdb] action install (couchdb::default line 37)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing template[/etc/couchdb/local.ini] action create (couchdb::default line 45)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing directory[/var/lib/couchdb] action create (couchdb::default line 55)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing service[couchdb] action enable (couchdb::default line 67)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing service[couchdb] action start (couchdb::default line 67)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing ruby_block[set-env-java-home] action create (java::openjdk line 36)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: ruby_block[set-env-java-home] called&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing ruby_block[update-java-alternatives] action nothing (java::openjdk line 43)&lt;br /&gt;[2012-09-27T14:38:49+08:00] INFO: Processing package[openjdk-6-jdk] action install (java::openjdk line 82)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: package[openjdk-6-jdk] sending create action to ruby_block[update-java-alternatives] (immediate)&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: Processing ruby_block[update-java-alternatives] action create (java::openjdk line 43)&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: ruby_block[update-java-alternatives] called&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: Processing package[sun-java6-jdk] action purge (java::default line 25)&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: Processing package[sun-java6-bin] action purge (java::default line 25)&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: Processing package[sun-java6-jre] action purge (java::default line 25)&lt;br /&gt;[2012-09-27T15:12:55+08:00] INFO: Processing package[rabbitmq-server] action install (chef-server::rabbitmq line 43)&lt;br /&gt;[2012-09-27T15:13:19+08:00] INFO: Processing service[rabbitmq-server] action enable (chef-server::rabbitmq line 46)&lt;br /&gt;[2012-09-27T15:13:19+08:00] INFO: Processing service[rabbitmq-server] action start (chef-server::rabbitmq line 46)&lt;br /&gt;[2012-09-27T15:13:19+08:00] INFO: Processing execute[rabbitmqctl add_vhost /chef] action run (chef-server::rabbitmq line 56)&lt;br /&gt;Creating vhost &quot;/chef&quot; ...&lt;br /&gt;...done.&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: execute[rabbitmqctl add_vhost /chef] ran successfully&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: Processing execute[rabbitmqctl add_user chef testing] action run (chef-server::rabbitmq line 61)&lt;br /&gt;Creating user &quot;chef&quot; ...&lt;br /&gt;...done.&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: execute[rabbitmqctl add_user chef testing] ran successfully&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: Processing execute[rabbitmqctl set_permissions -p /chef chef &quot;.*&quot; &quot;.*&quot; &quot;.*&quot;] action run (chef-server::rabbitmq line 67)&lt;br /&gt;Setting permissions for user &quot;chef&quot; in vhost &quot;/chef&quot; ...&lt;br /&gt;...done.&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: execute[rabbitmqctl set_permissions -p /chef chef &quot;.*&quot; &quot;.*&quot; &quot;.*&quot;] ran successfully&lt;br /&gt;[2012-09-27T15:13:20+08:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric InRelease&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric-updates InRelease&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric-backports InRelease&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric Release.gpg&lt;br /&gt;Get:1 http://ph.archive.ubuntu.com oneiric-updates Release.gpg [198 B]&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports Release.gpg&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric Release&lt;br /&gt;Get:2 http://ph.archive.ubuntu.com oneiric-updates Release [40.8 kB]&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports Release&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe TranslationIndex&lt;br /&gt;Get:3 http://ph.archive.ubuntu.com oneiric-updates/main Sources [157 kB]&lt;br /&gt;Ign http://security.ubuntu.com oneiric-security InRelease&lt;br /&gt;Get:4 http://security.ubuntu.com oneiric-security Release.gpg [198 B]&lt;br /&gt;Get:5 http://ph.archive.ubuntu.com oneiric-updates/restricted Sources [3349 B]&lt;br /&gt;Get:6 http://ph.archive.ubuntu.com oneiric-updates/universe Sources [61.6 kB]&lt;br /&gt;Get:7 http://security.ubuntu.com oneiric-security Release [40.8 kB]&lt;br /&gt;Get:8 http://ph.archive.ubuntu.com oneiric-updates/multiverse Sources [3665 B]&lt;br /&gt;Get:9 http://ph.archive.ubuntu.com oneiric-updates/main amd64 Packages [394 kB]&lt;br /&gt;Get:10 http://security.ubuntu.com oneiric-security/main Sources [57.2 kB]&lt;br /&gt;Get:11 http://security.ubuntu.com oneiric-security/restricted Sources [1964 B]&lt;br /&gt;Get:12 http://security.ubuntu.com oneiric-security/universe Sources [22.0 kB]&lt;br /&gt;Get:13 http://security.ubuntu.com oneiric-security/multiverse Sources [1633 B]&lt;br /&gt;Get:14 http://security.ubuntu.com oneiric-security/main amd64 Packages [206 kB]&lt;br /&gt;Get:15 http://ph.archive.ubuntu.com oneiric-updates/restricted amd64 Packages [6651 B]&lt;br /&gt;Get:16 http://ph.archive.ubuntu.com oneiric-updates/universe amd64 Packages [130 kB]&lt;br /&gt;Get:17 http://security.ubuntu.com oneiric-security/restricted amd64 Packages [3995 B]&lt;br /&gt;Get:18 http://security.ubuntu.com oneiric-security/universe amd64 Packages [55.0 kB]&lt;br /&gt;Get:19 http://security.ubuntu.com oneiric-security/multiverse amd64 Packages [3202 B]&lt;br /&gt;Get:20 http://security.ubuntu.com oneiric-security/main i386 Packages [207 kB]&lt;br /&gt;Get:21 http://ph.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages [6205 B]&lt;br /&gt;Get:22 http://ph.archive.ubuntu.com oneiric-updates/main i386 Packages [395 kB]&lt;br /&gt;Get:23 http://security.ubuntu.com oneiric-security/restricted i386 Packages [4062 B]&lt;br /&gt;Get:24 http://security.ubuntu.com oneiric-security/universe i386 Packages [55.1 kB]&lt;br /&gt;Get:25 http://security.ubuntu.com oneiric-security/multiverse i386 Packages [3381 B]&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main Translation-en&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted Translation-en&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe Translation-en&lt;br /&gt;Get:26 http://ph.archive.ubuntu.com oneiric-updates/restricted i386 Packages [6645 B]&lt;br /&gt;Get:27 http://ph.archive.ubuntu.com oneiric-updates/universe i386 Packages [131 kB]&lt;br /&gt;Get:28 http://ph.archive.ubuntu.com oneiric-updates/multiverse i386 Packages [6359 B]&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe Translation-en&lt;br /&gt;Fetched 2005 kB in 25s (78.6 kB/s)&lt;br /&gt;Reading package lists...&lt;br /&gt;[2012-09-27T15:13:49+08:00] INFO: execute[apt-get-update] ran successfully&lt;br /&gt;[2012-09-27T15:13:49+08:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)&lt;br /&gt;[2012-09-27T15:13:49+08:00] INFO: Processing package[update-notifier-common] action install (apt::default line 36)&lt;br /&gt;[2012-09-27T15:13:54+08:00] INFO: package[update-notifier-common] sending run action to execute[apt-get-update] (immediate)&lt;br /&gt;[2012-09-27T15:13:54+08:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric InRelease&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric-updates InRelease&lt;br /&gt;Ign http://ph.archive.ubuntu.com oneiric-backports InRelease&lt;br /&gt;Ign http://security.ubuntu.com oneiric-security InRelease&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric Release.gpg&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security Release.gpg&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates Release.gpg&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security Release&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports Release.gpg&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric Release&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted Sources&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe Sources&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse Sources&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main amd64 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted amd64 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe amd64 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse amd64 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main i386 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates Release&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports Release&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main amd64 Packages&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse Sources&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main TranslationIndex&lt;br /&gt;Hit http://security.ubuntu.com oneiric-security/universe Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse Sources&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse amd64 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse i386 Packages&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe TranslationIndex&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric/universe Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-updates/universe Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/main Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/multiverse Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/restricted Translation-en&lt;br /&gt;Hit http://ph.archive.ubuntu.com oneiric-backports/universe Translation-en&lt;br /&gt;Reading package lists...&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: execute[apt-get-update] ran successfully&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 40)&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 50)&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local] created directory /var/cache/local&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local] owner changed to 0&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local] group changed to 0&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local] mode changed to 644&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 50)&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local/preseeding] group changed to 0&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: directory[/var/cache/local/preseeding] mode changed to 644&lt;br /&gt;[2012-09-27T15:13:59+08:00] INFO: Processing apt_package[libgecode-dev] action upgrade (gecode::package line 44)&lt;br /&gt;&lt;br /&gt;[2012-09-27T15:28:29+08:00] INFO: apt_package[libgecode-dev] upgraded from uninstalled to 3.5.0-2&lt;br /&gt;[2012-09-27T15:28:29+08:00] INFO: Processing package[zlib-devel] action install (zlib::default line 20)&lt;br /&gt;[2012-09-27T15:28:50+08:00] INFO: Processing package[libxml2-dev] action install (xml::default line 27)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;[2012-09-27T15:29:26+08:00] INFO: Processing package[libxslt-dev] action install (xml::default line 27)&lt;br /&gt;[2012-09-27T15:29:26+08:00] INFO: package[libxslt-dev] is a virtual package, actually acting on package[libxslt1-dev]&lt;br /&gt;[2012-09-27T15:29:58+08:00] INFO: Processing gem_package[chef-server-api] action install (chef-server::rubygems-install line 89)&lt;br /&gt;[2012-09-27T15:31:44+08:00] INFO: Processing gem_package[chef-solr] action install (chef-server::rubygems-install line 89)&lt;br /&gt;[2012-09-27T15:31:44+08:00] INFO: Processing gem_package[chef-expander] action install (chef-server::rubygems-install line 89)&lt;br /&gt;[2012-09-27T15:32:29+08:00] INFO: Processing gem_package[chef-server-webui] action install (chef-server::rubygems-install line 89)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/log/chef] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/log/chef] created directory /var/log/chef&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/log/chef] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/log/chef] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/log/chef] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/lib/chef] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef] created directory /var/lib/chef&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/cache/chef] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/cache/chef] created directory /var/cache/chef&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/cache/chef] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/cache/chef] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/cache/chef] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/lib/chef/backup] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/backup] created directory /var/lib/chef/backup&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/backup] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/backup] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/backup] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/run/chef] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/run/chef] created directory /var/run/chef&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/run/chef] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/run/chef] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/run/chef] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/etc/chef] action create (chef-server::rubygems-install line 104)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/etc/chef] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing template[/etc/chef/server.rb] action create (chef-server::rubygems-install line 112)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/server.rb] updated content&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/server.rb] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/server.rb] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/server.rb] mode changed to 600&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing link[/etc/chef/webui.rb] action create (chef-server::rubygems-install line 119)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: link[/etc/chef/webui.rb] created&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing link[/etc/chef/expander.rb] action create (chef-server::rubygems-install line 123)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: link[/etc/chef/expander.rb] created&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing template[/etc/chef/solr.rb] action create (chef-server::rubygems-install line 112)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/solr.rb] updated content&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/solr.rb] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/solr.rb] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/chef/solr.rb] mode changed to 600&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing link[/etc/chef/webui.rb] action create (chef-server::rubygems-install line 119)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing link[/etc/chef/expander.rb] action create (chef-server::rubygems-install line 123)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/lib/chef] action create (chef-server::rubygems-install line 128)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/lib/chef/cache] action create (chef-server::rubygems-install line 135)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/cache] created directory /var/lib/chef/cache&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/cache] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/cache] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/cache] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/lib/chef/search_index] action create (chef-server::rubygems-install line 135)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/search_index] created directory /var/lib/chef/search_index&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/search_index] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/search_index] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/var/lib/chef/search_index] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/etc/chef/certificates] action create (chef-server::rubygems-install line 142)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/etc/chef/certificates] created directory /etc/chef/certificates&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/etc/chef/certificates] owner changed to 999&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/etc/chef/certificates] group changed to 0&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: directory[/etc/chef/certificates] mode changed to 700&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/run/chef] action create (chef-server::rubygems-install line 148)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing execute[chef-solr-installer] action run (chef-server::rubygems-install line 155)&lt;br /&gt;&lt;br /&gt;Creating Solr Home Directory&lt;br /&gt;&amp;nbsp; mkdir -p /var/lib/chef/solr/home&lt;br /&gt;&amp;nbsp; entering /var/lib/chef/solr/home&lt;br /&gt;&amp;nbsp; tar zxvf /var/lib/gems/1.9.1/gems/chef-solr-10.14.2/solr/solr-home.tar.gz&lt;br /&gt;Creating Solr Data Directory&lt;br /&gt;&amp;nbsp; mkdir -p /var/lib/chef/solr/data&lt;br /&gt;&amp;nbsp; chown -R chef:root /var/lib/chef/solr/data&lt;br /&gt;Unpacking Solr Jetty&lt;br /&gt;&amp;nbsp; mkdir -p /var/lib/chef/solr/jetty&lt;br /&gt;&amp;nbsp; entering /var/lib/chef/solr/jetty&lt;br /&gt;&amp;nbsp; tar zxvf /var/lib/gems/1.9.1/gems/chef-solr-10.14.2/solr/solr-jetty.tar.gz&lt;br /&gt;&amp;nbsp; chown -R chef:root /var/lib/chef/solr/jetty&lt;br /&gt;&lt;br /&gt;Successfully installed Chef Solr.&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: execute[chef-solr-installer] ran successfully&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing directory[/var/run/chef] action create (chef-server::rubygems-install line 182)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing template[/etc/init.d/chef-solr] action create (chef-server::rubygems-install line 205)&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/init.d/chef-solr] updated content&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: template[/etc/init.d/chef-solr] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:02+08:00] INFO: Processing file[/etc/default/chef-solr] action create (chef-server::rubygems-install line 210)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-solr] mode changed to 644&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-solr] created file /etc/default/chef-solr&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing link[/usr/sbin/chef-solr] action create (chef-server::rubygems-install line 215)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: link[/usr/sbin/chef-solr] created&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-solr] action enable (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: service[chef-solr] enabled&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-solr] action start (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing template[/etc/init.d/chef-expander] action create (chef-server::rubygems-install line 205)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-expander] updated content&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-expander] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing file[/etc/default/chef-expander] action create (chef-server::rubygems-install line 210)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-expander] mode changed to 644&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-expander] created file /etc/default/chef-expander&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing link[/usr/sbin/chef-expander] action create (chef-server::rubygems-install line 215)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: link[/usr/sbin/chef-expander] created&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-expander] action enable (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: service[chef-expander] enabled&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-expander] action start (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing template[/etc/init.d/chef-server] action create (chef-server::rubygems-install line 205)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-server] updated content&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-server] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing file[/etc/default/chef-server] action create (chef-server::rubygems-install line 210)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-server] mode changed to 644&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-server] created file /etc/default/chef-server&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing link[/usr/sbin/chef-server] action create (chef-server::rubygems-install line 215)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: link[/usr/sbin/chef-server] created&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-server] action enable (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: service[chef-server] enabled&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-server] action start (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing template[/etc/init.d/chef-server-webui] action create (chef-server::rubygems-install line 205)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-server-webui] updated content&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: template[/etc/init.d/chef-server-webui] mode changed to 755&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing file[/etc/default/chef-server-webui] action create (chef-server::rubygems-install line 210)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-server-webui] mode changed to 644&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: file[/etc/default/chef-server-webui] created file /etc/default/chef-server-webui&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing link[/usr/sbin/chef-server-webui] action create (chef-server::rubygems-install line 215)&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: link[/usr/sbin/chef-server-webui] created&lt;br /&gt;[2012-09-27T15:33:03+08:00] INFO: Processing service[chef-server-webui] action enable (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:04+08:00] INFO: service[chef-server-webui] enabled&lt;br /&gt;[2012-09-27T15:33:04+08:00] INFO: Processing service[chef-server-webui] action start (chef-server::rubygems-install line 219)&lt;br /&gt;[2012-09-27T15:33:04+08:00] INFO: Chef Run complete in 3255.07702181 seconds&lt;br /&gt;[2012-09-27T15:33:04+08:00] INFO: Running report handlers&lt;br /&gt;[2012-09-27T15:33:04+08:00] INFO: Report handlers complete&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/7983673826610826942/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/09/error-failed-to-build-gem-native.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7983673826610826942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7983673826610826942'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/09/error-failed-to-build-gem-native.html' title='ERROR:  Failed to build gem native extension'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-1842793009437409492</id><published>2012-08-15T02:33:00.001-07:00</published><updated>2012-08-18T00:55:09.745-07:00</updated><title type='text'>Terminal Terminator</title><content type='html'>There are tons of tools to get you moving via the terminal, you have the nifty Yakuake, which drops from the top of you screen like blind shade.&lt;br /&gt;
&lt;br /&gt;
However what if moment calls that you be able to execute commands in a sync with several servers?&amp;nbsp; Terminator to the rescue.&amp;nbsp; Terminator is an excellent tool for firing-up several connections in one instance and be able to cascade your executed commands to all the rest those you connected.&lt;br /&gt;
&lt;br /&gt;
To install it all you need is just do a simply apt-get for Debian based systems&lt;package_name&gt;, for RedHat versions you have to install the EPEL repos to download and install the package. &amp;nbsp; &lt;/package_name&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSlwxU0UoaqEvzdGNYznr-m47mjcLYzMqjo8lbMjKBFmMIfEkYZo5hZhDpoY1VxxuY70KZLQgLm7rudjqDt6wJaJpNhUPnkXltvcMGwKGPwjYzYRy6quuUNKgUZETjATNp8VtKLLxyrzl4/s1600/terminator1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;396&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSlwxU0UoaqEvzdGNYznr-m47mjcLYzMqjo8lbMjKBFmMIfEkYZo5hZhDpoY1VxxuY70KZLQgLm7rudjqDt6wJaJpNhUPnkXltvcMGwKGPwjYzYRy6quuUNKgUZETjATNp8VtKLLxyrzl4/s640/terminator1.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/1842793009437409492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/terminal-terminator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1842793009437409492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1842793009437409492'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/terminal-terminator.html' title='Terminal Terminator'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSlwxU0UoaqEvzdGNYznr-m47mjcLYzMqjo8lbMjKBFmMIfEkYZo5hZhDpoY1VxxuY70KZLQgLm7rudjqDt6wJaJpNhUPnkXltvcMGwKGPwjYzYRy6quuUNKgUZETjATNp8VtKLLxyrzl4/s72-c/terminator1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-1450636857897802335</id><published>2012-08-15T01:15:00.002-07:00</published><updated>2012-08-15T01:23:59.258-07:00</updated><title type='text'>Site Reputation Checkers</title><content type='html'>There are times that you will be baffled by reports from users telling you that your site is a staging for Malware, Bots and Viruses.&amp;nbsp; If you believe you are free from these known vulnerabilities, take the time to step-back and check the links provided below.&amp;nbsp; It will pretty give you a summary of things hidden away from your eyes.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&quot;http://safeweb.norton.com/&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0066cc; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; margin: 0px; orphans: 2; padding: 0px; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;http://safeweb.norton.com&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f3f4f7; color: #333333; display: inline !important; float: none; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.trustedsource.org/&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0066cc; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; margin: 0px; orphans: 2; padding: 0px; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;http://www.trustedsource.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f3f4f7; color: #333333; display: inline !important; float: none; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.alken.nl/web-security-check.htm&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0066cc; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; margin: 0px; orphans: 2; padding: 0px; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;http://www.alken.nl/web-security-check.htm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://www.unmaskparasites.com/security-report/&quot;&gt;http://www.unmaskparasites.com/security-report/&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: #f3f4f7; color: #333333; display: inline !important; float: none; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;&lt;span class=&quot;Apple-converted-space&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.avg.com.au/resources/web-page-scanner&quot; style=&quot;-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: transparent; background-position: initial initial; background-repeat: initial initial; border: 0px; color: #0066cc; font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 19px; margin: 0px; orphans: 2; padding: 0px; text-align: left; text-decoration: underline; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;&quot;&gt;http://www.avg.com.au/resources/web-page-scanner&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/1450636857897802335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/site-reputation-checkers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1450636857897802335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/1450636857897802335'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/site-reputation-checkers.html' title='Site Reputation Checkers'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-7821532572182600468</id><published>2012-08-03T18:31:00.001-07:00</published><updated>2012-08-03T18:34:36.921-07:00</updated><title type='text'>The Fiber Optic Association - Tech Topics</title><content type='html'>&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The Truth about Fiber Optic and Copper Wires&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;hr align=&quot;left&quot; /&gt;
&lt;br /&gt;
&lt;dl&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Copper or Fiber? What&#39;s the real story?&amp;nbsp;&lt;a href=&quot;http://www.thefoa.org/tech/allfiber.htm&quot;&gt;(Here is a specific look at fiber vs copper in LANs)&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Every time we read another article about copper and fiber cabling that was written by someone who was either ignorant or prejudiced - or both - it is full of pure, unadulterated garbage. What is the real comparison of fiber and copper? Let&#39;s take a more careful look.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Point of view:&amp;nbsp;&lt;i&gt;Well, everybody has a point of view. We&#39;re the professional society of fiber optics, aren&#39;t we? But we have an interest in both technologies and know they are complementary in many ways, so if we&#39;re prejudiced, it&#39;s toward making sure everybody uses lots of both of them, but gets trained so they install either properly!&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;And as part of the point of view, we are focusing on premises cabling for communications, although we&#39;ll look at some other applications like outside plant telephones.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Start With Phones&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;First of all, telephone wire is over a century old. The actual way a phone works is that old too!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;The telephone wire used for POTS (plain old telephone service, like in your home or a small office) goes to a switch, where the analog voice signal is digitized and most probably sent off on a fiber optic cable. It it isn&#39;t now, it will be soon.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The copper phone wire has very limited bandwidth. It was designed to provide 3,000 Hz bandwidth, perfectly adequate for a voice signal. The modem has to play some pretty sophisticated games to get higher bit rates over the limited bandwidth of the POTS line. Two digital systems work on this old cable style: ISDN and xDSL. ISDN is a low bit rate digital signal that never caught on - since analog modems are just as fast and a lot cheaper and easier to set up. xDSL or digital subscriber loop is faster - as high as 1.5 Mb/s - but only if you are close to the phone switch - less than about 15,000 feet.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;So the phone system is mostly fiber optics beyond the short subscriber link. Fiber links offer over 1,000 times as much bandwidth over distances over 100 times further. Specifically, you can have:&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;2&quot; height=&quot;89&quot; width=&quot;572&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td height=&quot;26&quot; width=&quot;21%&quot;&gt;&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;22%&quot;&gt;&amp;nbsp;Distance&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;23%&quot;&gt;&amp;nbsp;Bandwidth&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;34%&quot;&gt;&amp;nbsp;Voice Channels&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td height=&quot;26&quot; width=&quot;21%&quot;&gt;&amp;nbsp;Copper&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;22%&quot;&gt;&amp;nbsp;2.5 km&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;23%&quot;&gt;1.5 Mb/s&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;34%&quot;&gt;&amp;nbsp;24&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td height=&quot;26&quot; width=&quot;21%&quot;&gt;&amp;nbsp;Fiber&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;22%&quot;&gt;&amp;nbsp;200 KM&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;23%&quot;&gt;2.5+ Gb/s&lt;/td&gt;&lt;td height=&quot;26&quot; width=&quot;34%&quot;&gt;&amp;nbsp;32,000 +&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;That tremendously higher capacity comes at a price. But even if it costs 1000 times as much for two fibers (one to transmit and receive), it is still 1/100th the cost of copper per voice channel. And it has other advantages, like a fiber optic cable being a fraction of the size and weight of a copper cable, a big point in underground conduits in crowded cities!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Depending on the application, fiber costs are typically 1-5% as much as copper in the backbone.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;In the subscriber loop, where one connection only is used, the economics are quite different. A drop to the home is less than $100, while a fiber to the home would cost over $1000 and require an onsite way to power the transceivers. So fiber to the home is a non-player, except in rural areas where the line is long and would require a repeater. Then the longer distance capability of fiber makes it cheaper to run fiber than have copper with repeaters and providing power to the repeater.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;CATV?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;What about the coax cable used for CATV? Well, it has lots of bandwidth (100 MHz to 1000 MHz depending on how old the installation is), but it even cheaper than telephone wire to install. CATV systems are using this coax for everything, (television signals, Internet connections, and even telephones) but it too is quickly converted to fiber, which provides the backbone connectivity due to&amp;nbsp;&lt;u&gt;lower loss&lt;/u&gt;&amp;nbsp;(and subsequently longer runs betweem repeaters) and&amp;nbsp;&lt;u&gt;much greater reliability&lt;/u&gt;.&amp;nbsp;&lt;i&gt;Both those features translate into cost savings, of course.&lt;/i&gt;&amp;nbsp;And the fiber backbones are bi-directional to allow for all the new services being offered.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;In both telephone and CATV systems, fiber and copper coexist, with each being used where the economics dictate.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The Real Controversy:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;When most people talk about copper vs. fiber, they are talking about LANs or premises cabling. Here there is a lot of controversy, a lot of &quot;positioning&quot; and a lot of misinformation.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;The wire we use for LANs is a lot younger than fiber optics. Fiber use is over 20 years old, but computer networks on unshielded-twisted-pair cable (UTP) have only been around about 15 years.&amp;nbsp;&lt;i&gt;In that time, UTP has gone through at least 5 generations, each time to keep up with the increasing bandwidth requirements of LANs.&lt;/i&gt;&amp;nbsp;Today, it&#39;s hardly the &quot;telephone wire&quot; that some people think it is.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;In that time, LANs have grown in capacity via:&amp;nbsp;&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;2&quot; width=&quot;450&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;&lt;b&gt;&amp;nbsp;LAN&lt;/b&gt;&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;&lt;b&gt;Bandwidth&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;Ethernet&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;10 Mb/s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;FDDI&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;100 Mb/s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;Fast Ethernet&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;100 Mb/s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;ATM&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;55, 155 Mb/s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;Gigabit Ethernet&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;1,000 Mb/s (1 gigabit/s)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td width=&quot;50%&quot;&gt;10 Gigabit Ethernet&lt;/td&gt;&lt;td width=&quot;50%&quot;&gt;&amp;nbsp;10 Gb/s&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;The copper cabling manufacturers should be praised for their technical efforts to expand the capacity of UTP cabling. And the hardware manufacturers deserve a pat on the back too! They have been able to keep up with networks by some really sophisticated product development (including the electronics that perform the miracles of getting signals on and off the cabling.)&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;But all their efforts have produced a product that is not easily installed&amp;nbsp;&lt;i&gt;if one needs the maximum performance offered.&lt;/i&gt;&amp;nbsp;Recently, a number of magazine articles and even a representative of AMP was quoted as saying that as much as 80-90% of all Cat 5 cabling was improperly installed and would not provide the rated performance. Contractors have told us that 40% of their Cat 6 installations pass certification tests.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The performance of the Cat 5 cable is dependent on close control of the physical characteristics of the cable and the materials used in the insulation. Untwist the wires too much at a connection or remove too much jacket and the cable may fail crosstalk testing. Pull it too hard (only 25 pounds tension allowed!) or kink it and loss the performance you paid for.&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Even if top performance is not necessary, getting all 8 of the wires connected correctly requires a lot of care. 1-5% of all connections will not be correct first time around, according to the installers I have talked with. And did we mention the problem of electromagnetic interference (EMI) from motors, flourescent light ballasts, etc.?&lt;/span&gt;&lt;/i&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;But most networks only run at Ethernet at 10 Mb/s to the desktop. Even if you use 10/100 Ethernet cards, they will fall back to 10 Mb/s if the cabling won&#39;t support the faster speeds. And I&#39;m told quite a few networks do. It&#39;s hard to tell unless you have a sophisticated network management system.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;So what about fiber ? Fiber is not that easy to install either. Pulling the cable is easy - in fact it can be pulled at 8 times the pulling tension of Cat 5 and the typical cables used include strength members and stiffeners that make it hard to kink and damage. Fiber, by the way, is a lot stronger than steel - remember they don&#39;t reinforce fiber glass boats, airplanes, or even tires now with steel - they use glass fiber or aramid fibers, the strength members used in fiber optic cable.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Terminating fiber optic cable is not as simple as copper. While manufacturers have developed crimp-on connectors, they are expensive, high loss and have not been very reliable. Fiber optic connectors need adhesives for reliability and low cost. And most installation involves stripping fibers, injecting adhesives and polishing the ends. No IDC (insulation displacement connectors) here. Any good installer can learn how to terminate fiber in less than 2 hours.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Fiber does not have infinite bandwidth either! At least not the multimode fiber used in most premises networks. It&#39;s a lot higher than copper, but as you approach gigabit speeds, you are limiting the distances available for links to 500 meters or so.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Singlemode fiber, as used in telco and CATV networks, practically has infinite bandwidth. But it uses higher cost components and can be pricey for shorter links. It&#39;s not necessary for today&#39;s networks but may be for the next generation. (You&#39;ve heard they are working on 10 GB Ethernet, haven&#39;t you?)&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;How about cost? Isn&#39;t that the bottom line for copper vs. fiber? Well, fiber prices continue to fall while copper prices (and the more sophisticated hardware needed to support high bandwidth transmission) rise. The cable plant is a wash - comparing Cat 5 and multimode fiber - both are about the same price by the time you consider everything (including fiber testers at $995 and copper testers at $4,000-6,000 and going up for Cat 6, 7 etc.)&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;It&#39;s the electronics that make the difference. A 10/100 Ethernet card for Cat 5 is $10-100, while a 10/100 fiber card (the new 100BASE-SX style) is $100-200 or so. And double the difference because you have to have electronics at each end of the link. Media converters from copper to fiber sell for as little as $100 and solve the problem of getting a fiber connection where a copper one now exists.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The additional cost of fiber is usually offset by the additional cost imposed by copper hubs (with the limited distance of copper - 90m - you need local telecom closets) and the cost of conditioned, uninterruptable power supplies (UPS), data-quality grounds and HVAC for every closet!&amp;nbsp;&lt;u&gt;These costs made one job estimate only $9 per desktop more with fiber - yet the customer still chose copper!&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;a href=&quot;http://www.thefoa.org/tech/allfiber.htm&quot;&gt;Here&#39;s another viewpoint.&lt;/a&gt;&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;So why are 99% of all desktops connected with copper?&amp;nbsp;&lt;u&gt;The comfort factor.&lt;/u&gt;&amp;nbsp;Installers and customers are both more comfortable with that old familiar copper wire (even if what they install has little in common with their simplistic perception!) and they like the fact that they save $100 or so on every desktop with copper.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;The majority of backbones in large companies are fiber. They want the bandwidth and reliability of fiber, and the networking equipment vendors recommend fiber for the backbone. They expect to upgrade to higher bandwidth in the future, and only fiber offers upgradeability.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;So what do we think you should do?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;If you are a typical user, Cat 5e to the desk is fine. You probably use Fast Ethernet and might use Gigabit Ethernet in the future, and that&#39;s what Cat 5e is designed for. However, I suggest you make sure it is installed properly - or you are wasting your money.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Power users should go fiber to the desk today, running a cable with 2 multimode 62.5/125 fibers of the new high bandwidth 50/125 laser-optimized type (&amp;gt;500 MH-km at 850 and 1300 nm) for future 10 GBE applications. Will you need 10 GBE at the desk? Not unless you are a heavy graphics user, like CAD or prepress? Not designing airliners or cars on the desktop? Go back to Cat 5e.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;What about Cat 5E or Cat 6?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Right now, Cat 6 is in limbo - no network calls for it and it needs a boost in performance for 10GbE. You get more performance, but no network is yet designed to operate on it. If you want a higher performance UTP cabling system - buy a complete solution from one vendor, require documentation on performance, and hope it has a purpose someday!&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Can&#39;t I future-proof my network?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;At the&amp;nbsp;&lt;u&gt;desktop&lt;/u&gt;&amp;nbsp;-no. Flatly, no. You have no guarantee that anything you install for cabling today, Category &quot;whatever&quot; copper or multimode fiber, will be useful in another few years. That&#39;s why manufacturers offer 15-25 year warranties - they know you will not be using that cabling more than another few years! A lifetime warranty is the only one that makes sense, since its lifetime is very short! Maybe you could install multimode and singlemode fiber, but you would be the first!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;In the&amp;nbsp;&lt;u&gt;backbone&lt;/u&gt;, maybe, if you install a large fiber count optical fiber cable with lots of spare singlemode fibers, you probably have a good chance of supporting your network for ten or twenty years. The backbone is easier to deal with since it changes a lot less than the desktop connection.&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Silly Move Dept.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;For some reason, the LAN migrated away from coax cable to UTP. Granted old &quot;thicknet&quot; Ethernet was a pain to deal with and expensive, but RG-58 (&quot;thinnet&quot; or &quot;cheapernet&quot;) was cheap and reliable. GBE would run like a charm over CATV RG-6, and it&#39;s cheaper than everything but string!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Oh well, nobody said it was gonna make sense!&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/dl&gt;
&lt;dl&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;reference: &amp;nbsp;&lt;/span&gt;&lt;/dl&gt;
&lt;a href=&quot;http://www.thefoa.org/tech/fo-or-cu.htm&quot;&gt;http://www.thefoa.org/tech/fo-or-cu.htm&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/7821532572182600468/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/the-fiber-optic-association-tech-topics.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7821532572182600468'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/7821532572182600468'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/08/the-fiber-optic-association-tech-topics.html' title='The Fiber Optic Association - Tech Topics'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-3977008421609532320</id><published>2012-07-24T03:58:00.000-07:00</published><updated>2012-07-24T04:10:13.768-07:00</updated><title type='text'>Using mod_rewrite to redirect web pages</title><content type='html'>There are plenty of tutorials to get this done but in its simpliest form redirecting an entire page to a different url all all together allows for greater internal security.&amp;nbsp; This can be done by using htaccess file to create a re-write rule.&amp;nbsp; A good example of code would look like this:&lt;br /&gt;
&lt;br /&gt;
================================&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #990000;&quot;&gt;
&lt;ifmodule mod_rewrite.c=&quot;&quot;&gt;&lt;ifmodule&lt;ifmodule mod_rewite.c=&quot;&quot;&gt;&amp;nbsp;&amp;nbsp; RewriteEngine on&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; RewriteCond %{HTTP_HOST} ^x\.x\.x\.x$&lt;br /&gt;&amp;nbsp;&amp;nbsp; RewriteRule ^(.*)$ https://x.x.x.x/myapp/$1 [L,R=301]&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; RewriteRule&amp;nbsp;&amp;nbsp;&amp;nbsp; ^$ app/webroot/&amp;nbsp;&amp;nbsp;&amp;nbsp; [L]&lt;br /&gt;&amp;nbsp;&amp;nbsp; RewriteRule&amp;nbsp;&amp;nbsp;&amp;nbsp; (.*) app/webroot/$1 [L]&lt;/ifmodule&lt;ifmodule&gt;&lt;/ifmodule&gt;&lt;br /&gt;
&lt;ifmodule mod_rewrite.c=&quot;&quot;&gt;&lt;br /&gt;&lt;/ifmodule&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
======================================&lt;br /&gt;
&lt;br /&gt;
Where &quot;x&quot; is the IP address separated by the dotted &quot;.&quot; notation&lt;br /&gt;
&lt;br /&gt;
Cheers!!! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/3977008421609532320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/using-modrewrite-to-redirect-web-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/3977008421609532320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/3977008421609532320'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/using-modrewrite-to-redirect-web-pages.html' title='Using mod_rewrite to redirect web pages'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-6067029884060986920</id><published>2012-07-24T03:52:00.001-07:00</published><updated>2012-08-15T01:25:23.655-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bash"/><title type='text'>Bash Internals a Researchers Eye View</title><content type='html'>Bash info, scripting examples, regex parameter substitution, interactive shell, and morekeywords:bash,shell,commmand,parameter,file,name,path,regular,expression,glob,login,mingetty,tty,console,terminal,screen,prompt,sudo,stdout,permission,permissionsdescription:Shell trivia and scripting examples including file name and path substitutions, as well as how to detect a live human logging in, and how to fix the session title and titlebar.Table of contents-----------------IntroductionLink to list of hintsDisabling xon xoff and detecting interactive loginRegular expressions and globbingChecking return status (return value) of programsCan&#39;t write a fileFixing the session titleUsing dd and gmime-uuencode to create passwordsA little rant about examplesIntroduction------------Shell programming and expecially shell variables are weird things. Therules are bizarre to those of use schooled in normal programminglanguages such as C, Perl, or Java. I&#39;m not a shell programmer, butafter much painful, irritating, frustrating trial and error, (andhours of Google searches) I&#39;ve managed to glean a few really usefulfacts. This document assumes that you are facile with the Linux shellbash, and that you are comfortable with shell commands and withviewing files, and comfortable viewing (and searching) man pages.By the way, it appears that the man page for bash is missing most ofthe available content. Heaven only knows why. For instance the manpage says &quot;Expressions are composed of the primaries described aboveunder CONDITIONAL EXPRESSIONS.&quot; There is no heading &quot;CONDITIONALEXPRESSIONS&quot; in the man page.I couldn&#39;t find the list of CONDITIONAL EXPRESSIONS via the &quot;infobash&quot; command either. However, hope is not lost. Fedora (and probablymost distros of Linux) have full docs on the hard drive. Mine are at:file:///usr/share/doc/bash-3.1/bash.htmlSimply use your web browser to read the docs off your hard drive. ForFedora these docs are mostly in HTML format. They also appear to becomplete.You can always search Google, and many web sites will have the fulldocs.If you are frustrated with the shell, I feel your pain. Except for themost trivial operations, I use Perl for all sysadmin scriptingtasks. (I don&#39;t want to start a religious war here: if you like shellprogramming I&#39;m happy for you. However, most of us will be moreproductive in Perl.) Perl makes sense and has many examples andencyclopedic documentation. For those times where Perl does&#39;t makesense (which I will readily admit occur on a regular basis), checkGoogle or &quot;man perltoc&quot; for the Perl docs table of contents.For examples of shell scripts, check out the scripts in /etc/init.d. Link to list of hints---------------------This information is implied by the bash man page (which is lackingexamples). There are also home nice hints at:&lt;a href=&quot;http://linuxgazette.net/issue18/bash.html&quot;&gt;http://linuxgazette.net/issue18/bash.html&lt;/a&gt;Disabling xon xoff and detecting interactive login--------------------------------------------------As of KDE4 (2008 and 2009) the terminal application konsole isbroken. It no longer accepts -ls. See my work around below.Reading between the lines, the -ls may have been added by one of thekonsole developers, and then removed by another developer (who Ipresume did not understand the implications).&lt;a href=&quot;http://www.linuxquestions.org/questions/slackware-14/kde-konsole-gone-after-installing-kde4-608652/&quot;&gt;http://www.linuxquestions.org/questions/slackware-14/kde-konsole-gone-after-installing-kde4-608652/&lt;/a&gt;The work around is simple enough, and I hope you haven&#39;t wasted anhour looking for the solution.1) Run konsole2) Settings menu -&amp;gt; Edit Current Profile... -&amp;gt; General tab -&amp;gt; Command:3) Change to /bin/bash --loginThis changes a KDE config file Shell (probably some where such as/home/mst3k/.kde/share/apps/konsole/Shell.profile) that konsole usesat startup. By invoking bash as --login, shopt login_shell will be&quot;on&quot;.Now your .bashrc or whatever will be able to distinguish when a humanis logged in, and when a script is running. The reason for this wouldbe to disable xon/xoff flow control for the human.From the bash prompt, &quot;konsole -e /bin/bash --login&quot; seems to work,but gives an interesting KDE error:[zeus ~]$ konsole -e /bin/bash --loginkonsole(659): Attempt to use QAction &quot;change-profile&quot; with KXMLGUIFactory![zeus ~]$ Undecodable sequence: \001b(hex)[?1034hAlso &quot;/bin/bash -i&quot; does *not* create an interactive session. I&#39;mguessing this is due to shopt login_shell being somehow inherited bychild processes.Note: This information has subtle inaccuracies in the distinctionbetween &quot;interactive shells&quot; and &quot;login shells&quot;. I hope to clarifythis soon. The Bash documentation says there is a difference, but doesnot get around to giving the reason(s) for the distinction.This example shows the solution two problems: how to disable the veryirritating software flow control xon and xoff mapped to keys control-x(C-x) and control-s (C-s). I&#39;m an emacs user, and in emacs I use thosekeys constantly. Bash is set up for emacs command line editing, so allmy emacs reactions get used on the command line too, but co-minglingemacs with the semi-emacs keystroke support in bash can lead toissues. The big one was accidentally stopping i/o by hitting the xoffkey. This key hasn&#39;t been needed since they days of dedicated CRTterminals (without scroll back buffers). Heaven only knows why it isstill the bash default. I don&#39;t even use flow control on a runlevel 3non-graphical console session.Using shopt -q login_shell seems to be the modern and reliable way todetect interactive shell sessions. When the session is interactive,disable start and stop which are xon and xoff. ******Note: -ls only applies to older versions of konsole. See above.******There is a potential problem with this. The default state of terminal(console) applications such as KDE&#39;s konsole is *not* as a loginshell. This seems like a bug. To cure this obscure issue launchKonsole as:konsole -lsChange how Konsole is run in you start menu. Right click your startbutton (Fedora button, KDE button, whatever you call it). Select &quot;MenuEditor&quot;. Click on one or more of the Terminal (konsole) entries, andadd &quot; -ls&quot; at the end of the &quot;Command&quot;.******Note: -ls only applies to older versions of konsole. See above.******You can see the output of shopt in human readable form by leaving offthe -q option (-q for quiet):shopt login_shellor shopt# The newer (?) method of detecting an interactive shell.# This works with Fedora Core 6, and probably most modern versions of# Linux. Disable xon xoff, and alias rm to rm -iif shopt -q login_shell ; then&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty stop undef&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stty start undef&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alias rm=&#39;rm -i&#39;fiBelow is another technique for testing to see if a login is aninteractive session. For reasons not quite clear, Apple&#39;s OSX has a problem setting and resetting the session name. It works under Linux,but not with OSX, and I can&#39;t figure out why Linux worksseamlessly. In any case, I created a weak workaround for OSX.The character strings being echoed are &quot;escape sequences&quot; for theterminal program. This seems to be more or less the same betweenxterm, &quot;linux&quot; (a terrible name for a tty since this is also the trueand real name of the operating system/kernel(?)), vt100, and mabe even&quot;ansi&quot; (another terrible name for a tty).# This works for OSX and should be fine for Linux too.# if [ ! -z &quot;$(echo $- | grep i)&quot; ]# Similar to the line above, but tests for 1 match instead of a# non-zero length return string. The shell variable $- contains the# values of the &quot;set&quot; command (which is different in Bash than in# csh(?) or some other shells). Do this:echo $-The result in my shell is &quot;himBH&quot;. The &quot;i&quot; undocumented, but meansthat the shell is &quot;interactive&quot;. The bash man page describes the otheroptions under the &quot;set&quot; section (try searching the man page for setwith multiple spaces in front &quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; set &quot; or better yet forget man anduse browse the docs with Firefox from /usr/share/doc/ )Bash&#39;s &quot;if&quot; command with [ ] checks the boolean result. The shoptmethod is checking the command return value. Therefore using &quot;echo&quot;piped to &quot;grep&quot; you must check against equivalence to 1.I don&#39;t know why the command has to be surrounded by double quotes,parentheses, and preceded by $. if [ &quot;$(echo $- | grep -c i)&quot; == 1 ]then&amp;nbsp;&amp;nbsp;&amp;nbsp; stty stop undef&amp;nbsp;&amp;nbsp;&amp;nbsp; stty start undef&amp;nbsp;&amp;nbsp;&amp;nbsp; alias rm=&#39;rm -i&#39;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Don&#39;t echo except for a tty. Non-ttys (like scp) will break if&amp;nbsp;&amp;nbsp;&amp;nbsp; # you echo text to them.&amp;nbsp;&amp;nbsp;&amp;nbsp; # hostname -s&amp;nbsp;&amp;nbsp;&amp;nbsp; # id -nu&amp;nbsp;&amp;nbsp;&amp;nbsp; # echo -e -n&amp;nbsp; is bash specific (as opposed to a feature of /bin/echo)&amp;nbsp;&amp;nbsp;&amp;nbsp; # &lt;a href=&quot;http://www.mit.edu/afs/sipb/project/outland/doc/rxvt/html/refer.html#XTerm&quot;&gt;http://www.mit.edu/afs/sipb/project/outland/doc/rxvt/html/refer.html#XTerm&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # 0 window title and icon name(?)&amp;nbsp;&amp;nbsp;&amp;nbsp; # 1 icon name&amp;nbsp;&amp;nbsp;&amp;nbsp; # 2 window title&amp;nbsp;&amp;nbsp;&amp;nbsp; # 30 type-of(?), usually Shell&amp;nbsp;&amp;nbsp;&amp;nbsp; #echo -ne &quot;\033]1;one\007&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; #echo -ne &quot;\033]2;two\007&quot;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo -ne &quot;\033]0;`id -nu`@`hostname -s`\007&quot;fi# The following older code worked for a while, or at least in some cases.# This checks to see if the session has a prompt string of non-zero# length.# &lt;a href=&quot;http://www.faqs.org/docs/bashman/bashref_68.html&quot;&gt;http://www.faqs.org/docs/bashman/bashref_68.html&lt;/a&gt;# Perhaps it stopped working when I made a small modification to my prompt.# In any case, it is less robust than the method above.# For interactive shells disable xon and xoff, and alias rm to rm -i# Use the a modern test.if [ ! -z &quot;$PS1&quot; ]then&amp;nbsp;&amp;nbsp;&amp;nbsp; stty stop undef&amp;nbsp;&amp;nbsp;&amp;nbsp; stty start undef&amp;nbsp;&amp;nbsp;&amp;nbsp; alias rm=&#39;rm -i&#39;fiThis older method didn&#39;t work when scp&#39;ing into the machine.I got the following result when using scp into the machine:[mst3k@zeus ~]$ scp tmp.txt hera.example.com:stty: standard input: Invalid argumentstty: standard input: Invalid argumenttmp.txt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100% 1919&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.9KB/s&amp;nbsp;&amp;nbsp; 00:00[mst3k@zeus ~]$ scp x_next.txt hera.example.com:Regular expressions and globbing--------------------------------Globbing is use of * as a wildcard to glob file name listtogether. Use of wildcards is not a regular expression.These following examples should also work inside bash scripts. These may or maynot be compatible with sh. These are &quot;interesting&quot; regex or globbingexamples. I say &quot;interesting&quot; because they don&#39;t seem to follow thepath of &quot;true&quot; regular expressions used by Perl.[mst3k@zeus ~]$ echo ${HOME/\/home\//}mst3k[mst3k@zeus ~]$ echo ${HOME##home}/home/mst3k[mst3k@zeus ~]$ echo ${HOME##/home}/mst3k[mst3k@zeus ~]$ echo ${HOME##/home/}mst3k[mst3k@zeus ~]$ echo ${HOME##*}[mst3k@zeus ~]$ echo ${HOME##*/}mst3k[mst3k@zeus ~]$Checking return status (return value) of programs-------------------------------------------------Linux and unix-like systems are not inclined to tell you the returnstatus of commands you run at the shell prompt. Use this little oneline shell if statement to check true/false return values.[zeus ~]$ if&amp;nbsp; shopt -q login_shell; then echo &quot;yes&quot;; fi;yes[zeus ~]$ if !&amp;nbsp; shopt -q login_shell; then echo &quot;yes&quot;; fi;[zeus ~]$&amp;nbsp;&amp;nbsp; Here is a better example, and includes a Perl script with differentexit values.Create a Perl script try.pl just like my try.pl that I&#39;ve cat&#39;edbelow. Here is a session transcript that should be clear. Yes, thePerl script is 6 lines. Yes, I strongly prefer my curly braces onseparate lines.[zeus ~]$ cat try.pl#!/usr/bin/perlif ($ARGV[0]){&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(0);}exit(1);[zeus ~]$ if ./try.pl stuff ; then echo &quot;yes&quot;; else echo &quot;no&quot;; fi;yes[zeus ~]$ if ./try.pl ; then echo &quot;yes&quot;; else echo &quot;no&quot;; fi;no[zeus ~]$Can&#39;t write a file------------------There are cases (especially with Apache and CGI scripts) where you (atthe shell command line) or one or your scripts is unable to write to afile due to permissions. This will be true even when you sudo thewriting command. The short answer is: the shell permissions controlfile writing, not the permissions of the command. We will use anexample of a user www (think: apache) trying to write to a file ownedby mst3k. In reality mst3k wrote the script but due to variousconfiguration issues, the CGI scripts are running as www.Here is the solution (more explanation below). Add a tee command toyour sudoers file:www&amp;nbsp; ALL=(ALL) NOPASSWD:&amp;nbsp; /usr/bin/teeOr perhaps the more secure version:www&amp;nbsp; ALL=(ALL) NOPASSWD:&amp;nbsp; /usr/bin/tee -a /var/log/text.txtUse this command in your script:/bin/echo &quot;i like pie&quot; | sudo /usr/bin/tee -a /var/log/test.txt &amp;gt;/dev/nullFor instance you have a CGI script written in Perl, and www is insudoers for /bin/echo and the following does *not* work. I&#39;ll use aPerl script, but it is probably true even at the bash prompt. Note:adding /bin/echo to your sudoers doesn&#39;t solve the problem. You mightsolve the problem by using another shell and su&#39;ing or sudo&#39;ing thenew shell.#!/usr/bin/perl`/bin/echo &quot;i like pie&quot; | sudo /usr/bin/tee -a /var/log/test.txt &amp;gt; /dev/null`;my $id = `/usr/bin/id`;print &quot;Content-type: text/html\n\nScript runs as:$id\n&quot;;exit(0);Keep in mind when trying to diagnose this problem that your script hasto run. The debugging processs has steps such as:1) Does the command work at the bash command line for the owner of the&amp;nbsp;&amp;nbsp; directory/file?2) Does the command work at the bash command line for non-owners in sudoers?3) Did the CGI script run? CGI scripts can silently fail. There won&#39;t&amp;nbsp;&amp;nbsp; be any http output, but you&#39;ll get no errors in your web browser&amp;nbsp;&amp;nbsp; (unless you&#39;ve got CGI::Carp enabled). There will be messages in&amp;nbsp;&amp;nbsp; the Apache logs. Apache won&#39;t run scripts with group-write or&amp;nbsp;&amp;nbsp; other-write privs, directories with group-write or other-write&amp;nbsp;&amp;nbsp; privs, or that aren&#39;t owned by the directory owner&amp;nbsp;&amp;nbsp; (/home/mst3k/public_html has to be owned by mst3k) and won&#39;t run&amp;nbsp;&amp;nbsp; scripts that have no AddHandler or if ExecCGI is not enabled. There&amp;nbsp;&amp;nbsp; are details about this elsewhere in these readme and mini howto&amp;nbsp;&amp;nbsp; documents, but your .htaccess should include:Options +ExecCGIAddHandler cgi-script .plFixing the session title------------------------Most xterm software will put a session title in the windowtitlebar. The bash shell has an environment variable PROMPT_COMMANDthat is run every time the prompt is printed. This env var is missingon Apple Mac OSX, but you can easily add it to your .bashrc on anysystem.Briefly, the format is:export PROMPT_COMMAND=&#39;echo -ne &quot;\033]0;title; echo -ne &quot;\007&quot;&#39;Usually, we want this to be the userid, hostname, and current directory (pwdis &quot;print working directory&quot;).export PROMPT_COMMAND=&#39;echo -ne &quot;\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}&quot;; echo -ne &quot;\007&quot;&#39;Put the line above into your .bashrc file. You can test this two ways:1) &quot;source&quot; .bashrc by typing &quot;. .bashrc&quot;2) enter the export command at the bash promptThis is how the prompt changes correctly when you log off a host. Thismight also be called fixing the prompt, fixing the titlebar, titlebar, session name, xterm session name, konsole session name, changesession name, change title bar, change session when logging off,logoff session change, terminal session name change, titlebar tweaks,escape sequence to change titlebar, vt100 sequence, vt102 sequences. Related information is:shell variables, environment variables, env,set, bash, .bashrc, bashrc, .bash_profile.Not related to this (at least not directly related) is.bash_logout. There is no magic at logout that &quot;resets&quot; the prompt ortitle bar. Each shell knows what its prompt and title bar should be,and the prompt and titlebar commands are run every time bash printsthe prompt. However you *must* have the shell variable PROMPT_COMMANDset and this is one of many fundamental features that OSX fails to set.Note that the env command doesn&#39;t show PROMPT_COMMAND. This is becausePROMPT_COMMAND is a variable. You can only see PROMPT_COMMAND&#39;s valuewith the &quot;set&quot; command or with &quot;echo $PROMPT_COMMAND&quot;. In fact, if you really want to know all about your environment (in thegeneral sense of the word) you need two commands, and I like to havethe env vars sorted (set automatically sorts):env | sortsetWhen I export PROMPT_COMMAND is it both an env var and a set var. I&#39;mmissing the distinction between the two kinds of variables. Using dd and gmime-uuencode to create passwords-----------------------------------------------Use /dev/urandom instead of /dev/random. Urandom gives better data andworks better with dd.if=file&amp;nbsp; is read from file instead of rading from stdinibs=n&amp;nbsp; is read n bytes at a timecount=n&amp;nbsp;&amp;nbsp; is copy n input blocksGetting the random input is easy, however, it is binary. We need toconvert to normal printing characters to produce a random stringuseful as a password. Encoding as uuencode or base64 handles thisproblem. dd if=/dev/urandom ibs=6 count=1 | base64dd if=/dev/urandom ibs=6 count=1 | gmime-uuencode -m -A little rant about examples----------------------------Authors of documentation, need to include a large number of examples.If you love your operating system then please include examples. Theoperating system with the most documentation examples will win thewar.&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/6067029884060986920/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/bash-internals-researchers-eye-view.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6067029884060986920'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/6067029884060986920'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/bash-internals-researchers-eye-view.html' title='Bash Internals a Researchers Eye View'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-489685699500532324</id><published>2012-07-21T07:26:00.001-07:00</published><updated>2012-07-21T07:28:08.262-07:00</updated><title type='text'>Building Subversion from Bleeding Edge Repos (CentOS/RHE)</title><content type='html'>There are times that you wanted to get the latest stable release software packages available, but is not readily found via the repos of your distribution of choice. &amp;nbsp;RHE and CentOS are know for its&amp;nbsp;notoriety&amp;nbsp;of &amp;nbsp;using very old and stable packages, albeit to say -- they carry older stocks. &amp;nbsp;RHE Engineers pride themselves for being well known in compiling source to RPM packages with security in mind. &lt;br /&gt;
&lt;br /&gt;
Now, if you are the type of sysadmin/developer who wants to try out &quot;bleeding edge&quot; technologies you can always turn to downloading the source packages and doing the necessary leg-work to get what you wanted. &amp;nbsp; One such package that technical people can&#39;t live without is subversion. &amp;nbsp;Subversion technology allows for greater versioning control and code audit trail. &amp;nbsp;If you use RHE / CentOS you may want to look into these repos for some new features that may interest you.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://pkgs.repoforge.org/subversion/&quot;&gt;http://pkgs.repoforge.org/subversion/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://subversion.apache.org/download/&quot;&gt;http://subversion.apache.org/download/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers!!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/489685699500532324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/building-subversion-from-bleeding-edge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/489685699500532324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/489685699500532324'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/building-subversion-from-bleeding-edge.html' title='Building Subversion from Bleeding Edge Repos (CentOS/RHE)'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1666849747901855096.post-2799061546187987794</id><published>2012-07-21T06:24:00.000-07:00</published><updated>2012-07-21T06:38:26.864-07:00</updated><title type='text'>Permanent Redirection to HTTPS</title><content type='html'>&lt;br /&gt;
Redirection of HTTP to HTTPS (80 - 443) is a nasty business and some of the items seen from the Internet would not really give you the exact procedure on how to do it.  In this post I am going to give-away my &quot;secret recipe&quot; to totally do just that. &amp;nbsp; So without further introduction lets go down the details:
&lt;br /&gt;
&lt;br /&gt;
Requirement is that you have your mod_rewrite module loaded by apache so I won&#39;t show you how to that here since its already elementary.&lt;br /&gt;
&lt;br /&gt;
Look at this piece of code and its one of those tadah moments!&lt;br /&gt;
&lt;br /&gt;
==========================================================&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#########################################&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#### XXX: BEGIN EDIT FOR MOD_REWRITE ####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#### This is intended to force HTTPS ####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#### for all inbound HTTP requests ####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# This module (mod_rewrite) simply tells Apache2 that all connections to&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# port 80 need to go to port 443 – SSL – No exceptions&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&amp;nbsp; &amp;nbsp; LoadModule rewrite_module modules/mod_rewrite.so&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&amp;nbsp; &amp;nbsp;RewriteEngine on&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# The line below sets the rewrite condition for mod_rewrite.so.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# That is, if the server port does not equal 443, then this condition is true&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;ReWriteCond %{SERVER_PORT} !^443$&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# The line below is the rule, it states that if above condition is true,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# and the request can be any url, then redirect everything to https:// plus&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;# the original url that was requested.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;RewriteRule ^/(.*) https://%{HTTP_HOST}/$1 [NC,R,L]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#### XXX: END EDIT FOR MOD_REWRITE ####&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #660000;&quot;&gt;#######################################&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
I guess the rest of the story resides in your ability to learn this promptly.

Cheers!!!</content><link rel='replies' type='application/atom+xml' href='http://myopensourcestints.blogspot.com/feeds/2799061546187987794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/permanent-https-redirection.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/2799061546187987794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1666849747901855096/posts/default/2799061546187987794'/><link rel='alternate' type='text/html' href='http://myopensourcestints.blogspot.com/2012/07/permanent-https-redirection.html' title='Permanent Redirection to HTTPS'/><author><name>RAVTSOFT CORP.</name><uri>http://www.blogger.com/profile/18075466563615589422</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/AVvXsEh00ECgovwyAV7xiyUboC1lSisQb2Esx9cIiJyUvge93TIqWFWlzMWdPdLOeQQhXW6Xtx-l8QQYPTIIteAlyInGAWU-4DN-ai0AUEHChJAZcAnEJ-GaGQnv-DhdR93doik/s220/2011-02-22-154446.jpg'/></author><thr:total>0</thr:total></entry></feed>