Script for installing Parallels Installer binary from a network location.
This sample script is applicable in cases when the Parallels Installer binary is obtained directly from a network location (the sample URL http://example.com/type_parallels_installer_name_here should be substituted with a valid installer download link).
#!/bin/sh
SERVERS_LIST=”node1.example.com node2.example.com”
for current_server in $SERVERS_LIST; do
ssh -f root@$current_server ‘wget http://example.com/type_parallels_installer_name_here -o parallels_installer;chmod 755 ./parallels_installer;./parallels_installer –source http://updates.example.com/ –target /tmp/panel –select-release-id PLESK_10_0_0 –install-component base –install-component postgresql –install-component spamassassin –notify-email admin@serverbuddies.com’
done
Parallels Installer options
To know more about options related to upgrading already installed Panel or the host operating system, issue the following command:
parallels_installer –help
By default, the installer saves the retrieved files in the directory /[current user name]/psa. For instance, if the installer was executed by user root, the /root/psa directory will be created and used. If you want to use a custom directory for storing the retrieved files, use the –target option.
Example:
Using parallels installer to perform complete installation
The following command performs the complete installation (all available product components are installed) of Parallels Plesk Panel 10.0 (release ID is PANEL_10_0_0) from the Parallels Update server. All installer output will be redirected to an XML file.
./parallels_installer –select-release-id PLESK_10_0_0 –install-everything –enable-xml-output
Reference : http://parallels.com/
Cloudmin Installer Script
Supported Linux distributions are CentOS 5, Redhat Enterprise 5, Debian 4.0 and Ubuntu 8.04.
The CentOS or Redhat installer can be downloaded from:
http://cloudmin.virtualmin.com/gpl/scripts/cloudmin-gpl-redhat-install.sh
Once you have it on the Linux system you want to run Cloudmin on, execute it with the commands
chmod +x cloudmin-gpl-redhat-install.sh
./cloudmin-gpl-redhat-install.sh
The install script should download and setup a Xen-capable kernel.
Troubleshooting Ensim Upgrade or Installer Issues
Problem : The host name of the server is incorrect.
Refer the log file /var/log/ensim/installer..-.log to review the list of successful and unsuccessful events recorded during the upgrade.
Check the file /etc/sysconfig/network. The host name must be a fully qualified domain name. See the following example.
Correct: myhost.mydomain.com
The file /etc/hosts should contain the host name and IP address of your server. If it does not, use an editor to modify the file.
—/etc/hosts begin file–
127.0.0.1 localhost.localdomain localhost
1.2.3.4 myhost.mydomain.com myhost
—/etc/hosts end file–