Install yum in parallels virtuozzo linux container

Yum installation in Virtuozzo Container:-

Login in to host/parent virtuozzo server as a root and just run the below command.

[root@localhost ~]# vzpkg install 104 -p yum

Where

104= Container ID (CTID)

View or check the container ID (CTID) using below command.

[root@localhost ~]# vzlist -a

Using above command “vzpkg install 104 -p yum” you can also install any rpm (packages) in container.

E.g.:- [root@localhost ~]# vzpkg install 104 -p mysql

Installed mysql rpm in 104 container….

No comments:

Post a Comment