Wednesday, March 19, 2008

How do I download application templates for my VPS?

Both OS and application templates can be downloaded, using SWSoft's vzup2date utility. When
your server is handed over to you, vzup2date is ready to use. You will need to open an ssh shell
to your server to use vzup2date. Once logged in, run the following command:
vzup2date -?

This will give you a brief explanation of the usage:
[root@pascal root]# vzup2date -?
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
[root@pascal root]#

From here, all you need to do is use the correct syntax to update your templates. Run the following
command to update both OS and Application templates:
vzup2date -t
You will be prompted by a screen similar to this:


-------------------- 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 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 to 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 | |
| -------- -------- -------- |
| |
| |
----------------------------------------------------------------
Please ensure that the url listed is as above. SWSoft changed urls recently, and the older sw-soft.com
domain no longer works for vzup2date.

From here, it is just a matter of selecting what templates you want to update, and letting it download them.

No comments: