<?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>Linux in EnterPrise &#187; Howto</title>
	<atom:link href="http://www.linuxdict.com/category/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxdict.com</link>
	<description>Focus in Linux, LAMP, Mail, Cluster Arch(ENterprise Linux Apache MySQL Php)</description>
	<lastBuildDate>Sat, 04 Feb 2012 00:47:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>VCS: fix dg disabled. cannot open &#8221; &#8221; for quotactl</title>
		<link>http://www.linuxdict.com/2012-02-vcs-fix-dg-disabled-cannot-open-for-quotactl/</link>
		<comments>http://www.linuxdict.com/2012-02-vcs-fix-dg-disabled-cannot-open-for-quotactl/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 00:47:11 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vcs]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=711</guid>
		<description><![CDATA[root@myhost1# vxdisk list DEVICE TYPE DISK GROUP STATUS sdbu auto:cdsdisk emc1XXX DB_PRD online dgdisabled sdbv auto:cdsdisk emc1XXX DBarc_PRD online dgdisabled root@myhost1# vxdg deport DB_PRD VxVM vxdg ERROR V-5-1-584 Disk group DB_PRD: Some volumes in the disk group are in use but df doesn&#8217;t show up anything related with DG. /dev/vx/dsk/DB_PRD/DBroot /BCV/DB vxfs noauto,_netdev 0 0 [...]]]></description>
			<content:encoded><![CDATA[<p>root@myhost1# vxdisk list<br />
DEVICE       TYPE            DISK         GROUP        STATUS<br />
sdbu         auto:cdsdisk    emc1XXX      DB_PRD  online dgdisabled<br />
sdbv         auto:cdsdisk    emc1XXX      DBarc_PRD online dgdisabled</p>
<p>root@myhost1# vxdg deport DB_PRD<br />
VxVM vxdg ERROR V-5-1-584 Disk group DB_PRD: Some volumes in the disk group are in use<br />
<span id="more-711"></span><br />
but df doesn&#8217;t show up anything related with DG.</p>
<p>/dev/vx/dsk/DB_PRD/DBroot	/BCV/DB	vxfs    noauto,_netdev  0 0<br />
/dev/vx/dsk/DB_PRD/DB-ora	/BCV/DB/ora	vxfs    noauto,_netdev  0 0<br />
/dev/vx/dsk/DBarc_PRD/DB-ora-archivelog01	/BCV/DB/ora/archivelog01	vxfs    noauto,_netdev  0 0</p>
<p>root@myhost1# mount /BCV/DB<br />
root@myhost1# mount /BCV/DB/ora<br />
UX:vxfs mount.vxfs: ERROR: V-3-21300: cannot open &#8220;/BCV/DB/ora&#8221; for quotactl</p>
<p>root@myhost1#fuser -c /BCV/DB<br />
Cannot stat file /proc/13919/fd/4: Input/output error<br />
Cannot stat file /proc/13946/fd/5: Input/output error<br />
root@myhost1#ps -ef|grep &#8220;13919|13946&#8243;<br />
root     13919     1  0 Jan28 ?        00:00:00 bpbkar -r 1209600 -ru root -dt 0 -to 0 -clnt<br />
root     13946     1  0 Jan28 ?        00:00:00 bpbkar -r 1209600 -ru root -dt 0 -to 0 -clnt<br />
root@myhost1# kill -9 13919 13946</p>
<p># succeed deport the dg now.<br />
root@myhost1# vxdg deport DB_PRD<br />
root@myhost1# vxdg -C import DB_PRD<br />
root@myhost1# vxdg list<br />
NAME         STATE           ID<br />
localnbu     enabled,cds          1245484407.6.myhost1<br />
DB_PRD       enabled,cds        1286892006.172.myhost2</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2012-02-vcs-fix-dg-disabled-cannot-open-for-quotactl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cygwin telnet tips etc</title>
		<link>http://www.linuxdict.com/2011-08-cygwin-telnet-tips-etc/</link>
		<comments>http://www.linuxdict.com/2011-08-cygwin-telnet-tips-etc/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 03:38:20 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=687</guid>
		<description><![CDATA[Install Telnet Using Cygwin On Windows 7 telnet for Cygwin is in inetutils, install the package to gain telnet Crontab issue: pam_access(crond:account): access denied crond[9985]: CRON (someuser) ERROR: failed to open PAM security session: Success crond[9985]: CRON (someuser) ERROR: cannot set security context * if has /etc/cron.allow – add users to this file * /etc/security/access.conf [...]]]></description>
			<content:encoded><![CDATA[<p>Install Telnet Using Cygwin On Windows 7<br />
telnet for Cygwin is in inetutils, install the package to gain telnet</p>
<p>Crontab issue:<br />
pam_access(crond:account): access denied<br />
crond[9985]: CRON (someuser) ERROR: failed to open PAM security session: Success<br />
crond[9985]: CRON (someuser) ERROR: cannot set security context</p>
<p>* if has /etc/cron.allow – add users to this file<br />
* /etc/security/access.conf – comment out</p>
<p># All other users should be denied to get access from all sources.<br />
#- : ALL : ALL<br />
# -:ALL EXCEPT root:LOCAL</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-08-cygwin-telnet-tips-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting a virtual disk image: VDI to VMDK to a raw loopback file you can mount</title>
		<link>http://www.linuxdict.com/2011-07-converting-a-virtual-disk-image-vdi-to-vmdk-to-a-raw-loopback-file-you-can-mount/</link>
		<comments>http://www.linuxdict.com/2011-07-converting-a-virtual-disk-image-vdi-to-vmdk-to-a-raw-loopback-file-you-can-mount/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 13:35:43 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=632</guid>
		<description><![CDATA[By default, VirtualBox creates virtual disk images in a special format called VDI, which is unique to VirtualBox. Disk images are stored in $HOME/.VirtualBox/HardDisks. You&#8217;ll need to convert VDI into another format if you want to run a VirtualBox VM on another virtualization platform, such as VMWare or KVM. The VMDK virtual disk format is [...]]]></description>
			<content:encoded><![CDATA[<p>By default, VirtualBox creates virtual disk images in a special format called VDI, which is unique to VirtualBox. Disk images are stored in $HOME/.VirtualBox/HardDisks.</p>
<p>You&#8217;ll need to convert VDI into another format if you want to run a VirtualBox VM on another virtualization platform, such as VMWare or KVM.</p>
<p>The VMDK virtual disk format is a good choice because even though it originated with VMWare it is supported by other virtualization platforms including VirtualBox and KVM.</p>
<p>VirtualBox enables the conversion using the low-level &#8220;VBoxManage clonehd&#8221; command:</p>
<p>VBoxManage list hdds # prints a list of disk image UUIDs<br />
VBoxManage clonehd <UUID> -o converted.vmdk format VMDK<br />
cd ~/.VirtualBox/HardDisks/<br />
ls -la converted.vmdk</p>
<p>Once you have converted to VMDK you can use qemu-img, a tool bundled with qemu (KVM&#8217;s virtualization backend) to further convert VMDK to other formats.</p>
<p>A particularly useful format to convert to is &#8216;raw&#8217; which you can then mount as a loopback device:</p>
<p>apt-get install qemu<br />
qemu-img convert -f vmdk converted.vmdk -O raw converted.raw<br />
mount -o loop converted.raw /mnt</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-07-converting-a-virtual-disk-image-vdi-to-vmdk-to-a-raw-loopback-file-you-can-mount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing password inside a script</title>
		<link>http://www.linuxdict.com/2011-06-changing-password-inside-a-script/</link>
		<comments>http://www.linuxdict.com/2011-06-changing-password-inside-a-script/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 04:43:53 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=630</guid>
		<description><![CDATA[In an ideal world you&#8217;d never need to change the password associated with a user account without using passwd, but there are times when it is helpful to script such things. The naive attempts to automate the use of passwd will fail, so the standard advice has always been to use a tool like expect [...]]]></description>
			<content:encoded><![CDATA[<p>In an ideal world you&#8217;d never need to change the password associated with a user account without using passwd, but there are times when it is helpful to script such things.</p>
<p>The naive attempts to automate the use of passwd will fail, so the standard advice has always been to use a tool like expect to interactively call the passwd binary.</p>
<p>But there is an alternative approach which is more sensible which is to use the usermod command to change a password.</p>
<p>Assume you have a user account called guest upon your system and you wish to set the user&#8217;s password to openaccess you can do this by running:</p>
<p># hash=$(echo openaccess | openssl passwd -1 -stdin)<br />
# usermod &#8211;pass=&#8221;$hash&#8221; guest</p>
<p>If you wish you could combine that into a single line:</p>
<p># usermod -p $(echo openaccess | openssl passwd -1 -stdin) guest</p>
<p>If a local user can see the commands you&#8217;re running in the output of &#8220;ps&#8221;, &#8220;top&#8221;, or similar then this is insecure &#8211; but if you generate the hash remotely you should probably be safe enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-06-changing-password-inside-a-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris: Boot archive error or corrupt</title>
		<link>http://www.linuxdict.com/2011-06-solaris-boot-archive-error-or-corrupt/</link>
		<comments>http://www.linuxdict.com/2011-06-solaris-boot-archive-error-or-corrupt/#comments</comments>
		<pubDate>Wed, 01 Jun 2011 23:21:41 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=627</guid>
		<description><![CDATA[Boot archive error or corrupt A few weeks ago, I got a little problem with my solaris box, namely solaris won&#8217;t boot because the boot archive was corrupt, *sigh*. Anyway the boot archive in solaris 10 was contain kernel module and configuration file was needed for solaris to startup the system. Error: module /platform/i86pc/boot_archive error [...]]]></description>
			<content:encoded><![CDATA[<p>Boot archive error or corrupt</p>
<p>A few weeks ago, I got a little problem with my solaris box, namely solaris won&#8217;t boot because the boot archive was corrupt, *sigh*. Anyway the boot archive in solaris 10 was contain kernel module and configuration file was needed for solaris to startup the system.</p>
<blockquote><p>
Error:</p>
<p>    module /platform/i86pc/boot_archive error 3 bad or corrupt data while decompressing file</p></blockquote>
<p>Workaround:</p>
<p>Boot up your solaris in &#8220;solaris failsafe mode&#8221;, next solaris image will mount with writeable mode on &#8220;/a&#8221; mount point</p>
<p>rm -f /a/platform/i86pc/boot_archive<br />
bootadm update-archive -R /a<br />
reboot</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-06-solaris-boot-archive-error-or-corrupt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>short scripts: convert squid timestamp</title>
		<link>http://www.linuxdict.com/2011-05-short-scripts-convert-squid-timestamp/</link>
		<comments>http://www.linuxdict.com/2011-05-short-scripts-convert-squid-timestamp/#comments</comments>
		<pubDate>Tue, 17 May 2011 04:03:48 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=622</guid>
		<description><![CDATA[cat > /var/convert.pl #!/usr/bin/perl -p s/^\d+\.\d+/localtime $&/e; Ctrl+D . /var/convert.pl /var/squid/log/access.log &#124;more]]></description>
			<content:encoded><![CDATA[<p>cat > /var/convert.pl<br />
<code>#!/usr/bin/perl -p<br />
s/^\d+\.\d+/localtime $&/e;</code><br />
Ctrl+D<br />
. /var/convert.pl /var/squid/log/access.log |more</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-05-short-scripts-convert-squid-timestamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>how to get latest php mysql</title>
		<link>http://www.linuxdict.com/2011-04-how-to-get-latest-php-mysql/</link>
		<comments>http://www.linuxdict.com/2011-04-how-to-get-latest-php-mysql/#comments</comments>
		<pubDate>Mon, 25 Apr 2011 23:16:53 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[LAMP]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=618</guid>
		<description><![CDATA[There are many ways, you can compile by yourself, but not good in production env. Here is option from iuscommunity.org We are committed to providing up-to-date and regularly maintained RPM packages for the latest upstream versions of PHP, Python, MySQL and other common software specifically for Red Hat Enterprise Linux and clones. Ref: http://iuscommunity.org/Docs/ClientUsageGuide Try [...]]]></description>
			<content:encoded><![CDATA[<p>There are many ways, you can compile by yourself, but not good in production env.</p>
<p>Here is option from iuscommunity.org</p>
<blockquote><p>We are committed to providing up-to-date and regularly maintained RPM packages for the latest upstream versions of PHP, Python, MySQL and other common software specifically for Red Hat Enterprise Linux and clones. </p></blockquote>
<p>Ref: http://iuscommunity.org/Docs/ClientUsageGuide<br />
Try at your own risk. <img src='http://www.linuxdict.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-04-how-to-get-latest-php-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Patch ESXi from 4.0 to 4.1 Update 1</title>
		<link>http://www.linuxdict.com/2011-03-patch-esxi-from-4-0-to-4-1-update-1/</link>
		<comments>http://www.linuxdict.com/2011-03-patch-esxi-from-4-0-to-4-1-update-1/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 04:31:08 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=616</guid>
		<description><![CDATA[Target: Patch ESXi from 4.0 to 4.1 Update 1 Preparation: Install vSphere Client 1st round # halt all the VMs from Vsphpere # put the ESXi into &#8220;maintenance mode&#8221;, right click the host. # backup the firmware configuration C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl &#8211;server beivm srv01 -s beivmsrv01_20110320.bak Enter username: root Enter password: Saving firmware configuration [...]]]></description>
			<content:encoded><![CDATA[<p>Target: Patch ESXi from 4.0 to 4.1 Update 1<br />
Preparation: Install vSphere Client</p>
<p>1st round<br />
# halt all the VMs from Vsphpere</p>
<p># put the ESXi into &#8220;maintenance mode&#8221;, right click the host.</p>
<p># backup the firmware configuration<br />
C:\Program Files\VMware\VMware vSphere CLI\bin>vicfg-cfgbackup.pl &#8211;server beivm<br />
srv01 -s beivmsrv01_20110320.bak<br />
Enter username: root<br />
Enter password:<br />
Saving firmware configuration to beivmsrv01_20110320.bak &#8230;</p>
<p><span id="more-616"></span><br />
# update from 4.0 to 4.1<br />
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl &#8211;server beivmsrv<br />
01 -i -b F:\ISO\upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip<br />
Enter username: root<br />
Enter password:<br />
Please wait patch installation is in progress &#8230;<br />
The update completed successfully, but the system needs to be rebooted for the c<br />
hanges to be effective.</p>
<p># check the patch<br />
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl &#8211;server beivmsrv<br />
01 &#8211;query<br />
Enter username: root<br />
Enter password:<br />
&#8212;&#8212;&#8212;Bulletin ID&#8212;&#8212;&#8212; &#8212;&#8211;Installed&#8212;&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;-Summary&#8212;&#8212;-<br />
&#8212;&#8212;&#8212;-<br />
ESXi410-GA                    2010-10-03T07:10:52 ESXi upgrade Bulletin</p>
<p>ESXi410-GA-esxupdate          2010-10-03T07:10:52 ESXi pre-upgrade Bulletin</p>
<p># use vsphere to reboot </p>
<p>2nd round<br />
# put the ESXi into &#8220;maintenance mode&#8221;, if the host is not in that mode, right click the host.</p>
<p># update from 4.1 to 4.1 update 1<br />
C:\Program Files\VMware\VMware vSphere CLI\bin>vihostupdate.pl &#8211;server beivmsrv<br />
01 -i -b F:\ISO\update-from-esxi4.1-4.1_update01.zip<br />
Enter username: root<br />
Enter password:<br />
Please wait patch installation is in progress &#8230;<br />
The update completed successfully, but the system needs to be rebooted for the c<br />
hanges to be effective.</p>
<p># use vsphere to reboot </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-03-patch-esxi-from-4-0-to-4-1-update-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network / TCP / UDP Tuning</title>
		<link>http://www.linuxdict.com/2011-02-network-tcp-udp-tuning/</link>
		<comments>http://www.linuxdict.com/2011-02-network-tcp-udp-tuning/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 04:50:05 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=610</guid>
		<description><![CDATA[This is a very basic step by step description of how to improve the performance networking (TCP &#038; UDP) on Linux 2.4+ for high-bandwidth applications. These settings are especially important for GigE links. Quick Step Cut and paste the following into a linux shell with root privleges: sysctl -w net.core.rmem_max=8388608 sysctl -w net.core.wmem_max=8388608 sysctl -w [...]]]></description>
			<content:encoded><![CDATA[<p>This is a very basic step by step description of how to improve the performance networking (TCP &#038; UDP) on Linux 2.4+ for high-bandwidth applications. These settings are especially important for GigE links. </p>
<p>Quick Step<br />
Cut and paste the following into a linux shell with root privleges:<br />
sysctl -w net.core.rmem_max=8388608<br />
sysctl -w net.core.wmem_max=8388608<br />
sysctl -w net.core.rmem_default=65536<br />
sysctl -w net.core.wmem_default=65536<br />
sysctl -w net.ipv4.tcp_rmem=&#8217;4096 87380 8388608&#8242;<br />
sysctl -w net.ipv4.tcp_wmem=&#8217;4096 65536 8388608&#8242;<br />
sysctl -w net.ipv4.tcp_mem=&#8217;8388608 8388608 8388608&#8242;<br />
sysctl -w net.ipv4.route.flush=1</p>
<p>Details:<br />
<span id="more-610"></span><br />
Assumptions<br />
This howto assumes that the machine being tuned is involved in supporting high-bandwidth applications. Making these modifications on a machine that supports multiple users and/or multiple connections is not recommended &#8211; it may cause the machine to deny connections because of a lack of memory allocation.<br />
The Steps</p>
<p>   1. Make sure that you have root privleges.</p>
<p>   2. Type: sysctl -p | grep mem<br />
      This will display your current buffer settings. Save These! You may want to roll-back these changes</p>
<p>   3. Type: sysctl -w net.core.rmem_max=8388608<br />
      This sets the max OS receive buffer size for all types of connections.</p>
<p>   4. Type: sysctl -w net.core.wmem_max=8388608<br />
      This sets the max OS send buffer size for all types of connections.</p>
<p>   5. Type: sysctl -w net.core.rmem_default=65536<br />
      This sets the default OS receive buffer size for all types of connections.</p>
<p>   6. Type: sysctl -w net.core.wmem_default=65536<br />
      This sets the default OS send buffer size for all types of connections.</p>
<p>   7. Type: sysctl -w net.ipv4.tcp_mem=&#8217;8388608 8388608 8388608&#8242;<br />
      TCP Autotuning setting. &#8220;The tcp_mem variable defines how the TCP stack should behave when it comes to memory usage. &#8230; The first value specified in the tcp_mem variable tells the kernel the low threshold. Below this point, the TCP stack do not bother at all about putting any pressure on the memory usage by different TCP sockets. &#8230; The second value tells the kernel at which point to start pressuring memory usage down. &#8230; The final value tells the kernel how many memory pages it may use maximally. If this value is reached, TCP streams and packets start getting dropped until we reach a lower memory usage again. This value includes all TCP sockets currently in use.&#8221;</p>
<p>   8. Type: sysctl -w net.ipv4.tcp_rmem=&#8217;4096 87380 8388608&#8242;<br />
      TCP Autotuning setting. &#8220;The first value tells the kernel the minimum receive buffer for each TCP connection, and this buffer is always allocated to a TCP socket, even under high pressure on the system. &#8230; The second value specified tells the kernel the default receive buffer allocated for each TCP socket. This value overrides the /proc/sys/net/core/rmem_default value used by other protocols. &#8230; The third and last value specified in this variable specifies the maximum receive buffer that can be allocated for a TCP socket.&#8221;</p>
<p>   9. Type: sysctl -w net.ipv4.tcp_wmem=&#8217;4096 65536 8388608&#8242;<br />
      TCP Autotuning setting. &#8220;This variable takes 3 different values which holds information on how much TCP sendbuffer memory space each TCP socket has to use. Every TCP socket has this much buffer space to use before the buffer is filled up. Each of the three values are used under different conditions. &#8230; The first value in this variable tells the minimum TCP send buffer space available for a single TCP socket. &#8230; The second value in the variable tells us the default buffer space allowed for a single TCP socket to use. &#8230; The third value tells the kernel the maximum TCP send buffer space.&#8221;</p>
<p>  10. Type:sysctl -w net.ipv4.route.flush=1<br />
      This will enusre that immediatly subsequent connections use these values.</p>
<p>Ref: <a href="http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2011-02-network-tcp-udp-tuning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>client 4 rejected from IP x.x.x.x</title>
		<link>http://www.linuxdict.com/2010-12-client-4-rejected-from-ip-x-x-x-x/</link>
		<comments>http://www.linuxdict.com/2010-12-client-4-rejected-from-ip-x-x-x-x/#comments</comments>
		<pubDate>Sun, 26 Dec 2010 00:29:23 +0000</pubDate>
		<dc:creator>edyliu</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.linuxdict.com/?p=605</guid>
		<description><![CDATA[Xming.exe: client 4 rejected from IP 192.168.1.215 Solution: Edit: X0.hosts (lay in the installation directory) add the ip you want allow. my X0.hosts &#8220;localhost 192.168.1.215&#8243; Restart Xming.]]></description>
			<content:encoded><![CDATA[<p>Xming.exe: client 4 rejected from IP 192.168.1.215</p>
<p>Solution:<br />
Edit: X0.hosts (lay in the installation directory)<br />
add the ip you want allow. my X0.hosts<br />
&#8220;localhost<br />
192.168.1.215&#8243;<br />
Restart Xming. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxdict.com/2010-12-client-4-rejected-from-ip-x-x-x-x/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

