<?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/category/linux/fedora/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>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>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>
		<item>
		<title>Plesk Qmail issue regarding /etc/courier-imap/shared/index</title>
		<link>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/</link>
		<comments>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 16:31:25 +0000</pubDate>
		<dc:creator>Giany</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Redhat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[courier-imap]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[qmail]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=398</guid>
		<description><![CDATA[If you see in your logs:
Jun 4 16:11:18 host imapd: /etc/courier-imap/shared/index: No such file or directory
you need to check perms and ownership on /var/qmail/bin/qmail-queue
# ls -la /var/qmail/bin/qmail-queue
-r-s&#8211;x&#8211;x 1 root qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue
perms are fine, but ownership is not
# chown qmailq:qmail /var/qmail/bin/qmail-queue
# ls -la /var/qmail/bin/qmail-queue
-r-x&#8211;x&#8211;x 1 qmailq qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue
[root@host [...]]]></description>
			<content:encoded><![CDATA[<p>If you see in your logs:<br />
Jun 4 16:11:18 host imapd: /etc/courier-imap/shared/index: No such file or directory</p>
<p>you need to check perms and ownership on /var/qmail/bin/qmail-queue</p>
<p># ls -la /var/qmail/bin/qmail-queue<br />
-r-s&#8211;x&#8211;x 1 root qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue<br />
perms are fine, but ownership is not<br />
# chown qmailq:qmail /var/qmail/bin/qmail-queue<br />
# ls -la /var/qmail/bin/qmail-queue<br />
-r-x&#8211;x&#8211;x 1 qmailq qmail 25828 Apr 26 15:20 /var/qmail/bin/qmail-queue<br />
[root@host ~]# service qmail restart<br />
Stopping : Starting qmail:</p>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/qmail-issue-etccourier-imapsharedindex/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Squid 3.1 on Centos 5.X</title>
		<link>http://www.x83.net/install-squid-3-1-on-centos-5-x/</link>
		<comments>http://www.x83.net/install-squid-3-1-on-centos-5-x/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 12:09:23 +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[groupinstall]]></category>
		<category><![CDATA[rpmbuild]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=396</guid>
		<description><![CDATA[yum -y groupinstall &#8220;Development Tools&#8221;
yum -y install rpm-build openjade linuxdoc-tools openldap-devel pam-devel openssl-devel httpd rpm-devel expat-devel db4-devel libpcap-devel

For Centos : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.el5.src.rpm
For Fedora : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.fc13.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bb squid.spec
rpm -Uhv /usr/src/redhat/RPMS/i386/squid-3.1.0.15-2.i386.rpm
]]></description>
			<content:encoded><![CDATA[<blockquote><p>yum -y groupinstall &#8220;Development Tools&#8221;<br />
yum -y install rpm-build openjade linuxdoc-tools openldap-devel pam-devel openssl-devel httpd rpm-devel expat-devel db4-devel libpcap-devel
</p></blockquote>
<blockquote><p>For Centos : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.el5.src.rpm<br />
For Fedora : rpm -ihv http://www.jur-linux.com/rpms/el-updates/5Client/SRPMS/squid-3.1.0.15-2.fc13.src.rpm</p></blockquote>
<blockquote><p>cd /usr/src/redhat/SPECS<br />
rpmbuild -bb squid.spec<br />
rpm -Uhv /usr/src/redhat/RPMS/i386/squid-3.1.0.15-2.i386.rpm</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/install-squid-3-1-on-centos-5-x/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Add swap on Linux</title>
		<link>http://www.x83.net/add-swap-on-linux/</link>
		<comments>http://www.x83.net/add-swap-on-linux/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 19:09:46 +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[/etc/fstab]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[mkswap]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://www.x83.net/?p=390</guid>
		<description><![CDATA[
[root@host ~]# dd if=/dev/zero of=/swapfile bs=1024 count=1048576
1048576+0 records in
1048576+0 records out
[root@host ~]# sync
[root@host ~]# mkswap /swapfile
Setting up swapspace version 1, size = 1073737 kB
[root@host ~]# swapon /swapfile
[root@host ~]# echo &#8220;/swapfile swap swap defaults 0 0&#8243; >> /etc/fstab
]]></description>
			<content:encoded><![CDATA[<blockquote><p>
[root@host ~]# dd if=/dev/zero of=/swapfile bs=1024 count=1048576<br />
1048576+0 records in<br />
1048576+0 records out<br />
[root@host ~]# sync<br />
[root@host ~]# mkswap /swapfile<br />
Setting up swapspace version 1, size = 1073737 kB<br />
[root@host ~]# swapon /swapfile<br />
[root@host ~]# echo &#8220;/swapfile swap swap defaults 0 0&#8243; >> /etc/fstab</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.x83.net/add-swap-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
