Questo contenuto non è disponibile nella lingua selezionata.
Chapter 4. Specifics of Individual Software Collections
This chapter is focused on the specifics of certain Software Collections and provides additional details concerning these components.
4.1. Red Hat Developer Toolset
Red Hat Developer Toolset is designed for developers working on the Red Hat Enterprise Linux platform. Red Hat Developer Toolset provides current versions of the GNU Compiler Collection, GNU Debugger, and other development, debugging, and performance monitoring tools. Similarly to other Software Collections, an additional set of tools is installed into the
/opt/
directory. These tools are enabled by the user on demand using the supplied scl utility. Similarly to other Software Collections, these do not replace the Red Hat Enterprise Linux system versions of these tools, nor will they be used in preference to those system versions unless explicitly invoked using the scl utility.
For an overview of features, refer to the Features section of the Red Hat Developer Toolset Release Notes. For detailed information regarding usage and changes in 10.0, see the Red Hat Developer Toolset User Guide.
4.2. MongoDB 3.6
The rh-mongodb36 Software Collection is available only for Red Hat Enterprise Linux 7.
To install the rh-mongodb36 collection, type the following command as
root
:
yum install rh-mongodb36
To run the MongoDB shell utility, type the following command:
scl enable rh-mongodb36 'mongo'
Note
The rh-mongodb36-mongo-cxx-driver package has been built with the
-std=gnu++14
option using GCC from Red Hat Developer Toolset 6. Binaries using the shared library for the MongoDB C++ Driver that use C++11 (or later) features have to be built also with Red Hat Developer Toolset 6 or later. See C++ compatibility details in the Red Hat Developer Toolset 6 User Guide.
To start the MongoDB daemon, type the following command as
root
:
systemctl start rh-mongodb36-mongod.service
To start the MongoDB daemon on boot, type this command as
root
:
systemctl enable rh-mongodb36-mongod.service
To start the MongoDB sharding server, type the following command as
root
:
systemctl start rh-mongodb36-mongos.service
To start the MongoDB sharding server on boot, type this command as
root
:
systemctl enable rh-mongodb36-mongos.service
Note that the MongoDB sharding server does not work unless the user starts at least one configuration server and specifies it in the
mongos.conf
file.
4.3. Maven
The rh-maven36 Software Collection, available only for Red Hat Enterprise Linux 7, provides a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting, and documentation from a central piece of information.
To install the rh-maven36 Collection, type the following command as
root
:
yum install rh-maven36
To enable this collection, type the following command at a shell prompt:
scl enable rh-maven36 bash
Global Maven settings, such as remote repositories or mirrors, can be customized by editing the
/opt/rh/rh-maven36/root/etc/maven/settings.xml
file.
For more information about using Maven, refer to the Maven documentation. Usage of plug-ins is described in this section; to find documentation regarding individual plug-ins, see the index of plug-ins.
4.4. Database Connectors
Database connector packages provide the database client functionality, which is necessary for local or remote connection to a database server. Table 4.1, “Interoperability Between Languages and Databases” lists Software Collections with language runtimes that include connectors for certain database servers:
- yes - the combination is supported
- no - the combination is not supported
Database | ||||||
---|---|---|---|---|---|---|
Language (Software Collection) | MariaDB | MongoDB | MySQL | PostgreSQL | Redis | SQLite3 |
rh-nodejs4 | no | no | no | no | no | no |
rh-nodejs6 | no | no | no | no | no | no |
rh-nodejs8 | no | no | no | no | no | no |
rh-nodejs10 | no | no | no | no | no | no |
rh-nodejs12 | no | no | no | no | no | no |
rh-nodejs14 | no | no | no | no | no | no |
rh-perl520 | yes | no | yes | yes | no | no |
rh-perl524 | yes | no | yes | yes | no | no |
rh-perl526 | yes | no | yes | yes | no | no |
rh-perl530 | yes | no | yes | yes | no | yes |
rh-php56 | yes | yes | yes | yes | no | yes |
rh-php70 | yes | no | yes | yes | no | yes |
rh-php71 | yes | no | yes | yes | no | yes |
rh-php72 | yes | no | yes | yes | no | yes |
rh-php73 | yes | no | yes | yes | no | yes |
python27 | yes | yes | yes | yes | no | yes |
rh-python34 | no | yes | no | yes | no | yes |
rh-python35 | yes | yes | yes | yes | no | yes |
rh-python36 | yes | yes | yes | yes | no | yes |
rh-python38 | yes | no | yes | yes | no | yes |
rh-ror41 | yes | yes | yes | yes | no | yes |
rh-ror42 | yes | yes | yes | yes | no | yes |
rh-ror50 | yes | yes | yes | yes | no | yes |
rh-ruby25 | yes | yes | yes | yes | no | no |
rh-ruby26 | yes | yes | yes | yes | no | no |
rh-ruby27 | yes | yes | yes | yes | no | no |