Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jelastic-jps/packages-installer

The Yum Packages Installer add-on is designed to integrate packages that are not provided by default within Jelastic container
https://github.com/jelastic-jps/packages-installer

add-on addon developer-tools devtools gcc installer package package-control package-management rpm rpm-packages yum

Last synced: 3 days ago
JSON representation

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

Awesome Lists containing this project

README

        

![rpm-logo](images/rpm-logo.png)

# 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*](https://gcc.gnu.org/) and additional dev tools (e.g. [*autoconf*](http://www.gnu.org/software/autoconf/autoconf.html)) 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*](http://yum.baseurl.org/) 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](https://docs.jelastic.com/win-vps) & [Ubuntu](https://docs.jelastic.com/vps-ubuntu)). You can
also run the add-on to install packages within custom non
certified [**Docker**](https://docs.jelastic.com/dockers-overview) containers, as an alternative to using [Jelastic SSH Gate](https://docs.jelastic.com/ssh-gate) with root permissions.

To learn more about [Jelastic Add-ons](https://github.com/jelastic-jps/jpswiki/wiki/Jelastic-Addons) 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](https://docs.jelastic.com/environment-import)
it to the destination environment on your [Jelastic Cloud Platform](https://jelastic.cloud/).

![yum-packages-installer-deployment](images/yum-packages-installer-deployment.png)

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](images/yum-packages-installer-add-on.png)

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](images/yum-install-package.png)

**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](https://docs.jelastic.com/ssh-gate) and run the **_rpm -qa_** command to print all available packages or **_rpm -qa | [grep](http://linuxcommand.org/man_pages/grep1.html) [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](images/yum-remove-package.png)

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](https://docs.jelastic.com/ssh-gate) and run the **_rpm -qa_** command as described in the section above.