Editing DB2 installation
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
== Create a new VE == | == Create a new VE == | ||
− | I created a new VE for the Debian distribution using debootstrap | + | I created a new VE for the Debian distribution using debootstrap. |
== Set VE resource limits appropriately == | == Set VE resource limits appropriately == | ||
− | + | DB2 installation can fail and it will not be possible to operate the database if your resource limits are too low. I used these limits for a small database: | |
− | * kmemsize to | + | * kmemsize to 10,000,000 |
− | * privvmpages to | + | * privvmpages to 300,000 |
− | * shmpages to | + | * shmpages to 80,000 |
− | * numproc to | + | * numproc to 150 |
− | * tcpsndbuf to | + | * tcpsndbuf to 700,000 |
− | * tcprcvbuf to | + | * tcprcvbuf to 700,000 |
− | * | + | * diskspace to 6,000,000 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Install additional packages == | == Install additional packages == | ||
Line 54: | Line 47: | ||
== Post-install actions == | == Post-install actions == | ||
− | This is where it gets yukky. DB2 wants to run a browser inside the | + | This is where it gets yukky. DB2 wants to run a browser inside the VPS. It wants to run Java applets inside the browser. I installed Iceweasel, but the post-install script does not recognise it. I was eventually able to hack the script to recognise and use the browser but it crashed on one of the Java applets. I think you can get by without running the post-install. |
Here's what to do instead: | Here's what to do instead: | ||
Line 137: | Line 130: | ||
Please provide feedback in the discussion (Talk) page about improvements to this HOWTO. | Please provide feedback in the discussion (Talk) page about improvements to this HOWTO. | ||
− | |||
− |