Changes
Update to allow Plesk VPN install to recognize kernel release
container private area was created
# vzctl set 11 --quotaugidlimit 150 --saveSaved parameters for container 11\# vzctl set 11 --numproc 400:400 --saveSaved parameters for container 11\# vzctl set 11 --kmemsize 16384000:18022400 --saveSaved parameters for container 11\# vzctl set 11 --privvmpages 262144:292912 --saveSaved parameters for container 11\# vzctl set 11 --hostname=plesk.example.com --saveSaved parameters for container 11\# vzctl set 11 --diskspace 2000000:2000000 --saveSaved parameters for container 11\# vzctl set 11 --shmpages 16384:16384 --saveUB limits were set successefully\# vzctl set 11 --ipadd 127.1.2.3 \ --save
Saved parameters for container 11
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.
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:<pre># uname -r2.6.18-194.26.1.el5.028stab079.2# echo "2.6.18-194stab079.2" > /proc/sys/kernel/virt_osrelease# vzctl restart 11</pre> Then, go to http://www.swsoftparallels.com/download/plesk8/ and download the appropriate autoinstaller or the appropriate RPM. In this case, [[http://download1.swsoftparallels.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386|CentOS]] 4.3.
If you want to download the autoinstaller all you need to do is:
entered into container 11
# cd
# wget http://download1.swsoftparallels.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386
# chmod a+x psa*
# ./psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386
"/etc/init.d/psa start" and
"/etc/init.d/psa stop" respectively.
</pre>
[[Plesk install full output]]
Done. You can create a [[Debian_template_creation#Preparing_for_and_packing_template_cache|prepackaged template]] from this container for future installations.
[[categoryCategory:HOWTO]]