<?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>x83.net &#187; Fedora</title>
	<atom:link href="http://www.x83.net/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 13:53:33 +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>Script to generate interface configs on Linux</title>
		<link>http://www.x83.net/script-to-generate-interface-configs-on-linux/</link>
		<comments>http://www.x83.net/script-to-generate-interface-configs-on-linux/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 20:26:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[DEVICE]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[ifcfg-eth1]]></category>
		<category><![CDATA[IPADDR]]></category>
		<category><![CDATA[touch]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=382</guid>
		<description><![CDATA[Generate ifcfg-eth1 307-366 configs. touch ifcfg-eth1:{307..366} for f in ifcfg-eth1:{307..366}; do cat origfile > &#8220;$f&#8221;; done for f in eth1:{307..366}; do echo &#8220;DEVICE=$f&#8221; >> &#8220;ifcfg-$f&#8221;; done for f in {307..366}; do echo &#8220;IPADDR=aaa.bbb.ccc.$((f-239))&#8221; >> &#8220;ifcfg-eth1:$f&#8221;; done origfile contains: GATEWAY=eee.fff.ggg.hhh TYPE=Ethernet BOOTPROTO=none NETMASK=255.255.255.192]]></description>
			<content:encoded><![CDATA[<p>Generate ifcfg-eth1 307-366 configs. </p>
<blockquote><p>touch ifcfg-eth1:{307..366}<br />
for f in ifcfg-eth1:{307..366}; do cat origfile > &#8220;$f&#8221;; done<br />
for f in eth1:{307..366}; do echo &#8220;DEVICE=$f&#8221; >> &#8220;ifcfg-$f&#8221;; done<br />
for f in {307..366}; do echo &#8220;IPADDR=aaa.bbb.ccc.$((f-239))&#8221; >> &#8220;ifcfg-eth1:$f&#8221;; done
</p></blockquote>
<p>origfile contains:</p>
<blockquote><p>GATEWAY=eee.fff.ggg.hhh<br />
TYPE=Ethernet<br />
BOOTPROTO=none<br />
NETMASK=255.255.255.192</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/script-to-generate-interface-configs-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing perl audio converter</title>
		<link>http://www.x83.net/installing-perl-audio-converter/</link>
		<comments>http://www.x83.net/installing-perl-audio-converter/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 04:17:27 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[pacpl]]></category>
		<category><![CDATA[pacpl.conf]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=361</guid>
		<description><![CDATA[Download the latest version of pacpl from: Download PACPL from http://pacpl.sourceforge.net/ install cpan, either with yum,apt.. Install these cpan modules: cpan install Ogg::Vorbis::Header cpan install Inline::MakeMaker cpan install MP3::Tag cpan install Audio::FLAC::Header cpan install MP4::Info cpan install Audio::WMA cpan install Audio::Musepack cpan install CDDB_get Untar the pacpl source and move the binary into /usr/bin and [...]]]></description>
			<content:encoded><![CDATA[<p>Download the latest version of pacpl from:</p>
<blockquote><p>Download PACPL from  http://pacpl.sourceforge.net/</p></blockquote>
<p>install cpan, either with yum,apt..</p>
<p>Install these cpan modules:</p>
<blockquote><p>cpan install Ogg::Vorbis::Header<br />
cpan install Inline::MakeMaker<br />
cpan install MP3::Tag<br />
cpan install Audio::FLAC::Header<br />
cpan install MP4::Info<br />
cpan install Audio::WMA<br />
cpan install Audio::Musepack<br />
cpan install CDDB_get
</p></blockquote>
<p>Untar the pacpl source and move the binary into /usr/bin and the share/pacpl files into /usr/share/pacpl, also the config file (pacpl.conf) should be in /etc/pacpl/</p>
<p>To convert from .caf to mp3 use:</p>
<p>pacpl &#8211;to mp3 file.caf</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/installing-perl-audio-converter/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>cpio and rpm2cpio howto</title>
		<link>http://www.x83.net/cpio-and-rpm2cpio-howto/</link>
		<comments>http://www.x83.net/cpio-and-rpm2cpio-howto/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 04:16:03 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpio]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[rpm2cpio]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=255</guid>
		<description><![CDATA[To extract a cpio file: cpio -iv < cpio_file To list the contents of a cpio file: cpio -itv < cpio_file To create a cpio file with all files in the current directory: ls &#124; cpio -o > cpio_file To extract all files from an RPM: rpm2cpio RPM_file &#124; cpio -idv To extract individual file(s) [...]]]></description>
			<content:encoded><![CDATA[<p> To extract a cpio file:</p>
<blockquote><p>cpio -iv < cpio_file</p></blockquote>
<p>To list the contents of a cpio file:</p>
<blockquote><p>cpio -itv < cpio_file</p></blockquote>
<p>To create a cpio file with all files in the current directory:</p>
<blockquote><p>ls | cpio -o > cpio_file</p></blockquote>
<p>To extract all files from an RPM:</p>
<blockquote><p>rpm2cpio RPM_file | cpio -idv</p></blockquote>
<p>To extract individual file(s) from an RPM:</p>
<blockquote><p>rpm2cpio RPM_file | cpio -id individual_file(s)</p></blockquote>
<p>e.g. Extracting libcrypto.so.0.9.7a and libssl.so.0.9.7a from openssl-0.9.7a-2.i386.rpm:</p>
<blockquote><p>rpm2cpio openssl-0.9.7a-2.i386.rpm | cpio -it egrep &#8220;libcrypto.so.0.9.7a|libssl.so.0.9.7a&#8221;</p>
<p>-rwxr-xr-x   1 root     root       992092 Feb 27 12:10 ./lib/libcrypto.so.0.9.7a<br />
-rwxr-xr-x   1 root     root       216004 Feb 27 12:10 ./lib/libssl.so.0.9.7a
</p></blockquote>
<blockquote><p>rpm2cpio openssl-0.9.7a-2.i386.rpm | cpio -idv ./lib/libssl.so.0.9.7a ./lib/libcrypto.so.0.9.7a</p></blockquote>
<p>This will extract the two files from the RPM into a ./lib subdirectory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/cpio-and-rpm2cpio-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple gcc versions</title>
		<link>http://www.x83.net/multiple-gcc-versions/</link>
		<comments>http://www.x83.net/multiple-gcc-versions/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 04:12:54 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cpio]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[multiple]]></category>
		<category><![CDATA[rpm2cpio]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=253</guid>
		<description><![CDATA[Lets say you have this package from FC11: [root@localhost ~]# rpm -q gcc gcc-4.4.0-4.i586 But you have an source code that needs gcc-4.3 to compile or something lower. So download lets say this: gcc-4.3.2-7.i386.rpm then: mkdir newgcc &#038;&#038; cd newgcc download http://pathtogcc/gcc-4.3.2-7.i386.rpm rpm2cpio gcc-4.3.2-7.i386.rpm &#124; cpio -idv Now you should have in newgcc/usr/bin/gcc. Or download [...]]]></description>
			<content:encoded><![CDATA[<p>Lets say you have this package from FC11:</p>
<blockquote><p>
[root@localhost ~]# rpm -q gcc<br />
gcc-4.4.0-4.i586</p></blockquote>
<p>But you have an source code that needs gcc-4.3 to compile or something lower.</p>
<p>So download lets say this: gcc-4.3.2-7.i386.rpm then:</p>
<blockquote><p>mkdir newgcc &#038;&#038; cd newgcc<br />
download http://pathtogcc/gcc-4.3.2-7.i386.rpm<br />
rpm2cpio gcc-4.3.2-7.i386.rpm | cpio -idv
</p></blockquote>
<p>Now you should have in <em>newgcc/usr/bin/gcc</em>.</p>
<p>Or download the gcc package you need from ftp://ftp.gnu.org and compile it with &#8211;prefix=$HOME/newgcc</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/multiple-gcc-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download RPMs with yum</title>
		<link>http://www.x83.net/download-rpms-with-yum/</link>
		<comments>http://www.x83.net/download-rpms-with-yum/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 03:03:55 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[downloadonly]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=248</guid>
		<description><![CDATA[Under Fedora and Centos: [root@infra ~]# yum install yum-downloadonly Be sure /etc/yum.conf contains : plugins=1 [root@infra ~]# yum reinstall gcc &#8211;downloadonly &#8211;downloaddir=/root Loaded plugins: downloadonly Setting up Reinstall Process Resolving Dependencies &#8211;> Running transaction check &#8212;> Package gcc.i386 0:4.1.2-33 set to be updated &#8212;> Package gcc.i386 0:4.1.2-33 set to be erased &#8211;> Finished Dependency Resolution [...]]]></description>
			<content:encoded><![CDATA[<p>Under Fedora and Centos:</p>
<blockquote><p>[root@infra ~]# yum install yum-downloadonly</p></blockquote>
<p>Be sure /etc/yum.conf contains : <em>plugins=1</em></p>
<blockquote><p>[root@infra ~]# yum reinstall gcc &#8211;downloadonly &#8211;downloaddir=/root<br />
Loaded plugins: downloadonly<br />
Setting up Reinstall Process<br />
Resolving Dependencies<br />
&#8211;> Running transaction check<br />
&#8212;> Package gcc.i386 0:4.1.2-33 set to be updated<br />
&#8212;> Package gcc.i386 0:4.1.2-33 set to be erased<br />
&#8211;> Finished Dependency Resolution</p>
<p>Dependencies Resolved</p>
<p>Installing:<br />
 gcc                         i386                         4.1.2-33                          fedora                            5.2 M<br />
Removing:<br />
 gcc                         i386                         4.1.2-33                          installed                         9.6 M</p>
<p>Transaction Summary</p>
<p>Install      1 Package(s)<br />
Update       0 Package(s)<br />
Remove       1 Package(s)         </p>
<p>Total download size: 5.2 M<br />
Is this ok [y/N]: y<br />
Downloading Packages:<br />
gcc-4.1.2-33.i386.rpm                                                                                        | 5.2 MB     00:00     </p>
<p>exiting because &#8211;downloadonly specified </p></blockquote>
<p>Now /root should contain : gcc-4.1.2-33.i386.rpm</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/download-rpms-with-yum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bandwidth Monitoring with Webmin</title>
		<link>http://www.x83.net/bandwidth-monitoring-with-webmin/</link>
		<comments>http://www.x83.net/bandwidth-monitoring-with-webmin/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 03:40:47 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[perl-Net-SSLeay]]></category>
		<category><![CDATA[Webmin]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=243</guid>
		<description><![CDATA[I have Fedora 8 on this server..to install webmin: yum -y install perl-Net-SSLeay rpm -ihv http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin-1.480-1.noarch.rpm Then login to the Webmin interface: https://site.com:10000/ and enable Networking -> Bandwidth Monitoring. It uses iptables and reads counters for IN/OUT. A good practice would be to change the port. This should work on Centos 5.2 / Centos 5.3 [...]]]></description>
			<content:encoded><![CDATA[<p>I have Fedora 8 on this server..to install webmin:</p>
<blockquote><p>yum -y install perl-Net-SSLeay<br />
rpm -ihv http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin-1.480-1.noarch.rpm</p></blockquote>
<p>Then login to the Webmin interface: https://site.com:10000/ and enable Networking -> <em>Bandwidth Monitoring</em>.<br />
It uses iptables and reads counters for IN/OUT. A good practice would be to change the port. This should work on Centos 5.2 / Centos 5.3 too. Also keep in mind that default installations of Fedora or Centos might require to <em>open</em> port 10000. On this Fedora 8 I had to :</p>
<blockquote><p>iptables -I  RH-Firewall-1-INPUT -p tcp -m state &#8211;state NEW -m tcp &#8211;dport 10000 -j ACCEPT<br />
service iptables save
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/bandwidth-monitoring-with-webmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to upgrade MySQL 5.0 to MySQL 5.1 cPanel</title>
		<link>http://www.x83.net/how-to-upgrade-mysql-5-0-to-mysql-5-1-cpanel/</link>
		<comments>http://www.x83.net/how-to-upgrade-mysql-5-0-to-mysql-5-1-cpanel/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 08:22:51 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[mysql 5.0]]></category>
		<category><![CDATA[mysql 5.1]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=221</guid>
		<description><![CDATA[How to upgrade MySQL 5.0 to MySQL 5.1 in a cPanel server Login as root and edit /var/cpanel/cpanel.config. Replace : mysql-version=5.0 with mysql-version=5.1 Finally run: /scripts/mysqlup]]></description>
			<content:encoded><![CDATA[<p>How to upgrade MySQL 5.0 to MySQL 5.1 in a cPanel server</p>
<p>Login as root and edit <strong>/var/cpanel/cpanel.config. </strong></p>
<p>Replace :</p>
<p>mysql-version=5.0 with<br />
mysql-version=5.1</p>
<p>Finally run: <em>/scripts/mysqlup</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-to-upgrade-mysql-5-0-to-mysql-5-1-cpanel/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

