Editing Plesk in VE

Jump to: navigation, search

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 container (container#11):
+
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 container you need to [[VPN via the TUN/TAP device|TUN/TAP module]]. The following commands consolidate what needs to be done:  
+
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 container's hostname (plesk.example.com) is resolving correctly to the container's IP address (127.1.2.3). You can also add the corresponding record to /etc/hosts as a workaround.
+
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 container 11
+
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 container for future installations.
+
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]]

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)