<?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>The Lazy Sys Admin &#187; OpenSUSE</title>
	<atom:link href="http://www.thelazysysadmin.net/category/opensuse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelazysysadmin.net</link>
	<description>Why do things the hard way?</description>
	<lastBuildDate>Tue, 11 Oct 2011 05:31:46 +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>SUSE Studio</title>
		<link>http://www.thelazysysadmin.net/2009/10/suse-studio/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=suse-studio</link>
		<comments>http://www.thelazysysadmin.net/2009/10/suse-studio/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 02:35:03 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Appliance]]></category>
		<category><![CDATA[Custom]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[SUSE Studio]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=670</guid>
		<description><![CDATA[It has been a very long time since something on the web has impressed me to the point of being amazed. But today I found out about SUSE Studio <a href="http://www.thelazysysadmin.net/2009/10/suse-studio/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have to say it has been a very long time since something on the web has impressed me to the point of being amazed. But today I found out about <a href="http://susestudio.com/" target="_blank">SUSE Studio</a>.</p>
<p>SUSE Studio allows you to build/create your own Linux distribution based on SUSE linux.</p>
<blockquote><p>&#8220;Build an appliance — or your own custom Linux distro — with a few mouse clicks. Customize it to your heart&#8217;s content, and share it with the world!&#8221;</p></blockquote>
<p><span id="more-670"></span>You can currently choose from one of many options available to create a OpenSUSE, SLES 10, SLED 10, SLES 11, or SLED 11 machine. You can create a custom boot menu with the option to upload your own image for bootsplash. Complete control over packages, ability to overlay files (this means you can inject scripts or your own program you are distributing) right into the machine.</p>
<p>Once you have completed creating your custom machine you can build it into a Live CD/DVD or a disk image (this can be DD&#8217;d onto a USB Stick or another for booting) or a VMWare Disk Image or a XEN Disk Image.</p>
<p>From here your SUSE Studio machine is just a quick download away, the machine I test built was just a 220MB download and on a 20mbit internet connection I was able to download my image at roughly 550kb/sec and took around 15 minutes.</p>
<p>This is a very well polished service and is currently still in beta. I can&#8217;t wait to see what these guys come up with next.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/10/suse-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE Local Update Repository</title>
		<link>http://www.thelazysysadmin.net/2009/07/opensuse-local-update-repository/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-local-update-repository</link>
		<comments>http://www.thelazysysadmin.net/2009/07/opensuse-local-update-repository/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 06:31:11 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[Auto Update]]></category>
		<category><![CDATA[Software Update]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=435</guid>
		<description><![CDATA[Details how to setup and maintain a local update repository for OpenSUSE, and also how to setup clients to access and install from it. <a href="http://www.thelazysysadmin.net/2009/07/opensuse-local-update-repository/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently wrote a three part article on <a href="http://www.thelazysysadmin.net/293/opensuse-autoyast-autoinstall-howto-part-1" target="_blank">using Autoyast to automate the installation of OpenSUSE machines</a>. I this article I will show you how to setup a local software update repository as well.</p>
<p><span id="more-435"></span>Ultimately if you are looking at having your own update repository then you will already have your own installation repository (if you don&#8217;t you can always go through the steps in Part 1 of my Autoyast how-to).</p>
<p>First of all create a directory inside your local repository called &#8220;updates&#8221; and then create a sub-directory for each of the versions you need (for me I only have opensuse11.1).</p>
<p>For you to update your individual servers after creating the repo you will need to have the &#8220;yast2-online-update-frontend&#8221; package installed.</p>
<p>Use the following command to initially create and update your repo.</p>
<pre class="brush: plain; title: ; notranslate">rsync -a -v -v --delete-after --progress --stats
mirror.internode.on.net::opensuse/update/11.1/
/var/lib/autoinstall/repository/updates/opensuse11.1-current/</pre>
<p>This command will copy about 8gb&#8217;s of data, but as it is using rsync you can cancel it and restart it as often as you need. Be sure to select a mirror near you from the following list <a href="http://mirrors.opensuse.org/" target="_blank">OpenSUSE Mirror List</a>.</p>
<p>Next log on to one of your clients and perform the following:</p>
<p>1. Go into YaST</p>
<p>2. Software -&gt; Software Management</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate01.jpg"><img class="alignnone size-full wp-image-470" title="AutoUpdate01" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate01.jpg" alt="AutoUpdate01" width="600" height="446" /></a></p>
<p>3. Click Add</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate02.jpg"><img class="alignnone size-full wp-image-471" title="AutoUpdate02" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate02.jpg" alt="AutoUpdate02" width="600" height="443" /></a></p>
<p>4. Select HTTP</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate04.jpg"><img class="alignnone size-full wp-image-472" title="AutoUpdate04" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate04.jpg" alt="AutoUpdate04" width="600" height="443" /></a></p>
<p>5. Enter the relevant details</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate06.jpg"><img class="alignnone size-full wp-image-473" title="AutoUpdate06" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate06.jpg" alt="AutoUpdate06" width="600" height="444" /></a></p>
<p>6. You should end with with a screen somewhat like the following</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate07.jpg"><img class="alignnone size-full wp-image-474" title="AutoUpdate07" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate07.jpg" alt="AutoUpdate07" width="600" height="444" /></a></p>
<p>7. Goto Software -&gt; Online Update</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate08.jpg"><img class="alignnone size-full wp-image-475" title="AutoUpdate08" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate08.jpg" alt="AutoUpdate08" width="600" height="444" /></a></p>
<p>8. Select the required updates</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate09.jpg"><img class="alignnone size-full wp-image-469" title="AutoUpdate09" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/07/AutoUpdate09.jpg" alt="AutoUpdate09" width="600" height="445" /></a></p>
<p>And that&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/07/opensuse-local-update-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Novell SLES 10 to OpenSUSE 11.1 Migration</title>
		<link>http://www.thelazysysadmin.net/2009/07/novell-sles-to-opensuse-migration/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=novell-sles-to-opensuse-migration</link>
		<comments>http://www.thelazysysadmin.net/2009/07/novell-sles-to-opensuse-migration/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 11:14:02 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Migration]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[SLES]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=446</guid>
		<description><![CDATA[In an effort to save on licensing costs I have just completed the migration from SLES to OpenSUSE. There were so many choices when it came to choosing the replacement for SLES <a href="http://www.thelazysysadmin.net/2009/07/novell-sles-to-opensuse-migration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In an effort to save on licensing costs I have just completed the migration from SLES to OpenSUSE. I have to say it was a little unnerving to step away from an enterprise class distribution. There were so many choices when it came to choosing the replacement for SLES, I knew we no longer wished to pay the licensing fee&#8217;s to only have access to software updates and support that has never been used (IMHO google for me is the best support agreement).</p>
<p>On the cards were CentOS, Ubuntu LTS, and OpenSUSE. Our main requirements were the ability to access upgrades and the use of an auto build system for rapid deployment. CentOS was ruled out early in the piece (unfortunately I have to say only for petty reasons, none of which are worth listing here). So the competition was between Ubuntu and OpenSUSE, now my personal opinion here would be for Ubuntu to be the successor but unfortunately it had a few fatal flaws.</p>
<p><span id="more-446"></span>The main positive for Ubuntu was the 5 year life cycle for Ubuntu LTS releases, 8.04 was the last so that gave me 4 years of supported updates. Also the Debian pedegree tied with the ideology of ease of usability. The only real subtractor was the Ubuntu auto build facilities. They just plain failed to function, I followed the directions laid out somewhere in the Ubuntu help pages but the installation of the required components failed. It was just plain clunky and immature, hopefully in time it will get there.</p>
<p>OpenSUSE had the smallest amount of change required for implementation. Almost all of the existing system documentation was still relevant between SLES and OpenSUSE including all custom scripts and applications just slid into place and worked out of the box. Autoyast was also a big massive tick in its favour, we had already been using the autoinstall system for our SLES setup. The only downside to choosing OpenSUSE was the short life cycle. Each OpenSUSE release will only support updates for two years at which point the move to the latest version will be required (either that or go through the process of selecting a new distribution again).</p>
<p>A couple of application compatibility issues surrounding going through two major application changes, those being PHP 5.1 to 5.2 and PostgreSQL from 8.1 to 8.3 but all issues were relatively simple to fix as our applications are developed in house. In summary, the migration has been a complete success and has been relatively painless, there were no real gotchas.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/07/novell-sles-to-opensuse-migration/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 3</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyastautoinstall-howto-part-3</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 21:38:01 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=298</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 3 &#8211; Putting it all together and installing a server<br />
</strong></p>
<p>In this part we will look at running through a machine install making use of our newly created repository and AutoInstall file.</p>
<p><span id="more-298"></span><br />
Check out <a href="http://www.thelazysysadmin.net/293/opensuse-autoyast-autoinstall-howto-part-1/" target="_self">Part 1 &#8211; Creating a repository for use with multiple systems</a><br />
<a href="http://www.thelazysysadmin.net/297/opensuse-autoyastautoinstall-howto-part-2/" target="_self">Part 2 &#8211; Creating and Customizing the AutoInstall file</a></p>
<p>What you will need:</p>
<ul>
<li>OpenSUSE Installation Media</li>
<li>Server/Desktop/VM that has access to DHCP and the HTTP server holding the Repository</li>
</ul>
<p><strong>OpenSUSE Installation Media</strong></p>
<p>You will need to boot the new machine with some form of installation media. This can be either the full installation DVD or my preference is the small network install CD (I prefer this as not all my servers have DVD drives, plus it is an 88mb ISO to upload to my VM Servers rather then a 5gb ISO). To get a copy of the Network Install disk goto <a href="http://software.opensuse.org/" target="_blank">http://software.opensuse.org/</a> and select Network for the installation medium.</p>
<p><strong>Installation</strong></p>
<p>For the screenshots in this Demo I am using a VM hosted on VMWare ESXi 4.0.</p>
<p>The machine should boot into the following screen.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_01.jpg"><img class="alignnone size-full wp-image-415" title="AutoYast_Demo_Part3_01" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_01.jpg" alt="AutoYast_Demo_Part3_01" width="600" height="450" /></a></p>
<p>To start with press F4 to bring up the source menu.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_02.jpg"><img class="alignnone size-full wp-image-416" title="AutoYast_Demo_Part3_02" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_02.jpg" alt="AutoYast_Demo_Part3_02" width="600" height="451" /></a></p>
<p>Select HTTP. You will then need to enter the details of your repository server (remember the directory in this context is the directory relative to the webroot)</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_03.jpg"><img class="alignnone size-full wp-image-417" title="AutoYast_Demo_Part3_03" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_03.jpg" alt="AutoYast_Demo_Part3_03" width="600" height="450" /></a></p>
<p>The next part you need to fill in some extra details for the boot options.</p>
<pre>autoyast=http://192.168.0.65/autoyast/autoinstall/demo.xml</pre>
<p>This will be the AutoInstall file you have created.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_04.jpg"><img class="alignnone size-full wp-image-418" title="AutoYast_Demo_Part3_04" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_04.jpg" alt="AutoYast_Demo_Part3_04" width="600" height="451" /></a></p>
<p>Next select Installation and press enter. For the rest just sit back and wait.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_05.jpg"><img class="alignnone size-full wp-image-419" title="AutoYast_Demo_Part3_05" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_05.jpg" alt="AutoYast_Demo_Part3_05" width="600" height="451" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_06.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_06" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_06.jpg" alt="AutoYast_Demo_Part3_06" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_07.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_07" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_07.jpg" alt="AutoYast_Demo_Part3_07" width="600" height="450" /></a></p>
<p>If you didn&#8217;t select an automated installation you will be stopped before the following screen presented with all the information regarding the installation (change what you need to then hit Install).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_08.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_08" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_08.jpg" alt="AutoYast_Demo_Part3_08" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_09.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_09" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_09.jpg" alt="AutoYast_Demo_Part3_09" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_10.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_10" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_10.jpg" alt="AutoYast_Demo_Part3_10" width="600" height="450" /></a></p>
<p>This is after the first reboot, when presented with the install screen again just select &#8220;Boot from Hard Disk&#8221; or let it time out. You could also remove the CD/DVD just before the machine reboots.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_11.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_11" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_11.jpg" alt="AutoYast_Demo_Part3_11" width="600" height="450" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_12.jpg"><img class="alignnone size-full wp-image-420" title="AutoYast_Demo_Part3_12" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part3_12.jpg" alt="AutoYast_Demo_Part3_12" width="600" height="450" /></a></p>
<p>And that is it. The machine install is complete. That concludes the series on AutoYast/AutoInstall. Sometime in the next few weeks I will put together a short howto on creating your own local Update repository.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 2</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyastautoinstall-howto-part-2</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 21:31:37 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=297</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 2 &#8211; Creating and Customizing the AutoInstall file</strong></p>
<p>In this part we will look at creating an AutoInstall file for use with AutoYast.</p>
<p><span id="more-297"></span><br />
Check out <a href="http://www.thelazysysadmin.net/293/opensuse-autoyast-autoinstall-howto-part-1/" target="_self">Part 1 &#8211; Creating a repository for use with multiple systems</a></p>
<p>For this part you will need a machine with OpenSUSE installed, the latest version would be best (although I think it should work with older versions, however I haven&#8217;t tested this theory).</p>
<p>Required Packages:</p>
<ul>
<li>autoyast2</li>
<li>autoyast2-installation</li>
</ul>
<p>In the next section we look at many different options. There are lots of things to explore, but I will leave this up to you. We will go through the basics:</p>
<ul>
<li>Disk Partitioning</li>
<li>Network Setup</li>
<li>Package Selection</li>
<li>Users and Groups</li>
<li>System Services (Runlevels)</li>
<li>Basic Post Install Scripting</li>
</ul>
<p>Firstly access YaST from either a X Windows session or from the Command Line (The screen shots are all from the command line version but the same rules should apply).</p>
<p>Goto the &#8220;Miscellanous &#8211; Autoinstallation&#8221; screen</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_01.jpg"><img class="alignnone size-full wp-image-380" title="AutoYast_Demo_Part2_01" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_01.jpg" alt="AutoYast_Demo_Part2_01" width="600" height="360" /></a></p>
<p><strong>Disk Partitioning</strong></p>
<p>In this section I found it best to use &#8220;Auto&#8221; for the device. This way the same file works between my test server in VM, through to my HP Servers with RAID configurations.</p>
<p>For the most part you will just need to enter the details you want/need. But there are two things that needs to be pointed out with regard to partition sizes. What you can do is build a partition with size Auto (this is best used on your swap partition) and also with size Max which will fill the rest of the drive&#8217;s free space. So the layout I commonly use is:</p>
<ul>
<li>/boot with 128mb &#8211; EXT2</li>
<li>SWAP with Auto</li>
<li>/ with 15GB &#8211; EXT3</li>
<li>/var or /home with Max, EXT3 (Depending on the role of the server, typically /home for development/webservers and /var for database/mail servers)</li>
</ul>
<p><em>Unfortunately, if you need to use software RAID Autoyast/Autoinstall will not work for you.</em></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_03.jpg"><img class="alignnone size-full wp-image-382" title="AutoYast_Demo_Part2_03" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_03.jpg" alt="AutoYast_Demo_Part2_03" width="600" height="359" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_04.jpg"><img class="alignnone size-full wp-image-383" title="AutoYast_Demo_Part2_04" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_04.jpg" alt="AutoYast_Demo_Part2_04" width="600" height="360" /></a></p>
<p><strong>Network Setup</strong></p>
<p>In the Network Settings screen click on Add.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_05.jpg"><img class="alignnone size-full wp-image-384" title="AutoYast_Demo_Part2_05" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_05.jpg" alt="AutoYast_Demo_Part2_05" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_06.jpg"><img class="alignnone size-full wp-image-385" title="AutoYast_Demo_Part2_06" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_06.jpg" alt="AutoYast_Demo_Part2_06" width="600" height="360" /></a></p>
<p>Leave the defaults on the Hardware Dialog Screen (unless you want to change from Eth0 to Eth1,2,3&#8230;.N, change the number in the Configuration Name Section).</p>
<p>Fill in the Network Card Setup screen with the options you require (ie, DHCP, Static Address, Additional Interface aliases).</p>
<p>Now back in the Network Settings screen go to Hostname/DNS and fill in the appropriate details there (Please note, this is one of the only things that needs to be changed for each server build, or alternatively you could build your servers with a generic name and change them after build).</p>
<p>Next fill in the required details in Routing and your done.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_07.jpg"><img class="alignnone size-full wp-image-386" title="AutoYast_Demo_Part2_07" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_07.jpg" alt="AutoYast_Demo_Part2_07" width="600" height="360" /></a></p>
<p><strong>Package Selection</strong></p>
<p>This section is relatively easy, all you need to do is fill in the details as you would for any installation. (The catch is you will first of all need to use the filter to display &#8220;Patterns&#8221; then at a bare minimum select &#8220;Base System&#8221;).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_08.jpg"><img class="alignnone size-full wp-image-387" title="AutoYast_Demo_Part2_08" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_08.jpg" alt="AutoYast_Demo_Part2_08" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_09.jpg"><img class="alignnone size-full wp-image-388" title="AutoYast_Demo_Part2_09" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_09.jpg" alt="AutoYast_Demo_Part2_09" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_10.jpg"><img class="alignnone size-full wp-image-379" title="AutoYast_Demo_Part2_10" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_10.jpg" alt="AutoYast_Demo_Part2_10" width="600" height="361" /></a></p>
<p><strong>Users and Groups</strong></p>
<p>Go to &#8220;Security and Users &#8211; User and Group Management&#8221; and at a bare minimum edit the Root user and set a password (if you don&#8217;t do this then you will not be able to login to the machine after it has been built).</p>
<p>At this point you can make any customisations you require for Users and Groups, as a best practice measure you should also create a non-root user and set a password for that account too.</p>
<p><strong>System Services</strong></p>
<p>You will also need to change the default system runlevel if you want a console only server, to do this goto &#8220;System &#8211; System Services (Runlevel)&#8221; then click edit.</p>
<p>Set the default runlevel to &#8220;3: Full multiuser with network&#8221; and then click ok.</p>
<p><strong>Custom Scripts</strong></p>
<p>You can use AutoYast to install custom files. This allows you to copy down configuration files to the installed machine, inject ssh keys whatever your imagination lets you do.</p>
<p>The other part is Post Install scripts which run during installation, this is used to run custom installers (ie wget a custom module and compile, or rsync webfiles, etc).</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_11.jpg"><img class="alignnone size-full wp-image-396" title="AutoYast_Demo_Part2_11" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_11.jpg" alt="AutoYast_Demo_Part2_11" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_12.jpg"><img class="alignnone size-full wp-image-397" title="AutoYast_Demo_Part2_12" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_12.jpg" alt="AutoYast_Demo_Part2_12" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_13.jpg"><img class="alignnone size-full wp-image-398" title="AutoYast_Demo_Part2_13" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_13.jpg" alt="AutoYast_Demo_Part2_13" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_14.jpg"><img class="alignnone size-full wp-image-399" title="AutoYast_Demo_Part2_14" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_14.jpg" alt="AutoYast_Demo_Part2_14" width="600" height="360" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_15.jpg"><img class="alignnone size-full wp-image-400" title="AutoYast_Demo_Part2_15" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_15.jpg" alt="AutoYast_Demo_Part2_15" width="600" height="361" /></a></p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_16.jpg"><img class="alignnone size-full wp-image-395" title="AutoYast_Demo_Part2_16" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_16.jpg" alt="AutoYast_Demo_Part2_16" width="600" height="360" /></a></p>
<p><strong>Finishing Touches</strong></p>
<p>The final thing to do is decide if you want the autobuild script to require confirmation, by default the installer will show you the proposed setup before installing requiring you to actually click the install button, if this is how you want it then by all means have a look at the other configuration options available to you before we head into the machine installation section in the next part of the series.</p>
<p>If you do want everything to be automatic then goto the &#8220;System &#8211; General Options&#8221; section then edit.</p>
<p><a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_02.jpg"><img class="alignnone size-full wp-image-381" title="AutoYast_Demo_Part2_02" src="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/AutoYast_Demo_Part2_02.jpg" alt="AutoYast_Demo_Part2_02" width="600" height="360" /></a></p>
<p>Just click next on the Mouse Configuration (unless you want to change something). Then set &#8220;Confirm installation?&#8221; to off. Click Next then Finished (F10 in CLI mode).</p>
<p>You can download my sample AutoInstall file &#8211; <a href="http://www.thelazysysadmin.net/wp-content/uploads/2009/06/demo.xml">Demo SUSE AutoInstall XML File</a></p>
<p>The password set on the root account in the XML file is &#8220;crackme&#8221;.</p>
<p>And your done. Check back for the next part when we look at actually doing a machine install.</p>
<p><a href="http://www.thelazysysadmin.net/298/opensuse-autoyastautoinstall-howto-part-3/" target="_self">Part 3 – Putting it all together and installing a server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyastautoinstall-howto-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSUSE AutoYast/AutoInstall Howto Part 1</title>
		<link>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=opensuse-autoyast-autoinstall-howto-part-1</link>
		<comments>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 01:19:41 +0000</pubDate>
		<dc:creator>Jon Smith</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSUSE]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[AutoInstall]]></category>
		<category><![CDATA[AutoYast]]></category>

		<guid isPermaLink="false">http://www.thelazysysadmin.net/?p=293</guid>
		<description><![CDATA[OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with AutoYaST which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment. In this three part series &#8230; <a href="http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE and SLES (SuSE Linux Enterprise Server) both come with <a href="http://www.suse.com/~ug/autoyast_doc/index.html" target="_blank">AutoYaST</a> which is a very powerful tool that allows administrators to quickly and easily deploy servers that have an identical configuration for rapid server deployment.</p>
<p>In this three part series we will explore creating a repository for use with multiple systems, creating and customizing the AutoInstall file, and finally running through an install procedure.</p>
<p><strong>Part 1 &#8211; Creating a repository for use with multiple systems</strong></p>
<p>In this part we will look at creating a local install repository for use with installing OpenSUSE. This can be done in several ways, one from the CD/DVD or with an RSync&#8217;ed copy of the repository.</p>
<p><span id="more-293"></span><br />
1. You will need to find a location to store your local repository with sufficient free disk space (my repo is currently 38gig&#8217;s and growing with every release and service pack that I am using. As an a-side the current full OpenSUSE11.1 repo is 14gig&#8217;s).</p>
<p>2. Choose a method for sharing your repository, for this guide we will be setting up HTTP with apache but you have the option of SLP, FTP, HTTP, NFS, SMB (Setting up the other methods are outside the scope of this tutorial, but whichever method you use, most of the steps will still apply).</p>
<p>3. If you are using Suse simply create an autoyast.conf file in the /etc/apache2/conf.d directory with the following contents (a vhost would work well for this as well, but just change the config to suit your needs).</p>
<pre class="brush: plain; title: ; notranslate">
    Alias /autoyast/ /var/lib/autoinstall/repository/

        Options +Indexes +FollowSymLinks
        IndexOptions +NameWidth=*

        Order allow,deny
        Allow from all
</pre>
<p>4. The quick an easy option here would be to just copy the contents of your installation DVD into a sub directory ie /var/lib/autoinstall/repository/opensuse11.1</p>
<p>The second and most complete option would be to rsync a copy from a mirror. This can be achieved with the following command.</p>
<pre class="brush: plain; title: ; notranslate">rsync -a -v -v --delete-after --progress
mirror.internode.on.net::opensuse/distribution/11.1/repo/oss/
/var/lib/autoinstall/repository/opensuse11.1/</pre>
<p>This command will copy 14gb&#8217;s of data, but as it is using rsync you can cancel it and restart it as often as you need. Be sure to select a mirror near you from the following list <a href="http://mirrors.opensuse.org/" target="_blank">OpenSUSE Mirror List</a>.</p>
<p>For the most part this process has been successful with just a copy of the installation media. OpenSUSE 11.1 is the first time I have created a local mirror of the installation repository. If you are only using one architecture then coping the installation media is probably the easiest method, but if you need to install across different platforms then copying an rsync mirror would probably be the best option.</p>
<p>Watch out in the next couple of days for the second part in the series, Creating and customizing the AutoInstall file.</p>
<p><a href="http://www.thelazysysadmin.net/297/opensuse-autoyastautoinstall-howto-part-2/" target="_self">Part 2 – Creating and Customizing the AutoInstall file</a><br />
<a href="http://www.thelazysysadmin.net/298/opensuse-autoyastautoinstall-howto-part-3/" target="_self">Part 3 – Putting it all together and installing a server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.thelazysysadmin.net/2009/06/opensuse-autoyast-autoinstall-howto-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

