Using Self-Installers
Note: Before creating an instance, you may want to list available images with yum groupinfo selfinst-catalog .
As an example, we shall create a container instance named codiad-installer-ct and install Codiad into it.
- Download the self-installer to the host:
# yum install bitnami-codiad-selfinst
- Create and start an Ubuntu container first:
# prlctl create codiad-installer-ct --vmtype ct --ostemplate ubuntu-14.04-x86_64 --config vswap.2048MB
# prlctl start codiad-installer-ct
- Configure the network adapter:
# prlctl set codiad-installer-ct --device-add net --dhcp yes --network Bridged
- Copy the downloaded self-installer into the container. In this example, the self-installer was downloaded to
/vz/self-installers/bitnami-codiad-2.6.5-1-linux-x64-installer.run. - Launch headless installation inside the container:
# vzctl exec codiad-installer-ct <path_to_installer_inside_container> '
The instance is up and running.
|