-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEv3+eBw6UjQfDlYrQyG1xLVpfc0wFAloddBwACgkQyG1xLVpf
c0wGWg//bBZVwXHy/RtvQKflPgdEwbIgNvMRK7R08EgRAFzLIh86USCAGcQ3jYym
q9wgrECw9/IbXU8AND5kxec1iKtwSV72YtMkxKGsfMK28FaGPNmQgO4Mw+WAG/xa
fQOOjbfuD2MbSx1jKwpqkkZrQ5ul0KmXWr4PqrbGILcd3vEoLWFz3rt/g61VkPbS
PKPyct9HwKdkZW9dRu8byFDMo3mOzhigYx0uWu7C5F6xPU6Lfix7135yc/aoRuZP
ZEfxwLSdJHRQ249GzdiQUbPaeDVTYoaNr3mjILFVnlPoqr9Pzd3w+Sj2fXCei6vl
ZOQhopzTiAo1EXX9cQdDnkEKCiYlQb8lBL1ne6S2J/jVixZHrLc7pEtdC+CXeeij
ZDW4QaO33G2Qcccw6GsO0OAJjdQax0C0jz2fPOPU5BFHvRlgNFen1pSmcx+lXo61
WKGuza5N7osmSO483HnHf4Tf4JSJ0rTJHCoTAG/ZDpOFKEsNftvk3j8oT9OPK6mg
UkJhJk2jQBTUTlK017sAshLx040xug5paYYa3IOCp22dYKCJ6pzcRMA7gKMkSE3Y
pHpeC4LWlIfNjt39nFI3rMcMjSCMzFvbZGBp0iA9v+eoKzOsx85gKhSqrr9xgvhV
4v8Sm90A/R591O66/BCEWfMlslBARkZv4jGTdJH28Bk5/3zMYdw=
=5piy
-----END PGP SIGNATURE-----
I am pleased to announce the immediate availability of NodeJS
in version 8 on CentOS Linux 7 x86_64, delivered via a Software
Collection (SCL) built by the SCLo Special Interest Group
(https://wiki.centos.org/SpecialInterestGroup/SCLo).
QuickStart
----------
You can get started in three easy steps:
$ sudo yum install centos-release-scl-rh
$ sudo yum install rh-nodejs8
$ scl enable rh-nodejs8 bash
The last command runs the Bash shell in the environment with rh-nodejs8
Software Collection enabled. At this point you should be able to use
NodeJS just as a normal application. Here are some examples of commands
you can run:
$ node my-app.js
$ npm install uglify-js --global
$ uglifyjs my-app.js -o my-app.min.js
In order to view the individual components included in this collection,
including additional NodeJS modules, you can run:
$ sudo yum list rh-nodejs8\*
Last but not least you can try this Software Collection in Docker. You
can pull the image with the following command:
$ docker pull centos/nodejs-8-centos7
For more on the docker image follow the link to public source
repository: https://github.com/sclorg/s2i-nodejs-container
This collections is CentOS-based rebuild built by SCLo SIG community,
and the packages have been available in Red Hat Software Collections 3.0
for RHEL:
https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html/3.0_release_notes/
So, for RHEL-based builds, follow the steps in the documentation above.
About Software Collections
--------------------------
Software Collections give you the power to build, install, and use
multiple versions of software on the same system, without affecting
system-wide installed packages. Each collection is delivered as a group
of RPMs, with the grouping being done using the name of the collection
as a prefix of all packages that are part of the software collection.
The SCLo SIG in CentOS
----------------------
The Software Collections SIG group is an open community group
co-ordinating the development of the SCL technology, and helping curate
a reference set of collections. In addition to the collection NodeJS
being released here, we also build and deliver databases, web servers,
and language stacks including multiple versions of PostgreSQL, MariaDB,
Apache HTTP Server, Python, Ruby, Ruby on Rails and others.
You can learn more about Software Collections concepts at:
http://softwarecollections.org
You can find information on the SIG at
https://wiki.centos.org/SpecialInterestGroup/SCLo ; this includes howto
get involved and help with the effort.
Enjoy!
--
Jan Staněk
Associate Software Engineer, Brno
Red Hat Czech
jstanek@redhat.com IM: jstanek
No comments:
Post a Comment