jelastic-jps / packages-installer

The Yum Packages Installer add-on is designed to integrate packages that are not provided by default within Jelastic container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpm-logo

Yum Packages Installer Add-On

The Yum Packages Installer add-on enables to integrate packages essential for your application but unavailable within Jelastic containers by default, including packages that require sudo permissions to be installed. In particular, it can be used for the following purposes:

  • to integrate gcc and additional dev tools (e.g. autoconf) to compile extra PHP modules
  • to install RPM packages from repository by specifying direct link to a package or just its name

The add-on utilizes yum to install and remove packages on a destination container.

Type of nodes this add-on can be applied to:

You can run Packages Installer on any CentOS-based container within Jelastic Cloud, these are all available stacks with the exception of VPS (Windows & Ubuntu). You can also run the add-on to install packages within custom non certified Docker containers, as an alternative to using Jelastic SSH Gate with root permissions.

To learn more about Jelastic Add-ons and their usage, refer to the linked guide.

How to Integrate Yum Packages Installer to Jelastic Environment

To install the add-on, copy link to the manifest.jps file above and import it to the destination environment on your Jelastic Cloud Platform.

yum-packages-installer-deployment

In the installation dialog box, specify the following details:

  • Environment name - destination environment with a node the add-on should be installed to
  • Nodes - node that requires additional packages’ integration

When you are finished, click Install to continue.

When installation is completed, Close the appeared confirmation message.

Installing a Package

Click Add-ons next to the destination node to locate the Yum Packages Installer add-on plank.

yum-packages-installer-add-on

Expand the menu in its upper-right corner, choose the Install package option and specify either name and/or URL of the required tools (if installing several packages at once, use space as a separator).

yum-install-package

Note that the add-on searches for a package specified by name within repositories listed in the /etc/yum.repos.d directory on a destination container.

Click Apply to complete installation.

To see a list of installed packages, access a container via SSH and run the rpm -qa command to print all available packages or rpm -qa | grep [options] PATTERN [FILE...] to print packages matching a pattern.

Removing a Package

To delete the earlier installed package, click Remove package and specify its name (not URL).

yum-remove-package

Click Apply to confirm removal.

Note that if you have several versions of the same package, you need to specify a particular package, e.g. libcouchbase-2.7.5-1.el7.remi.x86_64. Otherwise, if specifying only libcouchbase, all versions of the package will be removed.

To see a full list of packages and their names, access a container via SSH and run the rpm -qa command as described in the section above.

About

The Yum Packages Installer add-on is designed to integrate packages that are not provided by default within Jelastic container

License:Apache License 2.0