<?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>Jeremys Linux Blog</title>
	<atom:link href="http://linux.jeremytennant.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linux.jeremytennant.com</link>
	<description>don&#039;t take this blog for gospel. I&#039;m a linux newbie!</description>
	<lastBuildDate>Fri, 04 Nov 2011 08:30:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Terminal commands I should commit to memory</title>
		<link>http://linux.jeremytennant.com/2011/11/02/terminal-commands-i-should-commit-to-memory/</link>
		<comments>http://linux.jeremytennant.com/2011/11/02/terminal-commands-i-should-commit-to-memory/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 01:33:23 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=53</guid>
		<description><![CDATA[Long time no post!!! Most of the stuff I&#8217;ve written here is well and truly out of date by now, but still, I&#8217;m hoping to start a list of commands here that I should commit to memory but probably won&#8217;t. Samba Restart stop smbd start smbd or just&#8230;. restart smbd &#160;]]></description>
			<content:encoded><![CDATA[<p>Long time no post!!! Most of the stuff I&#8217;ve written here is well and truly out of date by now, but still, I&#8217;m hoping to start a list of commands here that I should commit to memory but probably won&#8217;t.</p>
<ul>
<li>Samba Restart</li>
<ul>
<li>stop smbd</li>
<li>start smbd</li>
<li>or just&#8230;. restart smbd</li>
</ul>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2011/11/02/terminal-commands-i-should-commit-to-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Access using PuTTY, WinSCP and VNC</title>
		<link>http://linux.jeremytennant.com/2009/12/21/remote-access-using-putty-winscp-and-vnc/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/remote-access-using-putty-winscp-and-vnc/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 02:30:08 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Media Centre]]></category>
		<category><![CDATA[Jeremy's Server]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jeremy's Windows Desktop]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[OpenSSH server]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[Remote Access]]></category>
		<category><![CDATA[WinSCP]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=19</guid>
		<description><![CDATA[Instructions for accessing my Ubuntu Karmic Koala boxes remotely using three tools PuTTY, WinSCP and VNC VNC VNC support is installed natively, it just needs to be configured. VNC is like Remote Assistance from Microsoft; you are able to remotely view and control Gnome and all open windows interactively. Of course there are a few [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Instructions for accessing my Ubuntu Karmic Koala boxes remotely using three tools</strong></p>
<p><strong>PuTTY, WinSCP and VNC<br />
</strong></p>
<h1>VNC</h1>
<p>VNC support is installed natively, it just needs to be configured. VNC is like Remote Assistance from Microsoft; you are able to remotely view and control Gnome and all open windows interactively. Of course there are a few limitations (such as applications relying on OpenGL). XBMC for example cannot be controlled via VNC.</p>
<p>1. From the Gnome System menu select preferences and then Remote Desktop</p>
<p>2. Configure according to your own security requirements. I wasn&#8217;t worried about limiting my exposure except for a password for inbound connections. Plus, I have a permimeter firewall; these boxes are not in a DMZ.</p>
<p>3. Install VNC viewer on the machine that you would like to connect from</p>
<p style="padding-left: 30px;"><a href="http://lmgtfy.com/?q=vnc+viewer+free+download" target="_blank">http://lmgtfy.com/?q=vnc+viewer+free+download</a></p>
<p>4. Open VNC viewer on the machine you would like to connect from, insert the IP address of the remote machine and connect.</p>
<p><em><strong>Tip: If Gnome Menus do not load, disable system effects (System, Preferences, Appearance)</strong></em></p>
<h1>PuTTY</h1>
<p>First you need to<a href="http://linux.jeremytennant.com/2009/12/21/installing-openssh-server/" target="_blank"> install OpenSSH server</a> on the remote machine</p>
<p>Put simply, PuTTY is software that allows you to run terminal commands/applications from a remote system. In other words, anything that is not GUI you can do remotely without VNC&#8217;ing to the box or logging into the physical box.</p>
<p><strong>From Windows</strong></p>
<p>1. Grab a copy of PuTTY; I prefer PuTTY portable</p>
<p style="padding-left: 30px;"><a href="http://lmgtfy.com/?q=Putty+Portable" target="_blank">http://lmgtfy.com/?q=Putty+Portable</a></p>
<p>2. Open PuTTY.exe (or PuTTYportable.exe)</p>
<p style="padding-left: 30px;">IP Address (or host) of server</p>
<p style="padding-left: 30px;">Port 22</p>
<p style="padding-left: 30px;">Username/Password</p>
<h1>WinSCP</h1>
<p>First you need to<a href="http://linux.jeremytennant.com/2009/12/21/installing-openssh-server/" target="_blank"> install OpenSSH server</a> on the remote machine</p>
<p>According to the WinSCP website</p>
<blockquote><p>&#8220;WinSCP is an open source SFTP client and FTP client for Windows. Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol.&#8221;</p></blockquote>
<p>Put simply, WinSCP is software that allows you to upload files to and download files from your Linux server.</p>
<p><strong>From Windows</strong></p>
<p><strong></strong>1. Grab a copy of WinSCP; I prefer WinSCP portable</p>
<p style="padding-left: 30px;"><a href="http://lmgtfy.com/?q=WinSCP+Portable" target="_blank">http://lmgtfy.com/?q=WinSCP+Portable</a></p>
<p>2. Open WinSCP.exe (or WinSCPportable.exe)</p>
<p style="padding-left: 30px;">IP Address (or host) of server</p>
<p style="padding-left: 30px;">Port 22</p>
<p style="padding-left: 30px;">Username/Password</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/remote-access-using-putty-winscp-and-vnc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenSSH Server</title>
		<link>http://linux.jeremytennant.com/2009/12/21/installing-openssh-server/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/installing-openssh-server/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 02:11:44 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Media Centre]]></category>
		<category><![CDATA[Jeremy's Server]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[OpenSSH server]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[sudo apt-get install openssh-server]]></category>
		<category><![CDATA[WinSCP]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=18</guid>
		<description><![CDATA[Karmic Koala instructions for installing OpenSSH server to access Ubuntu remotely 1. I installed OpenSSH server sudo apt-get install openssh-server 2. That&#8217;s it; because I only have two accounts with very secure passwords, I wasn&#8217;t worried about limiting my exposure in any way. Plus, I have a permimeter firewall; these boxes are not in a [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing OpenSSH server to access Ubuntu remotely<br />
</strong></p>
<p>1. I installed OpenSSH server</p>
<p style="padding-left: 30px;">sudo apt-get install openssh-server</p>
<p>2. That&#8217;s it; because I only have two accounts with very secure passwords, I wasn&#8217;t worried about limiting my exposure in any way. Plus, I have a permimeter firewall; these boxes are not in a DMZ.</p>
<p><em><strong>For details on accessing the boxes using WinSCP and PuTTY <a href="http://linux.jeremytennant.com/2009/12/21/remote-access-using-putty-winscp-and-vnc" target="_self">see here</a></strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/installing-openssh-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>uTorrent in Wine</title>
		<link>http://linux.jeremytennant.com/2009/12/21/utorrent-in-wine/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/utorrent-in-wine/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 02:00:07 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Server]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[torrent]]></category>
		<category><![CDATA[uTorrent]]></category>
		<category><![CDATA[uTorrent 1.8.2]]></category>
		<category><![CDATA[uTorrent 1.8.5]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=26</guid>
		<description><![CDATA[Karmic Koala instructions for installing uTorrent in Wine. First you need to install Wine 1. Download the utorrent 1.8.2 setup file; do not download the latest version directly from utorrent, unfortunately it fails to open and says that uTorrent is already running. http://lmgtfy.com/?q=utorrent+1.8.2+download 2. Right click on the setup file and select run with Wine. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing uTorrent in Wine.</strong></p>
<p><strong>First you need to <a href="http://linux.jeremytennant.com/2009/12/21/installing-wine/" target="_blank">install Wine</a></strong></p>
<p>1. Download the utorrent 1.8.2 setup file; <span style="text-decoration: underline;"><strong>do not</strong></span> download the latest version directly from utorrent, unfortunately it fails to open and says that uTorrent is already running.</p>
<p style="padding-left: 30px;"><a href="http://lmgtfy.com/?q=utorrent+1.8.2+download" target="_blank">http://lmgtfy.com/?q=utorrent+1.8.2+download</a></p>
<p>2. Right click on the setup file and select run with Wine.</p>
<p>3. Complete the uTorrent setup wizard.</p>
<p style="padding-left: 30px;">Do not install any additional options</p>
<p style="padding-left: 30px;">Do not create any desktop shortcuts</p>
<p>4. From the Ubuntu menu browse to the utorrent directory.</p>
<p style="padding-left: 30px;">select Wine, Wine C:\ and browse to program files\utorrent</p>
<p>5. Copy the address from the address bar.</p>
<p style="padding-left: 30px;"><span style="color: #000000;">/home/jeremy/.wine/dosdevices/c:/Program Files/uTorrent/</span></p>
<p>6. Create a launcher on the desktop with the command.</p>
<p style="padding-left: 30px;"><span style="color: #000000;">wine &#8220;/home/jeremy/.wine/dosdevices/c:/Program Files/uTorrent/utorrent.exe&#8221;</span></p>
<p>7. Launch uTorrent and when it prompts you to upgrade, upgrade to the latest version.</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/utorrent-in-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Wine</title>
		<link>http://linux.jeremytennant.com/2009/12/21/installing-wine/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/installing-wine/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 01:48:34 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Server]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=37</guid>
		<description><![CDATA[Karmic Koala instructions for installing Wine 1. I installed Wine and Microsoft True Type Fonts sudo apt-get install Wine msttcorefonts 2. I also added an extra drive in Wine which was mapped to my raid5 array /dev/md0 From Wine Utilities I seleted drive, added a new drive (e:), then mapped it to /dev/md0]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing Wine</strong></p>
<p>1. I installed Wine and Microsoft True Type Fonts</p>
<p style="padding-left: 30px;">sudo apt-get install Wine msttcorefonts</p>
<p>2. I also added an extra drive in Wine which was mapped to my raid5 array /dev/md0</p>
<p style="padding-left: 30px;">From Wine Utilities I seleted drive, added a new drive (e:), then mapped it to /dev/md0</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/installing-wine/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>nvidia drivers and TV overscan</title>
		<link>http://linux.jeremytennant.com/2009/12/21/nvidia-drivers-and-tv-overscan/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/nvidia-drivers-and-tv-overscan/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 01:41:07 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Media Centre]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HDTV]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[nvidia-settings]]></category>
		<category><![CDATA[overscan]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=30</guid>
		<description><![CDATA[Karmic Koala instructions for installing the 190 nvidia drivers and correcting the overscan issue when outputting to my High Def TV. 1. Add the nvidia repo sudo add-apt-repository ppa:nvidia-vdpau/ppa 2. Update to find the latest packages sudo apt-get update 3. Install the new nvidia drivers sudo apt-get install nvidia-190-modaliases nvidia-glx-190 nvidia-settings-190 4. Reboot 5. Reset [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing the 190 nvidia drivers and correcting the overscan issue when outputting to my High Def TV.<br />
</strong></p>
<p>1. Add the nvidia repo</p>
<p style="padding-left: 30px;">sudo add-apt-repository ppa:nvidia-vdpau/ppa</p>
<p>2. Update to find the latest packages</p>
<p style="padding-left: 30px;">sudo apt-get update</p>
<p>3. Install the new nvidia drivers</p>
<p style="padding-left: 30px;">sudo apt-get install nvidia-190-modaliases nvidia-glx-190  nvidia-settings-190</p>
<p>4. Reboot</p>
<p>5. Reset the xconfig</p>
<p style="padding-left: 30px;">sudo nvidia-xconfig</p>
<p>6. Reboot</p>
<p>7.Open Nvidia settings</p>
<p style="padding-left: 30px;">sudo nvidia-settings</p>
<p>8. Find the TV under GPU0 and ajust overscan accordinly to make the image fit</p>
<p><a href="http://linux.jeremytennant.com/wp-content/uploads/2009/12/overscan.png"><img class="alignnone size-medium wp-image-32" title="nvidia-settings (overscan)" src="http://linux.jeremytennant.com/wp-content/uploads/2009/12/overscan-300x268.png" alt="nvidia-settings (overscan)" width="300" height="268" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/nvidia-drivers-and-tv-overscan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Notepad++ in Wine</title>
		<link>http://linux.jeremytennant.com/2009/12/21/notepad-in-wine/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/notepad-in-wine/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 14:18:10 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Jeremy's Server]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[notepad++]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/2009/12/21/wine-and-notepad/</guid>
		<description><![CDATA[Karmic Koala instructions for installing notepad++ in Wine. First you need to install Wine 1. Download the latest windows setup file from the notepadd++ website http://lmgtfy.com/?q=notepad%2B%2B 2. Right click on the setup file and select run with Wine. 3. Complete the notepad++ setup wizard. Do not install any additional options Do not create any desktop [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing notepad++ in Wine.</strong></p>
<p><strong>First you need to <a href="http://linux.jeremytennant.com/2009/12/21/installing-wine/" target="_blank">install Wine</a></strong></p>
<p>1. Download the latest windows setup file from the notepadd++ website</p>
<p style="padding-left: 30px;"><a href="http://lmgtfy.com/?q=notepad%2B%2B" target="_blank">http://lmgtfy.com/?q=notepad%2B%2B</a></p>
<p>2. Right click on the setup file and select run with Wine.</p>
<p>3. Complete the notepad++ setup wizard.</p>
<p style="padding-left: 30px;">Do not install any additional options</p>
<p style="padding-left: 30px;">Do not create any desktop shortcuts</p>
<p>4. From the Ubuntu menu browse to the notepad++ directory.</p>
<p style="padding-left: 30px;">select Wine, Wine C:\ and browse to program files\notepad++</p>
<p>5. Copy the address from the address bar.</p>
<p style="padding-left: 30px;">/home/jeremy/.wine/dosdevices/c:/Program Files/Notepad++/</p>
<p>6. Create a launcher on the desktop with the command.</p>
<p style="padding-left: 30px;">wine &#8220;/home/jeremy/.wine/dosdevices/c:/Program Files/Notepad++/notepad++.exe&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/notepad-in-wine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and Configuring Samba</title>
		<link>http://linux.jeremytennant.com/2009/12/21/installing-and-configuring-samba/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/installing-and-configuring-samba/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 14:03:13 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[disk]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=17</guid>
		<description><![CDATA[Karmic Koala instructions for installing and configuring Samba on my Server 1. I installed Samba sudo apt-get install samba samba-tools system-config-samba 2. I created a backup of the original Samba configuration cd /etc cd samba sudo mv smb.conf  smb.conf.old 3. Create a new smb.conf sudo nano /etc/samba/smb.conf 4. I typed the following config file thanks [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for installing and configuring Samba on my Server</strong></p>
<p>1. I installed Samba</p>
<p style="padding-left: 30px;">sudo apt-get install samba samba-tools system-config-samba</p>
<p>2. I created a backup of the original Samba configuration</p>
<p style="padding-left: 30px;">cd /etc</p>
<p style="padding-left: 30px;">cd samba</p>
<p style="padding-left: 30px;">sudo mv smb.conf  smb.conf.old</p>
<p>3. Create a new smb.conf</p>
<p style="padding-left: 30px;">sudo nano /etc/samba/smb.conf</p>
<p>4. I typed the following config file thanks to help from <a href="http://samba.netfirms.com/index.htm" target="_blank">http://samba.netfirms.com/index.htm</a></p>
<p style="padding-left: 30px;">#Global parameters</p>
<p style="padding-left: 30px;">workgroup = WORKGROUP<br />
netbios name = server<br />
encrypt passwords = yes</p>
<p style="padding-left: 30px;">[homes]<br />
read only = no<br />
browseable = no</p>
<p style="padding-left: 30px;">[backup]<br />
path = /mnt/raid/backup<br />
browseable = yes<br />
write list = jeremy<br />
invalid users = mediaservice</p>
<p style="padding-left: 30px;">[downloaded]<br />
path = /mnt/raid/downloaded<br />
write list = jeremy<br />
invalid users = mediaservice</p>
<p style="padding-left: 30px;">[downloading]<br />
path = /mnt/raid/downloading<br />
browseable = yes<br />
write list = jeremy<br />
invalid users = mediaservice</p>
<p style="padding-left: 30px;">[high def movies]<br />
path = /mnt/raid/high def movies<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[movies]<br />
path = /mnt/raid/movies<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[music]<br />
path = /mnt/raid/music<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[music dvd]<br />
path = /mnt/raid/music dvd<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[netsys]<br />
path = /mnt/raid/netsys<br />
browseable = yes<br />
write list = jeremy<br />
#invalid users = mediaservice</p>
<p style="padding-left: 30px;">[scratch]<br />
path = /mnt/raid/scratch<br />
public = yes<br />
browseable = yes</p>
<p style="padding-left: 30px;">[software]<br />
path = /mnt/raid/software<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[sysnet]<br />
path = /mnt/raid/sysnet<br />
browseable = yes<br />
write list = jeremy<br />
#invalid users = mediaservice</p>
<p style="padding-left: 30px;">[tv]<br />
path = /mnt/raid/tv<br />
browseable = yes<br />
write list = jeremy</p>
<p style="padding-left: 30px;">[watch]<br />
path = /mnt/raid/watch<br />
browseable = yes<br />
write list = jeremy<br />
invalid users = mediaservice</p>
<p style="padding-left: 30px;">[wing chun]<br />
path = /mnt/raid/wing chun<br />
browseable = yes<br />
write list = jeremy</p>
<p>5. I created a new user account called mediaservice (as mentioned above)</p>
<p style="padding-left: 30px;">sudo useradd -d /home/mediaservice -s /bin/false -N mediaservice</p>
<p style="padding-left: 30px;">sudo passwd mediaservice</p>
<p style="padding-left: 30px;">*************</p>
<p style="padding-left: 30px;">*************</p>
<p style="padding-left: 30px;">sudo smbpasswd -a mediaservice</p>
<p style="padding-left: 30px;">*************</p>
<p style="padding-left: 30px;">*************</p>
<p style="padding-left: 30px;">
<p>6. I set a samba password for my own account</p>
<p style="padding-left: 30px;">sudo smbpasswd -a Jeremy</p>
<p style="padding-left: 30px;">*************</p>
<p style="padding-left: 30px;">*************</p>
<p>5. I restarted samba</p>
<p style="padding-left: 30px;">sudo /etc/init.d/samba restart</p>
<p>5. I set permissions on the files</p>
<p style="padding-left: 30px;">sudo nautilus</p>
<p style="padding-left: 30px;">via nautilus I navigated to /mnt/raid and right clicked and selected permissions</p>
<p style="padding-left: 30px;">Owner -&gt; Root, Create and Delete Files</p>
<p style="padding-left: 30px;">Group -&gt; Users, Create and Delete Files</p>
<p style="padding-left: 30px;">Others -&gt; Create and Delete Files</p>
<p>5. I tested from a windows workstation</p>
<p style="padding-left: 30px;">\\192.168.0.200</p>
<p style="padding-left: 30px;">
<p style="padding-left: 30px;">
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/installing-and-configuring-samba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reassembling my RAID5 array after reinstall of Ubuntu Linux</title>
		<link>http://linux.jeremytennant.com/2009/12/21/reassembling-my-raid5-array-after-reinstall-of-ubuntu-linux/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/reassembling-my-raid5-array-after-reinstall-of-ubuntu-linux/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 13:48:26 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[disk]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[OS Reinstall]]></category>
		<category><![CDATA[raid5]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[assemble]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[reassemble]]></category>
		<category><![CDATA[reinstall OS]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=9</guid>
		<description><![CDATA[Karmic Koala instructions for reassembling my RAID 5 software array on my Server after reinstalling the OS I didn&#8217;t learn to do this by choice! I mucked up my video configuraiton and couldn&#8217;t boot into the gnome&#8230; after spending about 4 or 5 hours trying to fix it; I &#8220;bit the bullet&#8221; and reinstalled ubuntu. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for reassembling my RAID 5 software array on my Server after reinstalling the OS<br />
</strong></p>
<p>I didn&#8217;t learn to do this by choice! I mucked up my video configuraiton and couldn&#8217;t boot into the gnome&#8230; after spending about 4 or 5 hours trying to fix it; I &#8220;bit the bullet&#8221; and reinstalled ubuntu.</p>
<p>1. I installed mdadm</p>
<p style="padding-left: 30px;">sudo apt-get install mdadm</p>
<p>2. I (re) assembled the array</p>
<p style="padding-left: 30px;">sudo mdadm &#8211;assemble /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1</p>
<p>3. I got the details of the array</p>
<p style="padding-left: 30px;">sudo mdadm &#8211;detail &#8211;scan</p>
<p style="padding-left: 60px;"><em><strong>Output on this occasion was as follows; do not copy and paste this directly &#8211; it will be a different UUID for future arrays I create<br />
</strong></em></p>
<p style="padding-left: 60px;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=<span style="color: #ff0000;">00</span>.90 UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></p>
<p style="padding-left: 60px;">I found out later that I needed to remove one of the zeroes from the metadata version&#8230; when I did a sudo mdadm -D it gave me an error for the version information.</p>
<p style="padding-left: 60px;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=<span style="color: #ff0000;">0</span>.90 UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></p>
<p>4. I copied and pasted the above line into mdadm.conf</p>
<p style="padding-left: 30px;">sudo nano /etc/mdadm.conf</p>
<p style="padding-left: 60px;">File now has the following entry:</p>
<p style="padding-left: 60px;"><strong># definitions of existing MD arrays</strong></p>
<p style="padding-left: 60px;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=0.90 UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></p>
<p>5. I created somewhere for the array to be mounted</p>
<p style="padding-left: 30px;">cd /mnt</p>
<p style="padding-left: 30px;">sudo mkdir raid</p>
<p>6. I wanted the drive to be mounted automaticaly on startup</p>
<p style="padding-left: 30px;">sudo nano /etc/fstab</p>
<p>7. I added the following line</p>
<p style="padding-left: 30px;">/dev/md0                /mnt/raid                ext3                defaults                0                0</p>
<p>8. I mounted all arrays without rebooting</p>
<p style="padding-left: 30px;">sudo mount -a</p>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/reassembling-my-raid5-array-after-reinstall-of-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create and Mount RAID-5 Array</title>
		<link>http://linux.jeremytennant.com/2009/12/21/create-and-mount-raid-5-array/</link>
		<comments>http://linux.jeremytennant.com/2009/12/21/create-and-mount-raid-5-array/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 13:33:54 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[disk]]></category>
		<category><![CDATA[Karmic Koala 9.1]]></category>
		<category><![CDATA[mdadm]]></category>
		<category><![CDATA[raid5]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[raid]]></category>

		<guid isPermaLink="false">http://linux.jeremytennant.com/?p=7</guid>
		<description><![CDATA[Karmic Koala instructions for creating the RAID 5 Software array on my Server Originaly found here http://www.jamierf.co.uk/2009/11/04/software-raid-5-using-mdadm-in-ubuntu-9-10/ but stored on my blog for reference incase their blog dies one day. 1. I installed mdadm sudo apt-get install mdadm 2. I listed all the drives sudo fdisk -l 3. I edited each drive that was to [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Karmic Koala instructions for creating the RAID 5 Software array on my Server</strong></p>
<p><strong>Originaly found here <a href="http://www.jamierf.co.uk/2009/11/04/software-raid-5-using-mdadm-in-ubuntu-9-10/" target="_blank">http://www.jamierf.co.uk/2009/11/04/software-raid-5-using-mdadm-in-ubuntu-9-10/</a> but stored on my blog for reference incase their blog dies one day.<br />
</strong></p>
<p>1. I installed mdadm</p>
<p style="padding-left: 30px;">sudo apt-get install mdadm</p>
<p>2. I listed all the drives</p>
<p style="padding-left: 30px;">sudo fdisk -l</p>
<p>3. I edited each drive that was to be part of the array, for me my system drive and spare drive was /dev/sdg and /dev/sdh respectively</p>
<p style="padding-left: 30px;">sudo fdisk /dev/sda (but I also did this for the other drives in the array) /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf</p>
<p>4. I edited each drive that was to be part of the array, for me my system drive and spare drive was /dev/sdg and /dev/sdh respectively so obviously I didn&#8217;t touch them</p>
<p style="padding-left: 30px;">n (for new drive)</p>
<p style="padding-left: 30px;">p (for primary partition</p>
<p style="padding-left: 30px;">1 (for partition 1)</p>
<p style="padding-left: 30px;">enter (to select first cylinder</p>
<p style="padding-left: 30px;">enter (to select last cylinder)</p>
<p style="padding-left: 30px;">t (to set disk type)</p>
<p style="padding-left: 30px;">1 (for partition 1)</p>
<p style="padding-left: 30px;">fd (for Linux Raid Autodetect)</p>
<p style="padding-left: 30px;">w (to write changes to disk)</p>
<p>5. I created the array</p>
<p style="padding-left: 30px;">sudo mdadm &#8211;create &#8211;verbose /dev/md0 &#8211;level=5 &#8211;raid-devices=6 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 /dev/sdf1</p>
<p>6. I watched the progress</p>
<p style="padding-left: 30px;">sudo mdadm -D /dev/md0</p>
<p>7. I got the details of the array</p>
<p style="padding-left: 30px;">sudo mdadm &#8211;detail &#8211;scan</p>
<p style="padding-left: 30px;"><em><strong>Output on this occasion was as follows; do not copy and paste this directly &#8211; it will be a different UUID for future arrays I create<br />
</strong></em></p>
<p style="padding-left: 60px;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=<span style="color: #ff0000;">00.90</span> UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></p>
<p style="padding-left: 60px;">found out later that I needed to remove one of the zeroes from the metadata version&#8230; when I did a sudo mdadm -D it gave me an error for the version information.</p>
<p style="padding-left: 60px;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=<span style="color: #ff0000;">0.90</span> UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></p>
<p>8. I copied and pasted the above line into mdadm.conf</p>
<p style="padding-left: 30px;">sudo nano /etc/mdadm.conf</p>
<p style="padding-left: 30px;">File now has the following entry:</p>
<p style="padding-left: 60px;"><strong><span style="color: #000000;"># definitions of existing MD arrays</span></strong></p>
<p style="padding-left: 60px;"><span style="color: #000000;"><em><strong>ARRAY /dev/md0 level=raid5 num-devices=6 metadata=0.90 UUID=58155936:66553965:01f9e43d:ac30fbff</strong></em></span></p>
<p>9. I created the file system</p>
<p style="padding-left: 30px;">sudo mkfs.ext3 /dev/md0</p>
<p>10. I removed the default 5% reserved space from the drive</p>
<p style="padding-left: 30px;">sudo tune2fs -m 0 /dev/md0</p>
<p>11. I created somewhere for the array to be mounted</p>
<p style="padding-left: 30px;">cd /mnt</p>
<p style="padding-left: 30px;">sudo mkdir raid</p>
<p>12. I wanted the drive to be mounted automaticaly on startup</p>
<p style="padding-left: 30px;">sudo nano /etc/fstab</p>
<p>13. I added the following line</p>
<p style="padding-left: 30px;">/dev/md0                /mnt/raid                ext3                defaults                0                0</p>
<p style="text-align: left;">14. I mounted all arrays without rebooting</p>
<p style="text-align: left; padding-left: 30px;">sudo mount -a</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<pre>sudo fdisk -l</pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://linux.jeremytennant.com/2009/12/21/create-and-mount-raid-5-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

