Creating your own certificates for DirectAdmin
Advantage of creating your own certificates:
You can switch DirectAdmin to use SSL instead of plain text. -> https instead of http on port 2222.
If you do not have your own certificates, you’ll need to create your own:
/usr/bin/openssl req -x509 -newkey rsa:1024 -keyout /usr/local/directadmin/conf/cakey.pem -out /usr/local/directadmin/conf/cacert.pem -days 9999 -nodes
And then
chown diradmin:diradmin /usr/local/directadmin/conf/cakey.pem
chmod 400 /usr/local/directadmin/conf/cakey.pem
Service Container on a Parallels Virtuozzo Containers hardware node can be created using ‘vzsveinstall‘ utility:
# vzsveinstall -D DISTRIB_DIR -s SERVICE_CT_IP
- DISTRIB_DIR - path to Virtuozzo distribution directory hierarchy on a server.
- SERVICE_CT_IP - IP address to be assigned to Service Container;
In case you have downloaded Virtuozzo distributive already (example for 64-bit PVC 4.0) as file “virtuozzo-4.0.0-${build_version}-x86_64.sfx”, please extract it in the following way:
# mkdir -p /vz/full_distr
# bash /path/to/virtuozzo-4.0.0-${build_version}-x86_64.sfx -d /vz/full_distr –extract
Create Service Container then using this command (make sure old Service Container #1 does not exist):
# vzsveinstall -v -D /vz/full_distr -s SERVICE_CT_IP
Please refer to man page on ‘vzsveinstall‘ utility for additional information.
Reference: http://parallels.com
updating Parallels Plesk Panel inside Parallels Virtuozzo Containers using EZ templates.
Install the vzaiproxy package on the hardware node. You can download this package from http://autoinstall.plesk.com/vzaiproxy
Change line 16 in file /etc/init.d/vzlinkmgr to the following:
Change line 32 in file /usr/sbin/vzaiproxy to the following:
DefaultAgentCmd = (’vzctl’, ‘exec’, ‘1′, ‘/opt/vzagent/bin/vzlcon’)
Install all EZ templates from Parallels Plesk Panel distribution on the hardware node.
Run Parallels Plesk Panel installation or upgrade using Parallels Products Installer (either via the web-interface or command line interface) or Parallels Plesk Panel GUI (Home Page > Updates).
Follow the instructions presented on the screen to complete the upgrade.
Refer to Parallels Plesk http://parallels.com/Plesk/
How to check if CPU supports hardware virtualization (VT technology)
To run KVM, you need a processor that supports virtualization. For Intel processors this extension has name INTEL-VT, for AMD processors it has name AMD-V.
To see if your processor supports one of these technologies, please run the following command under Linux:
# egrep ‘(vmx|svm)’ /proc/cpuinfo
If nothing is printed, it means that your CPU does not support hardware virtualization. Otherwise, it does – but you still need to make sure that virtualization is enabled in the BIOS. If the svm flag is returned then your processor supports AMD-V or if the vmx flag is returned then your processor supports Intel VT.
If you are installing Parallels Plesk Panel inside a PVC, it is strongly recommended to increase Container parameters as follows:
# Auxiliary parameters
-PRIVVMPAGES=”262144:292912″
+PRIVVMPAGES=”362144:392912″
-NUMFILE=”8192:8192″
+NUMFILE=”12000:12000″
# Disk quota parameters (in form of softlimit:hardlimit)
-DISKSPACE=”1048576:1153434″
+DISKSPACE=”5240709120:5368709120″
-DISKINODES=”200000:220000″
+DISKINODES=”350000:370000″
# Secondary parameters
-KMEMSIZE=”21299200:23429120″
+KMEMSIZE=”24299200:26429120″
Source: http://parallels.com/Plesk/