<?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; Centos</title>
	<atom:link href="http://www.x83.net/category/linux/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.x83.net</link>
	<description></description>
	<lastBuildDate>Sat, 24 Jul 2010 09:50:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Qmail Toaster on Centos 5.5</title>
		<link>http://www.x83.net/qmail-toaster-on-centos-5-5/</link>
		<comments>http://www.x83.net/qmail-toaster-on-centos-5-5/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 09:50:05 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[isoqlog]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[toaster]]></category>
		<category><![CDATA[vadddomain]]></category>
		<category><![CDATA[vmoduser]]></category>
		<category><![CDATA[vpasswd]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=454</guid>
		<description><![CDATA[I&#8217;ve followed the steps described in here : http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install  to install Qmail Toaster on Centos 5.5. 
If you access the isoqlog and get this error:
Forbidden?You don&#8217;t have permission to access /qlogs-toaster/ on this server.
After you do some email traffic run this :
sh /usr/share/toaster/isoqlog/bin/cron.sh
Commands that can be used:
qmailctl stat
/home/vpopmail/bin/vadddomain domain.com password
/home/vpopmail/bin/vadduser user@domain.com password
/home/vpopmail/bin/vmoddomlimits -S domain.com [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve followed the steps described in here : http://wiki.qmailtoaster.com/index.php/CentOS_5_QmailToaster_Install  to install Qmail Toaster on Centos 5.5. </p>
<p>If you access the isoqlog and get this error:<br />
Forbidden?You don&#8217;t have permission to access /qlogs-toaster/ on this server.</p>
<p>After you do some email traffic run this :</p>
<p>sh /usr/share/toaster/isoqlog/bin/cron.sh</p>
<p>Commands that can be used:</p>
<p>qmailctl stat<br />
/home/vpopmail/bin/vadddomain domain.com password<br />
/home/vpopmail/bin/vadduser user@domain.com password<br />
/home/vpopmail/bin/vmoddomlimits -S domain.com    // view domain limits<br />
/home/vpopmail/bin/vpasswd       // change pass<br />
/home/vpopmail/bin/vmoduser      // modify user stats</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/qmail-toaster-on-centos-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update php in Plesk</title>
		<link>http://www.x83.net/update-php-in-plesk/</link>
		<comments>http://www.x83.net/update-php-in-plesk/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 18:29:54 +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[Uncategorized]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=440</guid>
		<description><![CDATA[Run:
Download http://www.atomicorp.com/installers/atomic.sh
sh atomic.sh
yum update php

]]></description>
			<content:encoded><![CDATA[<p>Run:</p>
<blockquote><p>Download http://www.atomicorp.com/installers/atomic.sh<br />
sh atomic.sh<br />
yum update php
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/update-php-in-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Dante socks proxy</title>
		<link>http://www.x83.net/install-dante-socks-proxy/</link>
		<comments>http://www.x83.net/install-dante-socks-proxy/#comments</comments>
		<pubDate>Mon, 24 May 2010 12:51:07 +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[dante]]></category>
		<category><![CDATA[gcc]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[socks]]></category>

		<guid isPermaLink="false">http://www.x83.net/install-dante-socks-proxy/</guid>
		<description><![CDATA[Dante socks install :
Download Dante from : ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz
tar zxvf dante-1.2.0.tar.gz
cd dante-1.2.0
yum install gcc make
./configure
make -j4
make install
ifconfig -a &#124;  grep inet &#124; awk &#8216;{print $2}&#8217; &#124; awk -F &#8216;:&#8217; &#8216;{print $2}&#8217; &#124; grep -v 127.0.0.1 &#62;  /root/ips
for i in `cat ips` ;do echo &#8220;internal: $i port = 6060&#8243; &#62;&#62; /root/sockd.conf ;done
Example of sockd.conf :
logoutput: stderr
method: username [...]]]></description>
			<content:encoded><![CDATA[<p>Dante socks install :</p>
<p>Download Dante from : ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz</p>
<p>tar zxvf dante-1.2.0.tar.gz<br />
cd dante-1.2.0<br />
yum install gcc make<br />
./configure<br />
make -j4<br />
make install</p>
<blockquote><p>ifconfig -a |  grep inet | awk &#8216;{print $2}&#8217; | awk -F &#8216;:&#8217; &#8216;{print $2}&#8217; | grep -v 127.0.0.1 &gt;  /root/ips</p></blockquote>
<blockquote><p>for i in `cat ips` ;do echo &#8220;internal: $i port = 6060&#8243; &gt;&gt; /root/sockd.conf ;done</p></blockquote>
<p>Example of sockd.conf :</p>
<blockquote><p>logoutput: stderr<br />
method: username none<br />
external: externalIPtouse<br />
client pass {<br />
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0<br />
}<br />
pass {<br />
from: 0.0.0.0/0 to: 0.0.0.0/0<br />
method: username<br />
protocol: tcp udp<br />
}
</p></blockquote>
<p>Launch using :</p>
<p>sockd -f /root/sockd.conf -d</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/install-dante-socks-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How much disk space a database takes?</title>
		<link>http://www.x83.net/how-much-disk-space-a-database-takes/</link>
		<comments>http://www.x83.net/how-much-disk-space-a-database-takes/#comments</comments>
		<pubDate>Mon, 24 May 2010 07:08:12 +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[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[disk space]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[sum]]></category>

		<guid isPermaLink="false">http://www.x83.net/how-much-disk-space-a-database-takes/</guid>
		<description><![CDATA[Login to mysql and run :
select SUM(data_length) + SUM(index_length) as size from information_schema.tables where table_schema = &#8216;your_database&#8217;;
]]></description>
			<content:encoded><![CDATA[<p>Login to mysql and run :</p>
<p>select SUM(data_length) + SUM(index_length) as size from information_schema.tables where table_schema = &#8216;your_database&#8217;;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/how-much-disk-space-a-database-takes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove core files in cPanel</title>
		<link>http://www.x83.net/remove-core-files-in-cpanel/</link>
		<comments>http://www.x83.net/remove-core-files-in-cpanel/#comments</comments>
		<pubDate>Mon, 17 May 2010 17:23:02 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[core]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[locate]]></category>
		<category><![CDATA[updated]]></category>
		<category><![CDATA[xargs]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=419</guid>
		<description><![CDATA[One client has : 11.25.0-E43770 &#8211; WHM 11.25.0 &#8211; X 3.9 and seems that a lot of core files are create in /root or /usr/local/cpanel/install/ or /usr/local/cpanel/whostmgr/docroot/
To erase the core files just run :
updatedb &#38;&#38; locate -r /core\.[0-9] &#124; xargs rm -fv
Also verify if /etc/init.d/httpd has :
ulimit -c 0
]]></description>
			<content:encoded><![CDATA[<p>One client has : 11.25.0-E43770 &#8211; WHM 11.25.0 &#8211; X 3.9 and seems that a lot of core files are create in /root or /usr/local/cpanel/install/ or /usr/local/cpanel/whostmgr/docroot/</p>
<p>To erase the core files just run :</p>
<p>updatedb &amp;&amp; locate -r /core\.[0-9] | xargs rm -fv</p>
<p>Also verify if /etc/init.d/httpd has :</p>
<p>ulimit -c 0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/remove-core-files-in-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skip i386 packages on a x64_86 system</title>
		<link>http://www.x83.net/skip-i386-packages-on-a-x64_86-system/</link>
		<comments>http://www.x83.net/skip-i386-packages-on-a-x64_86-system/#comments</comments>
		<pubDate>Mon, 17 May 2010 17:05:42 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[skip]]></category>
		<category><![CDATA[xargs]]></category>
		<category><![CDATA[yum.conf]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=417</guid>
		<description><![CDATA[I have just installed Centos 5.5 by using the Netinstall version. Seems that on my x64_86 system I have a lot of i386 packages installed. To remove them I had to :
yum -C list installed &#124; grep i386 &#124; awk &#8216;{print $1}&#8217; &#124; xargs yum remove -y
Also edit /etc/yum.conf and add :
exclude=*.i386 *.i486 *.i586 *.i686 [...]]]></description>
			<content:encoded><![CDATA[<p>I have just installed Centos 5.5 by using the Netinstall version. Seems that on my x64_86 system I have a lot of i386 packages installed. To remove them I had to :</p>
<p>yum -C list installed | grep i386 | awk &#8216;{print $1}&#8217; | xargs yum remove -y</p>
<p>Also edit /etc/yum.conf and add :</p>
<p>exclude=*.i386 *.i486 *.i586 *.i686 *.athlon</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/skip-i386-packages-on-a-x64_86-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move Windows with screen</title>
		<link>http://www.x83.net/move-windows-with-screen/</link>
		<comments>http://www.x83.net/move-windows-with-screen/#comments</comments>
		<pubDate>Thu, 13 May 2010 11:18:36 +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[screen]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=414</guid>
		<description><![CDATA[
change to the window you want to move
type (for example) ^a:number 1
^x is the host key (usually ^a on most machines)  (CTRL+A)
:number (typed literally) is the command
1 the number to move the current screen to

]]></description>
			<content:encoded><![CDATA[<ul>
<li>change to the window you want to move</li>
<li>type (for example) <strong>^a:number 1</strong></li>
<li><strong>^x</strong> is the host key (usually ^a on most machines)  (CTRL+A)</li>
<li><strong>:number</strong> (typed literally) is the command</li>
<li><strong>1</strong> the number to move the current screen to</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/move-windows-with-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error compiling PHP on CentOS 64 bit</title>
		<link>http://www.x83.net/error-compiling-php-on-centos-64-bit/</link>
		<comments>http://www.x83.net/error-compiling-php-on-centos-64-bit/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:33:42 +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[64 bit]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=411</guid>
		<description><![CDATA[In order to compile PHP on 64 bit you need to use the option --with-libdir=lib64 otherwise you will stay forever with the following error
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... no
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql [...]]]></description>
			<content:encoded><![CDATA[<p>In order to compile PHP on 64 bit you need to use the option <code>--with-libdir=lib64</code> otherwise you will stay forever with the following error</p>
<blockquote><p><code>checking for MySQL support... yes<br />
checking for specified location of the MySQL UNIX socket... no<br />
checking for MySQL UNIX socket location... no<br />
checking for mysql_close in -lmysqlclient... no<br />
checking for mysql_error in -lmysqlclient... no<br />
configure: error: mysql configure failed. Please check config.log for  more information.</code></p></blockquote>
<p>Other possible reasons are :<br />
1. missing the libtool-ltdl-devel package<br />
2. missing the ncurses-devel<br />
3. missing mysql-devel package</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/error-compiling-php-on-centos-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/usr/bin/ld: cannot find -lltdl</title>
		<link>http://www.x83.net/usrbinld-cannot-find-lltdl/</link>
		<comments>http://www.x83.net/usrbinld-cannot-find-lltdl/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 18:32:59 +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[lltdl]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=409</guid>
		<description><![CDATA[yum install libtool-ltdl.x86_64 libtool-ltdl-devel.x86_64
]]></description>
			<content:encoded><![CDATA[<p>yum install libtool-ltdl.x86_64 libtool-ltdl-devel.x86_64</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/usrbinld-cannot-find-lltdl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCP: too many of orphaned sockets</title>
		<link>http://www.x83.net/tcp-too-many-of-orphaned-sockets/</link>
		<comments>http://www.x83.net/tcp-too-many-of-orphaned-sockets/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 16:52:44 +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[orphan sockets]]></category>
		<category><![CDATA[tcp_fin_timeout]]></category>
		<category><![CDATA[tcp_orphans_retries]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=407</guid>
		<description><![CDATA[The tcp_max_orphans variable tells the kernel how many TCP sockets  that are not attached to any user file handle to maintain. In case this number is exceeded, orphaned connections are immediately reset and a warning is  printed.
The only reason for this limit to exist is to prevent some  simple DoS attacks. Generally [...]]]></description>
			<content:encoded><![CDATA[<p>The tcp_max_orphans variable tells the kernel how many TCP sockets  that are not attached to any user file handle to maintain. In case this number is exceeded, orphaned connections are immediately reset and a warning is  printed.</p>
<p>The only reason for this limit to exist is to prevent some  simple DoS attacks. Generally you should not rely on this limit, nor should you lower it artificially. If need be, you should instead increase this limit if your network environment requires such an update. Increasing this limit may  require that you get more memory installed to your system. If you hit this  limit, you may also tune your network services a little bit to linger and kill  sockets in this state more aggressively.</p>
<p>This variable takes an integer value and is per default set to  8192, but heavily depends upon how much memory you have. Each orphan that  currently lives eats up 64Kb of unswappable memory, which means that one hell of a  lot of data will be used up if problems arise.</p>
<table border="0" width="100%">
<tbody>
<tr>
<td width="25" align="CENTER" valign="TOP"><img src="http://www.frozentux.net/ipsysctl-tutorial/chunkyhtml/images/note.gif" alt="Note" hspace="5" /></td>
<td align="LEFT" valign="TOP">If you run  into this limit, you will get an error message via the syslog facility kern.info that looks something like this:</p>
<p><tt>TCP: too many of orphaned sockets</tt></p>
<p>If this shows up, either upgrade the box in question or look  closer at the tcp_fin_timeout or tcp_orphans_retries which should give you some help  with getting rid of huge amounts of orphaned sockets.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/tcp-too-many-of-orphaned-sockets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
