Editing Plesk in VE
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 1: | Line 1: | ||
− | Below is an example transcript of installing Plesk into an OpenVZ | + | Below is an example transcript of installing Plesk into an OpenVZ VE (VE#11): |
<pre> | <pre> | ||
Line 35: | Line 35: | ||
</pre> | </pre> | ||
− | If you want to run a VPN server inside the | + | If you want to run a VPN server inside the VE you need to [[VPN via the TUN/TAP device|TUN/TAP module]]. The following commands consolidate what needs to be done: |
<pre> | <pre> | ||
# modprobe tun | # modprobe tun | ||
Line 48: | Line 48: | ||
</pre> | </pre> | ||
− | Make sure that the | + | Make sure that the VE's hostname (plesk.example.com) is resolving correctly to the VE's IP address (127.1.2.3). You can also add the corresponding record to /etc/hosts as a workaround. |
Due to how the Plesk VPN package install script works, it uses a regex on the output of "uname -r" to determine the kernel release to assure you have a minimum version of Virtuozzo (version 021stab025). So what you can do is get your version with "uname -r", and set the VE release name to fit the regex. For example: | Due to how the Plesk VPN package install script works, it uses a regex on the output of "uname -r" to determine the kernel release to assure you have a minimum version of Virtuozzo (version 021stab025). So what you can do is get your version with "uname -r", and set the VE release name to fit the regex. For example: | ||
Line 64: | Line 64: | ||
# cp -f /etc/resolv.conf /vz/private/11/etc/resolv.conf | # cp -f /etc/resolv.conf /vz/private/11/etc/resolv.conf | ||
# vzctl enter 11 | # vzctl enter 11 | ||
− | entered into | + | entered into VE 11 |
# cd | # cd | ||
# wget http://download1.parallels.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386 | # wget http://download1.parallels.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386 | ||
Line 92: | Line 92: | ||
: http://www.parallels.com/en/products/plesk/docs/ | : http://www.parallels.com/en/products/plesk/docs/ | ||
− | Done. You can create a [[Debian_template_creation#Preparing_for_and_packing_template_cache|prepackaged template]] from this | + | Done. You can create a [[Debian_template_creation#Preparing_for_and_packing_template_cache|prepackaged template]] from this VE for future installations. |
[[Category:HOWTO]] | [[Category:HOWTO]] |