<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Larmeir.com &#187; redhat</title> <atom:link href="http://www.larmeir.com/tag/redhat/feed/" rel="self" type="application/rss+xml" /><link>http://www.larmeir.com</link> <description></description> <lastBuildDate>Sun, 22 Jan 2012 21:16:08 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Setting up a simple NFS share</title><link>http://www.larmeir.com/2010/03/setting-up-a-simple-nfs-share/</link> <comments>http://www.larmeir.com/2010/03/setting-up-a-simple-nfs-share/#comments</comments> <pubDate>Sat, 27 Mar 2010 09:55:11 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[cluster]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[howto]]></category> <category><![CDATA[NFS]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[share]]></category><guid
isPermaLink="false">http://larmeir.com/?p=1072</guid> <description><![CDATA[I migrated to Citrix Xenserver yesterday and needed an ISO storage point for my custom OS installs &#8211; the easiest solution for this? NFS ( Network File System ) This awesome tool is way to mount other machines across the network as if it was a local file system. In this case I am using [...]]]></description> <content:encoded><![CDATA[<p>I migrated to Citrix Xenserver yesterday and needed an ISO storage point for my custom OS installs &#8211; the easiest solution for this? NFS ( Network File System ) This awesome tool is way to mount other machines across the network as if it was a local file system. In this case I am using an internal backend network that is non-internet facing to share these files with my Xenserver host from a vm. In a nutshell here is a quickway to get a simple share up and running.</p><p><em>This information assumes that 10.8.126.83 is the NFS server and that 10.8.126.82 is the NFS client.</em></p><p>With CentOS/RedHat &#8211; NFS and everything needed comes pre-installed by default. You may need to install the nfs-utils packages as shown below:</p><pre>[root@dev ~]# rpm -qa | grep nfs
nfs-utils-1.0.9-42.el5
system-config-nfs-1.3.23-1.el5
nfs-utils-lib-1.0.8-7.6.el5</pre><p>and you will need to make sure it is configured to start at boot time:</p><pre>[root@dev ~]# chkconfig --list | grep nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
nfslock         0:off   1:off   2:off   3:on    4:on    5:on    6:off</pre><p>Server configuration:</p><p>In my example here I created a directory called /export/iso for my xenserver iso repository. In order to get this properly shared you will need to create an /etc/exports entry like what shown below:</p><pre>[root@dev ~]# cat /etc/exports
/export/iso     (insecure,no_root_squash,rw)</pre><p>Now we will use exportfs to get the NFS server to start serving this directory:</p><pre>[root@dev ~]# exportfs -ra
exportfs: No host name given with /export/iso (insecure,no_root_squash,rw), suggest *(insecure,no_root_squash,rw) to avoid warning</pre><p>This gives us a warning based on my config but does not affect the operation. You can set this to serve off a specific hostname if you wish.</p><p>Now you will need to add the NFS client ip/hostname to the /etc/hosts.allow config of the NFS server:</p><pre>[root@dev ~]# cat /etc/hosts.allow
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
portmap: 10.8.126.82/255.255.255.0</pre><p>From here it is now just a matter of mounting the share from the other system. In xenserver there is a storage addition gui for this but we will run through how to mount it from another Linux system as this is what most people will do with it anwyay:</p><pre>[root@www ~]# mount 10.8.126.83:/export/iso /mnt/</pre><p>and the end result is:</p><pre>[root@www ~]# mount | grep mnt
10.8.126.83:/export/iso on /mnt type nfs (rw,addr=10.8.126.83)</pre><p>and everything now works great!:</p><pre>[root@www ~]# ls /mnt/
8.0-RELEASE-i386-disc1.iso  ubuntu-9.10-server-i386.iso
Fedora-12-i386-netinst.iso</pre><p>There are tons of options for setting up NFS &#8211; my configuration is just for a very basic share.To learn more advanced usage I would check this site out <a
href="http://nfs.sourceforge.net/" target="_blank">http://nfs.sourceforge.net/</a> . I hope someone out there finds this useful.</p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2010/03/setting-up-a-simple-nfs-share/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Switched to good ole&#8217; Debian Lenny</title><link>http://www.larmeir.com/2010/03/switched-to-good-ole-debian-lenny/</link> <comments>http://www.larmeir.com/2010/03/switched-to-good-ole-debian-lenny/#comments</comments> <pubDate>Sat, 13 Mar 2010 13:31:22 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[backups]]></category> <category><![CDATA[debian]]></category> <category><![CDATA[dustin]]></category> <category><![CDATA[lenny]]></category> <category><![CDATA[migration]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[remote backups]]></category> <category><![CDATA[rsync]]></category><guid
isPermaLink="false">http://larmeir.com/?p=1056</guid> <description><![CDATA[Last night in my zombified state I migrated from RHEL 5 to Debian Lenny as I need to brush up on my Debian skillz. This was alot easier than expected thanks to my good friend rsync. Since we are on this topic lets touch on how to rsync over ssh. The easiest way to do [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.larmeir.com/wp-content/uploads/2010/03/debian-logo.png" rel="lightbox[1056]"><img
class="alignnone size-full wp-image-336" title="debian-logo" src="http://www.larmeir.com/wp-content/uploads/2010/03/debian-logo.png" alt="" width="293" height="250" /></a></p><p>Last night in my zombified state I migrated from RHEL 5 to Debian Lenny as I need to brush up on my Debian skillz. This was alot easier than expected thanks to my good friend rsync. Since we are on this topic lets touch on how to rsync over ssh. The easiest way to do this is shown below:</p><p># rsync -avz -e ssh /localdirectory username@yourdomain.com:/remotedirectory/</p><p>This command will connect to the other server via ssh, and copy the directory of /localdirectory to the root of /remotedirectory leaving all permissions and file attributes intact. The optimal way to use this in a backup scheme would be to implement ssh keys on the servers to allow for passwordless logins. This way you can execute a simple backup script via cron during any interval of your choosing. It is important to note that you should never use root on the backup server side when using keys as if this box gets compromised, you would not want the backup server to get rooted as well.</p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2010/03/switched-to-good-ole-debian-lenny/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Bittorrent for RedHat Enterprise 5 &#8211; Packaged with installer</title><link>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/</link> <comments>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/#comments</comments> <pubDate>Fri, 07 Nov 2008 22:08:07 +0000</pubDate> <dc:creator>dlarmeir</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[bitttorrent]]></category> <category><![CDATA[dentos]]></category> <category><![CDATA[gz]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[peer2peer]]></category> <category><![CDATA[pirate]]></category> <category><![CDATA[redhat]]></category> <category><![CDATA[redhat enterprise]]></category> <category><![CDATA[software pirate]]></category> <category><![CDATA[tar]]></category> <category><![CDATA[torrent]]></category> <category><![CDATA[torrents]]></category> <category><![CDATA[udp]]></category><guid
isPermaLink="false">http://larmeir.com/?p=243</guid> <description><![CDATA[Anyone who uses RedHat enterprise will find that plugging into third party repositories to get non standard software is risky. Today I needed to install bittorrent and noticed that the redhat enterprise 5 repository does not have what I need. Well, I got the packages needed and built a installer so that anyone using RedHat [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://larmeir.com/images/redhat.gif" rel="lightbox[243]"><img
class="alignnone" title="redhat" src="http://larmeir.com/images/redhat.gif" alt="" width="96" height="40" /></a></p><p>Anyone who uses RedHat enterprise will find that plugging into third party repositories to get non standard software is risky. Today I needed to install bittorrent and noticed that the redhat enterprise 5 repository does not have what I need. Well, I got the packages needed and built a installer so that anyone using RedHat Enterprise 5 can install bittorrent easily.</p><p>&#8212;&#8212;&#8212;&#8212;-</p><p>Instructions:</p><p>login as root or su</p><p>wget <a
title="http://larmeir.com/downloads/rhel5-bitorrent.tar.gz" href="http://larmeir.com/downloads/rhel5-bitorrent.tar.gz">http://larmeir.com/downloads/rhel5-bitorrent.tar.gz</a></p><p>tar xvzf rhel5-bitorrent.tar.gz</p><p>cd bittorrent-rhel5</p><p>sh bt-install.sh</p><p>&#8212;&#8212;&#8212;&#8212;</p><p>And that is it! You will have a fully working bittorrent installation. You can find the commands in /usr/bin</p><p># ls /usr/bin/ | grep bit<br
/> bittorrent-console*<br
/> bittorrent-curses*<br
/> bittorrent-tracker*</p><p>To start downloading a torrent us bittorrent-curses</p><p>/usr/bin/bittorrent-curses (url or path to torrent with no brackets)</p><p>Enjoy! &#8211; Dustin</p> ]]></content:encoded> <wfw:commentRss>http://www.larmeir.com/2008/11/bittorrent-for-redhat-enterprise-5-packaged-with-installer/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
<!-- Served from: www.larmeir.com @ 2012-02-07 21:37:23 by W3 Total Cache -->
