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 | + | Below is an example of how to install Plesk into OpenVZ VE (VE#11): |
<pre> | <pre> | ||
# vzctl create 11 --ostemplate centos-4-i386-default | # vzctl create 11 --ostemplate centos-4-i386-default | ||
− | Creating | + | Creating VPS private area: /vz/private/11 |
Performing postcreate actions | Performing postcreate actions | ||
− | + | VPS private area was created | |
− | + | # vzctl set 11 --quotaugidlimit 150 --save | |
− | + | Saved parameters for VPS 11 | |
− | + | ||
− | + | # vzctl set 11 --numproc 400:400 --save | |
− | + | Saved parameters for VPS 11 | |
− | + | ||
− | + | # vzctl set 11 --kmemsize 16384000:18022400 --save | |
− | + | Saved parameters for VPS 11 | |
− | + | ||
− | Saved parameters for | + | # vzctl set 11 --privvmpages 262144:292912 --save |
+ | Saved parameters for VPS 11 | ||
+ | |||
+ | # vzctl set 11 --hostname=plesk.local --save | ||
+ | Saved parameters for VPS 11 | ||
+ | |||
+ | # vzctl set 11 --diskspace 2000000:2000000 --save | ||
+ | Saved parameters for VPS 11 | ||
+ | |||
+ | # vzctl set 11 --shmpages 16384:16384 --save | ||
+ | UB limits were set successefully | ||
+ | |||
+ | # vzctl set 11 --ipadd 192.168.51.55 --save | ||
+ | Saved parameters for VPS 11 | ||
# vzctl set 11 --userpasswd root:pass | # vzctl set 11 --userpasswd root:pass | ||
Line 23: | Line 36: | ||
# vzctl set 11 --iptables "iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc" --save | # vzctl set 11 --iptables "iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc" --save | ||
− | Saved parameters for | + | Saved parameters for VPS 11 |
# vzctl start 11 | # vzctl start 11 | ||
− | Starting | + | Starting VPS ... |
− | + | VPS is mounted | |
Adding IP address(es): 192.168.51.55 | Adding IP address(es): 192.168.51.55 | ||
Setting CPU units: 1000 | Setting CPU units: 1000 | ||
Set hostname: plesk.local | Set hostname: plesk.local | ||
Setting quota ugidlimit: 150 | Setting quota ugidlimit: 150 | ||
− | + | VPS start in progress... | |
− | |||
− | |||
− | |||
# modprobe tun | # modprobe tun | ||
# lsmod | grep tun | # lsmod | grep tun | ||
Line 42: | Line 52: | ||
# vzctl set 11 --devices c:10:200:rw --save | # vzctl set 11 --devices c:10:200:rw --save | ||
Setting devices | Setting devices | ||
− | Saved parameters for | + | Saved parameters for VPS 11 |
# vzctl exec 11 mkdir -p /dev/net | # vzctl exec 11 mkdir -p /dev/net | ||
# vzctl exec 11 mknod /dev/net/tun c 10 200 | # vzctl exec 11 mknod /dev/net/tun c 10 200 | ||
# vzctl exec 11 chmod 600 /dev/net/tun | # vzctl exec 11 chmod 600 /dev/net/tun | ||
</pre> | </pre> | ||
+ | Make sure that VE's hostname is resolving correctly to VE's IP address. You can also add an appropriate record to /etc/hosts as a workaround. | ||
− | + | Then go to http://www.swsoft.com/download/plesk8/ and download appropriate autoinstaller. CentOS 4.2 in this case. | |
− | + | Copy and install psa-autoinstaller-<VERSION>.rpm to VE#11 | |
+ | |||
+ | execute: | ||
<pre> | <pre> | ||
− | # | + | # /usr/local/psa/bin/autoinstaller |
− | |||
− | |||
− | |||
</pre> | </pre> | ||
+ | select version 8.0.1 and neccessary components. | ||
− | + | after packages were downloaded selected components are installing: | |
− | |||
<pre> | <pre> | ||
− | + | Start packages installation | |
− | + | -----skip----- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Congratulations! | Congratulations! | ||
Plesk has been successfully installed on your server. | Plesk has been successfully installed on your server. | ||
Line 85: | Line 85: | ||
"/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! * | ||
+ | ***************************************************************************** | ||
+ | -----skip----- | ||
+ | |||
</pre> | </pre> | ||
[[Plesk install full output]] | [[Plesk install full output]] | ||
− | + | Done. You can create prepackaged template from this VE for further installations. | |
− | |||
− | |||
− | |||
− | Done. You can create | ||
− | [[ | + | [[category:HOWTO]] |