<?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>Pario TechnoBlob &#187; Fedora</title>
	<atom:link href="http://pario.no/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://pario.no</link>
	<description>A cronological documentation test project, nothing serious, really!</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:17:58 +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>List rpm package content</title>
		<link>http://pario.no/2008/02/26/list-rpm-package-content/</link>
		<comments>http://pario.no/2008/02/26/list-rpm-package-content/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 08:04:48 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://pario.no/2008/02/26/list-rpm-package-content/</guid>
		<description><![CDATA[To list the contents of a package just run the command # rpm -ql packagename Example # rpm -ql nmap /usr/bin/nmap /usr/share/doc/nmap-3.70 /usr/share/doc/nmap-3.70/COPYING /usr/share/doc/nmap-3.70/COPYING.OpenSSL /usr/share/doc/nmap-3.70/README /usr/share/doc/nmap-3.70/nmap-fingerprinting-article.txt /usr/share/doc/nmap-3.70/nmap.deprecated.txt /usr/share/doc/nmap-3.70/nmap.usage.txt /usr/share/doc/nmap-3.70/nmap_doc.html /usr/share/doc/nmap-3.70/nmap_manpage.html /usr/share/man/man1/nmap.1.gz /usr/share/nmap /usr/share/nmap/nmap-mac-prefixes /usr/share/nmap/nmap-os-fingerprints /usr/share/nmap/nmap-protocols /usr/share/nmap/nmap-rpc /usr/share/nmap/nmap-service-probes /usr/share/nmap/nmap-services]]></description>
			<content:encoded><![CDATA[<p>To list the contents of a package just run the command</p>
<pre>
# rpm -ql packagename</pre>
<p>Example</p>
<pre>
# rpm -ql nmap

/usr/bin/nmap
/usr/share/doc/nmap-3.70
/usr/share/doc/nmap-3.70/COPYING
/usr/share/doc/nmap-3.70/COPYING.OpenSSL
/usr/share/doc/nmap-3.70/README
/usr/share/doc/nmap-3.70/nmap-fingerprinting-article.txt
/usr/share/doc/nmap-3.70/nmap.deprecated.txt
/usr/share/doc/nmap-3.70/nmap.usage.txt
/usr/share/doc/nmap-3.70/nmap_doc.html
/usr/share/doc/nmap-3.70/nmap_manpage.html
/usr/share/man/man1/nmap.1.gz
/usr/share/nmap
/usr/share/nmap/nmap-mac-prefixes
/usr/share/nmap/nmap-os-fingerprints
/usr/share/nmap/nmap-protocols
/usr/share/nmap/nmap-rpc
/usr/share/nmap/nmap-service-probes
/usr/share/nmap/nmap-services</pre>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDgvMDIvMjYvbGlzdC1ycG0tcGFja2FnZS1jb250ZW50Lzx3cHRiPkxpc3QgcnBtIHBhY2thZ2UgY29udGVudDx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2008/02/26/list-rpm-package-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rotate logs manually</title>
		<link>http://pario.no/2007/12/07/rotate-logs-manually/</link>
		<comments>http://pario.no/2007/12/07/rotate-logs-manually/#comments</comments>
		<pubDate>Fri, 07 Dec 2007 09:49:22 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[logrotate]]></category>
		<category><![CDATA[RedHat]]></category>

		<guid isPermaLink="false">http://pario.no/2007/12/07/rotate-logs-manually/</guid>
		<description><![CDATA[Today I had to manually rotate a couple of logs since they had generated a filesize of over 1.8GB of pure text. This was done by issuing the command logrotate /etc/logrotate.d/file_to_be_rotated In my case I had to rotate my firewall log /var/log/firewall described in a custom made file, /etc/logrotate.d/firewall logrotate -v -f /etc/logrotate.d/firewall -v Verbose [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had to manually rotate a couple of logs since they had generated a filesize of over 1.8GB of pure text.</p>
<p>This was done by issuing the command<br />
<code><br />
logrotate /etc/logrotate.d/file_to_be_rotated</code></p>
<p>In my case I had to rotate my firewall log <strong>/var/log/firewall</strong> described in a custom made file, <strong>/etc/logrotate.d/firewall</strong><br />
<code><br />
logrotate -v -f /etc/logrotate.d/firewall</code></p>
<blockquote><p>-v Verbose logging<br />
-f Force rotation of logs even if not needed</p>
</blockquote>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTIvMDcvcm90YXRlLWxvZ3MtbWFudWFsbHkvPHdwdGI%2BUm90YXRlIGxvZ3MgbWFudWFsbHk8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/12/07/rotate-logs-manually/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade from Fedora Core 7 to Core 8</title>
		<link>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/</link>
		<comments>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/#comments</comments>
		<pubDate>Fri, 30 Nov 2007 11:40:17 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Core 7]]></category>
		<category><![CDATA[Core 8]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/</guid>
		<description><![CDATA[This is the steps I took to upgrade a running Fedora Core 7 installation to Core 8 using yum from the command line. Please note that live upgrades are not recommended by the Fedora Project. Make a list of the systems current packages for later reference: rpm -qa --qf '%{NAME}\n' &#124; sort &#124; uniq &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>This is the steps I took to upgrade a running Fedora Core 7 installation to Core 8 using yum from the command line. Please note that  live upgrades are not recommended by the Fedora Project.</p>
<p>Make a list of the systems current packages for later reference:</p>
<pre>
rpm -qa --qf '%{NAME}\n' | sort | uniq &gt; ~/new-pkgnames.txt</pre>
<p>Make a backup of any system configuration data (as root):</p>
<pre>
tar czf ~/etc-`date +%F`.tar.gz /etc</pre>
<p><code><br />
yum clean all</code></p>
<p>Make sure the new repo files isn&#8217;t placed as .rpmnew files, perhaps by</p>
<pre>
mv /etc/yum.repos.d/fedora-updates.repo.rpmnew /etc/yum.repos.d/fedora-updates.repo
mv /etc/yum.repos.d/fedora.repo.rpmnew /etc/yum.repos.d/fedora.repo</pre>
<p>Also make sure that all the 3rd party repos you normally use point to the repository for the new Fedora release.</p>
<p>Next the upgrade.<br />
Make sure you are in runlevel 3</p>
<pre>
telinit 3</pre>
<p>Run the following command to update the yum repo on your box:</p>
<pre>
rpm -Uhv rpm -Uvh rpm -Uvh http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-8-3.noarch.rpm http://mirror.anl.gov/pub/fedora/linux/releases/8/Everything/i386/os/Packages/fedora-release-notes-8.0.0-3.noarch.rpm</pre>
<p><strong>yum</strong> might complain about conflicts or requirements. That is probably because you have used non-standard repositories or installed non-standard packages manually. Try to guess which packages cause the problem (or at least is a part of the dependency chain) &#8211; uninstall them and try again. Remember to install the packages again if they are essential.</p>
<p><strong>Tip: Find and review &#8220;lost&#8221; packages. </strong><br />
You can find orphaned packages (ie packages not in the repositories anymore) after the upgrade with the tool package-cleanup from the yum-utils package
<pre>yum install yum-utils; package-cleanup --orphans</pre>
<p>It&#8217;s often helpful to run this command before the update, too. For packages with a failing &#8220;%postun&#8221; script the old package will remain partly installed. Remove it with
<pre>rpm -e package-name-and-version</pre>
<p>If you forget to remove the avahi package it will refuse to be removed from the system with a error message &#8220;error: %postun(avahi-0.6.17-1.fc7.i386) scriptlet failed, exit status 1&#8243;. I haven&#8217;t looked up this error message any further.</p>
<p>I had to clean yum to make it aware of the recent package change, this might not be necessary.</p>
<pre>
yum clean all
yum upgrade</pre>
<p>Ensure that all (new) essential packages from the new version is installed with</p>
<pre>
yum groupupdate Base</pre>
<p>You might want to update other groups too, see</p>
<pre>
yum grouplist</pre>
<p>The system had to upgrade 937 packages before fedora Core 7 is a fedora Core 8 installation.</p>
<p>After the upgrade has finished a reboot is required and it was time to check for orphaned packages</p>
<pre>
package-cleanup --orphans</pre>
<p>The command for removing these packages is described earlier.</p>
<p>Source: <a href="http://docs.fedoraproject.org/install-guide/f8/en_US/sn-upgrade-tree.html">http://docs.fedoraproject.org/install-guide/f8/en_US/sn-upgrade-tree.html</a>,  <a href="http://www.ioncannon.net/system-administration/133/upgrading-from-fedora-7-to-fedora-8-with-yum/">http://www.ioncannon.net/system-administration/133/upgrading-from-fedora-7-to-fedora-8-with-yum/</a> and <a href="http://fedoraproject.org/wiki/YumUpgradeFaq">http://fedoraproject.org/wiki/YumUpgradeFaq</a></p>
<script type="text/javascript">var wordpress_toolbar_urls = ["http:\/\/docs.fedoraproject.org\/install-guide\/f8\/en_US\/sn-upgrade-tree.html","http:\/\/www.ioncannon.net\/system-administration\/133\/upgrading-from-fedora-7-to-fedora-8-with-yum\/","http:\/\/fedoraproject.org\/wiki\/YumUpgradeFaq"];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTEvMzAvdXBncmFkZS1mcm9tLWZlZG9yYS1jb3JlLTctdG8tY29yZS04Lzx3cHRiPlVwZ3JhZGUgZnJvbSBGZWRvcmEgQ29yZSA3IHRvIENvcmUgODx3cHRiPmh0dHA6Ly9wYXJpby5ubzx3cHRiPlBhcmlvIFRlY2hub0Jsb2I%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/11/30/upgrade-from-fedora-core-7-to-core-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Query RPM database/packages and list their architecture</title>
		<link>http://pario.no/2007/11/26/query-rpm-databasepackages-and-list-their-architecture/</link>
		<comments>http://pario.no/2007/11/26/query-rpm-databasepackages-and-list-their-architecture/#comments</comments>
		<pubDate>Mon, 26 Nov 2007 13:07:11 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[sort]]></category>

		<guid isPermaLink="false">http://pario.no/2007/11/26/query-rpm-databasepackages-and-list-their-architecture/</guid>
		<description><![CDATA[If you use the &#8211;queryformat argument with rpm it is possible to query RPMs for different architectures installed # rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}\\n &#124; grep dbus-glib &#124; sort Result dbus-glib-0.22-12.EL.5-i386 dbus-glib-0.22-12.EL.5-x86_64 This can also be used in one of my previous posts: Remove duplicate packages when querying the rpm database.]]></description>
			<content:encoded><![CDATA[<p>If you use the &#8211;queryformat argument with <strong>rpm</strong> it is possible to query RPMs for different architectures installed<br />
<code><br />
# rpm -qa --queryformat %{NAME}-%{VERSION}-%{ARCH}\\n | grep dbus-glib | sort</code></p>
<p>Result<br />
<code><br />
dbus-glib-0.22-12.EL.5-i386<br />
dbus-glib-0.22-12.EL.5-x86_64</code></p>
<p>This can also be used in one of my previous posts: <a href="http://pario.no/2007/11/23/remove-duplicate-packages-when-querying-the-rpm-database/">Remove duplicate packages when querying the rpm database</a>.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTEvMjYvcXVlcnktcnBtLWRhdGFiYXNlcGFja2FnZXMtYW5kLWxpc3QtdGhlaXItYXJjaGl0ZWN0dXJlLzx3cHRiPlF1ZXJ5IFJQTSBkYXRhYmFzZS9wYWNrYWdlcyBhbmQgbGlzdCB0aGVpciBhcmNoaXRlY3R1cmU8d3B0Yj5odHRwOi8vcGFyaW8ubm88d3B0Yj5QYXJpbyBUZWNobm9CbG9i";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/11/26/query-rpm-databasepackages-and-list-their-architecture/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling Remote Access to the Installation System</title>
		<link>http://pario.no/2007/10/17/enabling-remote-access-to-the-installation-system/</link>
		<comments>http://pario.no/2007/10/17/enabling-remote-access-to-the-installation-system/#comments</comments>
		<pubDate>Wed, 17 Oct 2007 06:41:22 +0000</pubDate>
		<dc:creator>Hans-Henry Jakobsen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://pario.no/2007/10/17/enabling-remote-access-to-the-installation-system/</guid>
		<description><![CDATA[You may access either graphical or text interfaces for the Redhat installation system from any other system. Access to a text mode display requires telnet, which is installed by default on Fedora systems. To remotely access the graphical display of an installation system, use client software that supports the VNC (Virtual Network Computing) display protocol. [...]]]></description>
			<content:encoded><![CDATA[<p>You may access either graphical or text interfaces for the Redhat installation system from any other system. Access to a text mode display requires <code class="command">telnet</code>, which is installed by default on Fedora systems. To remotely access the graphical display of an installation system, use client software that supports the <a title="id2534126" class="indexterm" name="id2534126"></a> VNC (Virtual Network Computing) display protocol. A number of       providers offer VNC clients for Microsoft Windows and Mac OS, as       well as UNIX-based systems.</p>
<p>The installation system supports two methods of establishing a VNC       connection. You may start the installation, and manually login to       the graphical display with a VNC client on another system.       Alternatively, you may configure the installation system to       automatically connect to a VNC client on the network that is       running in <em class="firstterm">listening mode</em>.</p>
<p><strong>Enabling Remote Access with VNC</strong><br />
To enable remote graphical access to the installation system, enter two options at the prompt:</p>
<pre>
linux vnc vncpassword=astrongpassword</pre>
<p>The vnc option enables the VNC service. The vncpassword option sets a password for remote access. The example shown above sets the password as astrongpassword. The VNC password must be at least six characters long.</p>
<p>Specify the language, keyboard layout and network settings for the installation system with the screens that follow. You may then access the graphical interface through a VNC client. The installation system displays the correct connection setting for the VNC client:</p>
<pre>
Starting VNC...
The VNC server is now running.
Please connect to computer.mydomain.com:1 to begin the install...
Starting graphical installation...
Press &lt;enter&gt; for a shell</pre>
<p>You may then login to the installation system with a VNC client. Start the VNC client Enter the server and display number in the VNC Server dialog. For the example above, the VNC Server is computer.mydomain.com:1.</p>
<p>This is possible on RedHat, Fedora and probably other distributions derived on these distributions like CentOS.</p>
<script type="text/javascript">var wordpress_toolbar_urls = [];var wordpress_toolbar_url = "http://pario.no/wp-content/plugins/wordpress-toolbar/toolbar.php";var wordpress_toolbar_oinw = "n";var wordpress_toolbar_hash = "aHR0cDovL3BhcmlvLm5vLzIwMDcvMTAvMTcvZW5hYmxpbmctcmVtb3RlLWFjY2Vzcy10by10aGUtaW5zdGFsbGF0aW9uLXN5c3RlbS88d3B0Yj5FbmFibGluZyBSZW1vdGUgQWNjZXNzIHRvIHRoZSBJbnN0YWxsYXRpb24gU3lzdGVtPHdwdGI%2BaHR0cDovL3BhcmlvLm5vPHdwdGI%2BUGFyaW8gVGVjaG5vQmxvYg%3D%3D";</script>]]></content:encoded>
			<wfw:commentRss>http://pario.no/2007/10/17/enabling-remote-access-to-the-installation-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

