Difference between revisions of "Compiling KTCPVS"

From LVSKB
Jump to: navigation, search
(Linux Kernel 2.6)
(Linux Kernel 2.6)
Line 12: Line 12:
 
Before begin please make sure the kernel-devel package is installed  
 
Before begin please make sure the kernel-devel package is installed  
  
Then check out the source code for 2.6 from the subversion
+
Then check out the source code for 2.6 from the subversion:
 
<blockquote>
 
<blockquote>
 
svn co http://svn.linuxvirtualserver.org/repos/ktcpvs/branches/stable_for_2.6.9/ ktcpvs
 
svn co http://svn.linuxvirtualserver.org/repos/ktcpvs/branches/stable_for_2.6.9/ ktcpvs
 
</blockquote>
 
</blockquote>
  
Complie & install ktcpvs
+
Complie & install ktcpvs:
  
 
<blockquote>
 
<blockquote>
Line 23: Line 23:
 
</blockquote>
 
</blockquote>
  
And now, you can use the start script under the ktcpvs directory to the kernel thread ;)
+
And now, you can use the start script under the ktcpvs directory to start the kernel thread ;)
  
 
You can change the config file as you need, then use "tcpvsadm -f config" to load it, for more details, please refer the manual of tcpvsadm
 
You can change the config file as you need, then use "tcpvsadm -f config" to load it, for more details, please refer the manual of tcpvsadm

Revision as of 05:00, 31 May 2007

Linux Kernel 2.4

Linux Kernel 2.6

I have tested it under CentOS 4.x, support for newer kernel will be added later. Before begin please make sure the kernel-devel package is installed

Then check out the source code for 2.6 from the subversion:

svn co http://svn.linuxvirtualserver.org/repos/ktcpvs/branches/stable_for_2.6.9/ ktcpvs

Complie & install ktcpvs:

cd ktcpvs && make install

And now, you can use the start script under the ktcpvs directory to start the kernel thread ;)

You can change the config file as you need, then use "tcpvsadm -f config" to load it, for more details, please refer the manual of tcpvsadm