How to upgrade Plesk 8.x or 9.x to the Panel 10.0 installed with EZ templates in Parallels Containers environment.
1. Install the latest versions of the Panel templates on the hardware node with the following command:
rmp -Uvh [list of vztemplates]
2. Do not remove templates for previous versions of Plesk and install the latest versions of the Panel templates in the container with the following command:
vzpkg install [CTID] [list of selected plesk10.0* templates]
For example:
vzpkg install 444 pp10 pp10-kav
Note: Mail server templates pp10-qmail and pp10-postfix must not be installed at the same time.
Reference: http://parallels.com/
Shell Environment Variables
There are specific environment variables that the bash shell uses by default to define the system environment.
The most important environment variable in this list is the PATH environment variable. When you enter a command in the shell command line interface (CLI), the shell must search the system to find the program. The PATH environment variable defines the directories it searches looking for commands.
The PATH environment variable looks like this.
root@dell:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
This shows that there are six directories where the shell looks for commands. Each directory in the PATH is separated by a colon. The PATH also shows the order in which it looks for commands.
The individual directories listed in the PATH are separated by a colon. All you need to do is reference the original PATH value, and add any new directories to the string.
$ PATH=$PATH:/home/buddy/bin
Setting global environment variables
Global environment variables are visible from any child processes created by the process that sets the global environment variable. The method used to create a global environment variable is to create a local environment variable, then export it to the global environment.
This is done by using the export command:
Example:
export http_proxy=http://192.168.1.1:3128/
You can also remove an existing environment variable. This is done by using the unset command.
Setting local environment variables
You can set your own environment variables directly from the bash shell.
Once you start a bash shell (or spawn a shell script), you’re allowed to create local variables that are visible within your shell process. You can assign either a numeric or a string value to an
environment variable by assigning the variable to a value using the equal sign:
root@dell:~# process=testing
root@dell:~# echo $process
testing
Now any time you need to reference the value of the test environment variable, just reference it by the name $process.
Local environment variables
There isn’t a command that displays only local environment variables. The set command displays all of the environment variables set for a specific process. However, this also includes the global environment variables.
Here’s the output from a sample set command.
root@dell:~# set
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSION=’3.2.39(1)-release’
COLORTERM=Terminal
COLUMNS=99
DESKTOP_SESSION=IceWM
We’ll notice that all of the global environment variables seen from the printenv command appear in the output from the set command. However, there are quite a few additional environment variables that now appear. These are the local environment variables.