Este contenido no está disponible en el idioma seleccionado.

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 9.1, 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. See Section 4.3, “MongoDB 3.4” for instructions on how to use MongoDB 3.4 on Red Hat Enterprise Linux 6.
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. MongoDB 3.4

To install the rh-mongodb34 collection, type the following command as root:
yum install rh-mongodb34
To run the MongoDB shell utility, type the following command:
scl enable rh-mongodb34 'mongo'

Note

The rh-mongodb34-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. See C++ compatibility details in the Red Hat Developer Toolset 6 User Guide.

MongoDB 3.4 on Red Hat Enterprise Linux 6

If you are using Red Hat Enterprise Linux 6, the following instructions apply to your system.
To start the MongoDB daemon, type the following command as root:
service rh-mongodb34-mongod start
To start the MongoDB daemon on boot, type this command as root:
chkconfig rh-mongodb34-mongod on
To start the MongoDB sharding server, type this command as root:
service rh-mongodb34-mongos start
To start the MongoDB sharding server on boot, type the following command as root:
chkconfig rh-mongodb34-mongos on
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.

MongoDB 3.4 on Red Hat Enterprise Linux 7

When using Red Hat Enterprise Linux 7, the following commands are applicable.
To start the MongoDB daemon, type the following command as root:
systemctl start rh-mongodb34-mongod.service
To start the MongoDB daemon on boot, type this command as root:
systemctl enable rh-mongodb34-mongod.service
To start the MongoDB sharding server, type the following command as root:
systemctl start rh-mongodb34-mongos.service
To start the MongoDB sharding server on boot, type this command as root:
systemctl enable rh-mongodb34-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.4. 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.5. 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
Table 4.1. Interoperability Between Languages and Databases
 Database
Language (Software Collection)MariaDBMongoDBMySQLPostgreSQLRedisSQLite3
rh-nodejs4nononononono
rh-nodejs6nononononono
rh-nodejs8nononononono
rh-nodejs10nononononono
rh-nodejs12nononononono
rh-perl520yesnoyesyesnono
rh-perl524yesnoyesyesnono
rh-perl526yesnoyesyesnono
rh-perl530yesnoyesyesnoyes
rh-php56yesyesyesyesnoyes
rh-php70yesnoyesyesnoyes
rh-php71yesnoyesyesnoyes
rh-php72yesnoyesyesnoyes
rh-php73yesnoyesyesnoyes
python27yesyesyesyesnoyes
rh-python34noyesnoyesnoyes
rh-python35yesyesyesyesnoyes
rh-python36yesyesyesyesnoyes
rh-python38yesnoyesyesnoyes
rh-ror41yesyesyesyesnoyes
rh-ror42yesyesyesyesnoyes
rh-ror50yesyesyesyesnoyes
rh-ruby25yesyesyesyesnono
rh-ruby26yesyesyesyesnono
rh-ruby27yesyesyesyesnono
Red Hat logoGithubRedditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

© 2024 Red Hat, Inc.