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 7: | Line 7: | ||
container private area was created | container private area was created | ||
− | + | # vzctl set 11 --quotaugidlimit 150 --save | |
− | + | Saved parameters for container 11 | |
− | + | ||
− | + | # vzctl set 11 --numproc 400:400 --save | |
− | + | Saved parameters for container 11 | |
− | + | ||
− | + | # vzctl set 11 --kmemsize 16384000:18022400 --save | |
− | + | Saved parameters for container 11 | |
− | + | ||
+ | # vzctl set 11 --privvmpages 262144:292912 --save | ||
+ | Saved parameters for container 11 | ||
+ | |||
+ | # vzctl set 11 --hostname=plesk.example.com --save | ||
+ | Saved parameters for container 11 | ||
+ | |||
+ | # vzctl set 11 --diskspace 2000000:2000000 --save | ||
+ | Saved parameters for container 11 | ||
+ | |||
+ | # vzctl set 11 --shmpages 16384:16384 --save | ||
+ | UB limits were set successefully | ||
+ | |||
+ | # vzctl set 11 --ipadd 127.1.2.3 --save | ||
Saved parameters for container 11 | Saved parameters for container 11 | ||
Line 35: | Line 48: | ||
</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 61: | ||
</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. |
− | + | Then, go to http://www.swsoft.com/download/plesk8/ and download the appropriate autoinstaller or the appropriate RPM. In this case, [[http://download1.swsoft.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386|CentOS]] 4.3. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Then, go to http://www. | ||
If you want to download the autoinstaller all you need to do is: | If you want to download the autoinstaller all you need to do is: | ||
Line 64: | Line 69: | ||
# 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. | + | # wget http://download1.swsoft.com/Plesk/Plesk8.1/CentOS4.3/psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386 |
# chmod a+x psa* | # chmod a+x psa* | ||
# ./psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386 | # ./psa_installer_v3.1.0_build061201.02_os_CentOS_4.3_i386 | ||
Line 85: | Line 90: | ||
"/etc/init.d/psa start" and | "/etc/init.d/psa start" and | ||
"/etc/init.d/psa stop" respectively. | "/etc/init.d/psa stop" respectively. | ||
+ | |||
+ | All Plesk control panel documentation is available at | ||
+ | http://www.swsoft.com/en/products/plesk80/docs | ||
+ | |||
+ | ***************************************************************************** | ||
+ | * * | ||
+ | * NOTE: You have a default key file with limited functionality * | ||
+ | * currently installed for Plesk, which allows * | ||
+ | * creating one client account, one domain, one mail name and * | ||
+ | * one web user. * | ||
+ | * To extend the limits of your license key and enable * | ||
+ | * additional features, please contact the SWsoft, Inc. sales * | ||
+ | * department: sales@swsoft.com * | ||
+ | * * | ||
+ | * Thank you for choosing our products! * | ||
+ | ***************************************************************************** | ||
</pre> | </pre> | ||
[[Plesk install full output]] | [[Plesk install full output]] | ||
− | Plesk "about" webpage: | + | o Plesk "about" webpage: |
− | + | http://www.swsoft.com/en/products/plesk/ | |
− | + | http://www.swsoft.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]] |