Simple command to update templates for Virtuozzo

To secure the node its always better to update the templates for Virtuozzo, we can use the following simple command to update the templates for Virtuozzo

Login in to the server as a root user and run the commnad

[root@root]# vzup2date -?

The question mark will show you the option available with the vzup2date command

Usage: vzup2date [OPTION…]
-s, –system update Virtuozzo itself
-t, –templates update OS and application templates for Virtuozzo

Help options:
-?, –help Show this help message
–usage Display brief usage message

Now run the vzup2date command with the -t option to update the templates for Virtuozzo

[root@root]# vzup2date -t

After running above command it will give you screen similar to the following screen

——————– Welcome to system update ——————
| |
| The Virtuozzo up-to-date utility will help you update your |
| Virtuozzo installation by means of latest Virtuozzo |
| packages located on the SWsoft website.After updating, you |
| will be able to find the update log in the |
| /var/log/vzup2date file. |
| |
| ——– ——– |
| | Quit | | Next | |
| ——– ——– |
| |
| |
—————————————————————-

Tab over to the next and press to get to the next page. On the next page you will be able to change the url that vzup2date is using for the update:

————————– Repository ————————–
| |
| In the fields below, provide the URL of the repository |
| where the updated packages are located. These fields might |
| already be filled in according to the information in the |
| /etc/sysconfig/vzup2date/vzup2date.conf configuration |
| file. However, you may change this information at your |
| discretion. |
| |
| URL: https:// vzup2date.swsoft.com____________ |
| Login: username________________________________ |
| Password: ******__________________________________ |
| Proxy: ________________________________________ |
| Proxy login: ________________________________________ |
| Proxy password: ________________________________________ |
| |
|[*] Save configuration |
| |
| ——– ——– ——– |
| | Quit | | Back | | Next | |
| ——– ——– ——– |
| |
| |
—————————————————————-

Make sure that that the url listed is as above.Now select the templates you want to update, and letting it download them

If you are not sure about login details then check the file /etc/sysconfig/vzup2date/vzup2date.conf for the login details because all the login credentials are taken from this file.

We can also download the standard OS and application templates from the Parallels FTP server, if above vzup2date not working properly.

ftp://downloads.swsoft.com/templates/standard

The above command will ask you login details which you can collect from the Parallels sales representative.

Once rpm downloaded on the server install it by using the following command

[root@root]#rpm -ihv new_template_name.rpm

About Anant 386 Articles
Senior technical writer