<?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>Talk @ TLADI.NET &#187; centos</title>
	<atom:link href="http://talk.tladi.net/tag/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://talk.tladi.net</link>
	<description>News, Status and Technical Information</description>
	<lastBuildDate>Sat, 07 Nov 2009 05:39:42 +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>HOWTO: CentOS: vnstat</title>
		<link>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/</link>
		<comments>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 05:09:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://talk.tladi.net/?p=67</guid>
		<description><![CDATA[Vnstat is a useful tool for keeping an eye on your bandwidth usage. This utility doesn&#8217;t require any special type of access to your ethernet interfaces either, as it reads all of its data from the /proc filesystem. At the time of writing, vnstat is not available in the native CentOS repositories, so installation requires [...]]]></description>
			<content:encoded><![CDATA[<p>Vnstat is a useful tool for keeping an eye on your bandwidth usage. This utility doesn&#8217;t require any special type of access to your ethernet interfaces either, as it reads all of its data from the /proc filesystem.</p>
<p>At the time of writing, vnstat is not available in the native CentOS repositories, so installation requires downloading, compiling and installing the application from source.</p>
<p>The following steps will walk you through that:<br />
<tt><br />
1.) Get the source:<br />
cd /usr/local/src<br />
wget http://humdi.net/vnstat/vnstat-1.9.tar.gz</p>
<p>2.) Unpack it:<br />
tar -zxf vnstat-1.9.tar.gz</p>
<p>3.) Build it:<br />
cd vnstat-1.9<br />
make<br />
make install</p>
<p>4.) Test compatibility with your current kernel:<br />
vnstat --testkernel</p>
<p>5.) See your available interfaces:<br />
vnstat --iflist</p>
<p>6.) Initialise the databases for the interfaces you wish to monitor:<br />
vnstat -u -i eth0</p>
<p>7.) Install the start up script:<br />
cp examples/init.d/centos/vnstat /etc/init.d/</p>
<p>8.) Set the start up script runlevels:<br />
chkconfig --levels 2345 vnstat on</p>
<p>9.) Start the vnstat daemon:<br />
/etc/init.d/vnstat start<br />
</tt></p>
<p>That&#8217;s all there is to it. Now you can keep an eye on your bandwidth usage. e.g. set up a simple script run via cron to email you your stats each day.</p>
]]></content:encoded>
			<wfw:commentRss>http://talk.tladi.net/2009/11/07/howto-centos-vnstat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: CentOS: Multiple IP&#8217;s</title>
		<link>http://talk.tladi.net/2009/10/23/howto-centos-multiple-ips/</link>
		<comments>http://talk.tladi.net/2009/10/23/howto-centos-multiple-ips/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 14:43:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://talk.tladi.net/?p=61</guid>
		<description><![CDATA[It&#8217;s simple really. Create a file /etc/sysconfig/network-scripts/ifcfg-eth0:0 [eth1:x for 2nd interface etc.] containing: DEVICE=eth0:0 ONPARENT=yes IPADDR=192.168.1.1 BROADCAST=192.168.1.255 NETMASK=255.255.255.0 NETWORK=192.168.1.0 Manipulating the interface manually: Bring it up: /sbin/ifup eth0:0 Take it down: /sbin/ifdown eth0:0 The ONPARENT option will automatically bring it up and down in conjunction with the parent interface eth0. To remove automatic behaviour, just [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s simple really.<br />
Create a file <tt>/etc/sysconfig/network-scripts/ifcfg-eth0:0</tt> [eth1:x for 2nd interface etc.] containing:</p>
<blockquote><p><tt><br />
DEVICE=eth0:0<br />
ONPARENT=yes<br />
IPADDR=192.168.1.1<br />
BROADCAST=192.168.1.255<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.1.0<br />
</tt></p></blockquote>
<p>Manipulating the interface manually:<br />
Bring it up: <tt>/sbin/ifup eth0:0</tt><br />
Take it down: <tt>/sbin/ifdown eth0:0</tt></p>
<p>The <tt>ONPARENT</tt> option will automatically bring it up and down in conjunction with the parent interface <tt>eth0</tt>.<br />
To remove automatic behaviour, just delete or move the file away somewhere else.</p>
]]></content:encoded>
			<wfw:commentRss>http://talk.tladi.net/2009/10/23/howto-centos-multiple-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

