SlideShare une entreprise Scribd logo
NPM install en un clin d’oeil
avec Nexus
Nicolas Girault - Dev @Theodo
« Tout ce qui est susceptible de mal tourner,
tournera nécessairement mal. »
— Edward A. Murphy Jr.
Npm install lodash
Npm install lodash
npm cache
REQUEST URI https://registry.npmjs.org/lodash
ETag C7CDFOK
Si l’ETag n’est pas connu du
cache ou que le cache est expiré
REQUEST GET .tar
lodash.tar
Npm install lodash
Archive node_modules
tar xf node_modules.tar && npm prune && npm install
NexusRepository Manager
... maven
docker
npm
Usage : gérer les
packages privés
Installer & Configurer Nexus
Avec docker
docker run -d -p 8081:8081 --name nexus sonatype/nexus
Avec ansible
https://github.com/jhinrichsen/ansible-nexus
Configurer
goo.gl/s1km25
npm >> Nexus >> registry.npmjs.org
~/.npmrc
registry=http://localhost:8081/content/groups/npm
Ou
npm install --registry http://localhost:8081/content/groups/npm
Nexus proxy
lodash lodash
lodash
lodash
lodash
Npm install lodash
Merci
@nicgirault
nic.girault@gmail.com
On recrute ;-)

Contenu connexe

Tendances

Meetup vault - ScaaS Secrets as a Service
Meetup vault - ScaaS Secrets as a ServiceMeetup vault - ScaaS Secrets as a Service
Meetup vault - ScaaS Secrets as a Service
Frederic Leger
 
Nconf et nsclient pour icinga
Nconf et nsclient pour icingaNconf et nsclient pour icinga
Nconf et nsclient pour icinga
Wilfried Tiani
 
Sécuriser un serveur web
Sécuriser un serveur webSécuriser un serveur web
Sécuriser un serveur web
Taoufik JABBARI
 
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...DICKO Yacouba
 
Serveur Zabbix
Serveur ZabbixServeur Zabbix
Serveur Zabbix
Damien Morisseau
 

Tendances (6)

Meetup vault - ScaaS Secrets as a Service
Meetup vault - ScaaS Secrets as a ServiceMeetup vault - ScaaS Secrets as a Service
Meetup vault - ScaaS Secrets as a Service
 
Nconf et nsclient pour icinga
Nconf et nsclient pour icingaNconf et nsclient pour icinga
Nconf et nsclient pour icinga
 
Nagios twil
Nagios twilNagios twil
Nagios twil
 
Sécuriser un serveur web
Sécuriser un serveur webSécuriser un serveur web
Sécuriser un serveur web
 
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...
Guide de piratage d'un reseau wifi domestiquee (ou commentexploserune clef we...
 
Serveur Zabbix
Serveur ZabbixServeur Zabbix
Serveur Zabbix
 

En vedette

2015 2016. global 3º eso. 2º trimestre
2015 2016. global 3º eso. 2º trimestre2015 2016. global 3º eso. 2º trimestre
2015 2016. global 3º eso. 2º trimestre
José María Gutiérrez Maté
 
main
mainmain
Dka+hhs
Dka+hhsDka+hhs
Dka+hhs
Murad Aamar
 
Bachelor_European_Transcript
Bachelor_European_TranscriptBachelor_European_Transcript
Bachelor_European_Transcript
David Mateos
 
Fotos, almuerzo en el rascacielos
Fotos, almuerzo en el rascacielosFotos, almuerzo en el rascacielos
Fotos, almuerzo en el rascacielos
shadowpac66
 
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
José María Gutiérrez Maté
 
Golf - no cover
Golf - no coverGolf - no cover
Golf - no cover
Stuart Langrish
 
AUCEi Final Final 2015
AUCEi Final Final 2015AUCEi Final Final 2015
AUCEi Final Final 2015
Dr. Daithí Ó Murchú
 
AUCEI 2013 DaithiOMurchu
AUCEI 2013 DaithiOMurchuAUCEI 2013 DaithiOMurchu
AUCEI 2013 DaithiOMurchu
Dr. Daithí Ó Murchú
 
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimizationDavid_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
David Mateos
 
Andrew Davis Resume ONLINE
Andrew Davis Resume ONLINEAndrew Davis Resume ONLINE
Andrew Davis Resume ONLINE
Andrew Davis
 
Small Business Radio Network 2014
Small Business Radio Network 2014Small Business Radio Network 2014
Small Business Radio Network 2014
Dr. Daithí Ó Murchú
 
Gerencia
GerenciaGerencia
Gerencia
edwaard7
 
The Hideaways Club Deb12
The Hideaways Club Deb12The Hideaways Club Deb12
The Hideaways Club Deb12
Stuart Langrish
 
Internet expandeix societat
Internet expandeix societatInternet expandeix societat
Internet expandeix societat
Raquel Casanovas de la Cruz
 
vimal pathak - visual cv
vimal pathak - visual cvvimal pathak - visual cv
vimal pathak - visual cv
vimalpathak11111
 
Documents Controller
Documents ControllerDocuments Controller
Documents Controller
Muhammad Shoaib
 
1228 fianl project
1228 fianl project1228 fianl project
1228 fianl project
庭安 林
 
Sahara
SaharaSahara
Sahara
shadowpac66
 

En vedette (20)

2015 2016. global 3º eso. 2º trimestre
2015 2016. global 3º eso. 2º trimestre2015 2016. global 3º eso. 2º trimestre
2015 2016. global 3º eso. 2º trimestre
 
main
mainmain
main
 
Dka+hhs
Dka+hhsDka+hhs
Dka+hhs
 
Bachelor_European_Transcript
Bachelor_European_TranscriptBachelor_European_Transcript
Bachelor_European_Transcript
 
Fotos, almuerzo en el rascacielos
Fotos, almuerzo en el rascacielosFotos, almuerzo en el rascacielos
Fotos, almuerzo en el rascacielos
 
2016.17. 3º eso. f&q. ex2. ev1
2016.17. 3º eso. f&q. ex2. ev12016.17. 3º eso. f&q. ex2. ev1
2016.17. 3º eso. f&q. ex2. ev1
 
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
2015.2016. mat. 3ºeso. 3ºtri. 2ºexa
 
Golf - no cover
Golf - no coverGolf - no cover
Golf - no cover
 
AUCEi Final Final 2015
AUCEi Final Final 2015AUCEi Final Final 2015
AUCEi Final Final 2015
 
AUCEI 2013 DaithiOMurchu
AUCEI 2013 DaithiOMurchuAUCEI 2013 DaithiOMurchu
AUCEI 2013 DaithiOMurchu
 
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimizationDavid_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
David_Mateos_Núñez_thesis_distributed_algorithms_convex_optimization
 
Andrew Davis Resume ONLINE
Andrew Davis Resume ONLINEAndrew Davis Resume ONLINE
Andrew Davis Resume ONLINE
 
Small Business Radio Network 2014
Small Business Radio Network 2014Small Business Radio Network 2014
Small Business Radio Network 2014
 
Gerencia
GerenciaGerencia
Gerencia
 
The Hideaways Club Deb12
The Hideaways Club Deb12The Hideaways Club Deb12
The Hideaways Club Deb12
 
Internet expandeix societat
Internet expandeix societatInternet expandeix societat
Internet expandeix societat
 
vimal pathak - visual cv
vimal pathak - visual cvvimal pathak - visual cv
vimal pathak - visual cv
 
Documents Controller
Documents ControllerDocuments Controller
Documents Controller
 
1228 fianl project
1228 fianl project1228 fianl project
1228 fianl project
 
Sahara
SaharaSahara
Sahara
 

Similaire à Npm install en un clin d'oeil

Install arch ultrabook full luks ssd
Install arch ultrabook full luks ssdInstall arch ultrabook full luks ssd
Install arch ultrabook full luks ssd
Anthony Le Goff
 
Synthese
SyntheseSynthese
Synthese
Alexis Pelhâte
 
Mise en place de Nagios core sur Ubuntu 22.04
Mise en place de Nagios core  sur Ubuntu 22.04Mise en place de Nagios core  sur Ubuntu 22.04
Mise en place de Nagios core sur Ubuntu 22.04
ImnaTech
 
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops) Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Joël Séguillon
 
Install oracle 11g sous RedHat
Install oracle 11g sous RedHatInstall oracle 11g sous RedHat
Install oracle 11g sous RedHat
Taoufik AIT HSAIN
 
Installer et configurer NAGIOS sous linux
Installer et configurer NAGIOS sous linuxInstaller et configurer NAGIOS sous linux
Installer et configurer NAGIOS sous linux
Zakariyaa AIT ELMOUDEN
 
Rapport Kernel Linux - Configuration – Compilation & installation
Rapport Kernel Linux - Configuration –  Compilation & installationRapport Kernel Linux - Configuration –  Compilation & installation
Rapport Kernel Linux - Configuration – Compilation & installation
Ayoub Rouzi
 
OpenNMS
OpenNMSOpenNMS
20111220 lyon jug-packaging-natif
20111220 lyon jug-packaging-natif20111220 lyon jug-packaging-natif
20111220 lyon jug-packaging-natif
Henri Gomez
 
DRAFT - Vm Ware - Installation Nuxeo
DRAFT - Vm Ware - Installation NuxeoDRAFT - Vm Ware - Installation Nuxeo
DRAFT - Vm Ware - Installation NuxeoPASCAL Jean Marie
 
Docker en Production (Docker Paris)
Docker en Production (Docker Paris)Docker en Production (Docker Paris)
Docker en Production (Docker Paris)
Jérôme Petazzoni
 
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
AbdellahELMAMOUN
 
Odoo installation et configuration avancée
Odoo installation et configuration avancéeOdoo installation et configuration avancée
Odoo installation et configuration avancée
Yasine LAKHDARI
 
SOLARIS 10 - Exercise - FR - 2008
SOLARIS 10 - Exercise - FR - 2008SOLARIS 10 - Exercise - FR - 2008
SOLARIS 10 - Exercise - FR - 2008
Sonny Brabez
 
20120110 paris jug-packaging-natif
20120110 paris jug-packaging-natif20120110 paris jug-packaging-natif
20120110 paris jug-packaging-natif
Henri Gomez
 
Nuxeo5 - Installation Simple
Nuxeo5 - Installation SimpleNuxeo5 - Installation Simple
Nuxeo5 - Installation SimplePASCAL Jean Marie
 

Similaire à Npm install en un clin d'oeil (17)

Install arch ultrabook full luks ssd
Install arch ultrabook full luks ssdInstall arch ultrabook full luks ssd
Install arch ultrabook full luks ssd
 
Synthese
SyntheseSynthese
Synthese
 
Mise en place de Nagios core sur Ubuntu 22.04
Mise en place de Nagios core  sur Ubuntu 22.04Mise en place de Nagios core  sur Ubuntu 22.04
Mise en place de Nagios core sur Ubuntu 22.04
 
Nagios
NagiosNagios
Nagios
 
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops) Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
Terraform OpenStack : Mise en pratique sur infrastructure OVH (Rennes devops)
 
Install oracle 11g sous RedHat
Install oracle 11g sous RedHatInstall oracle 11g sous RedHat
Install oracle 11g sous RedHat
 
Installer et configurer NAGIOS sous linux
Installer et configurer NAGIOS sous linuxInstaller et configurer NAGIOS sous linux
Installer et configurer NAGIOS sous linux
 
Rapport Kernel Linux - Configuration – Compilation & installation
Rapport Kernel Linux - Configuration –  Compilation & installationRapport Kernel Linux - Configuration –  Compilation & installation
Rapport Kernel Linux - Configuration – Compilation & installation
 
OpenNMS
OpenNMSOpenNMS
OpenNMS
 
20111220 lyon jug-packaging-natif
20111220 lyon jug-packaging-natif20111220 lyon jug-packaging-natif
20111220 lyon jug-packaging-natif
 
DRAFT - Vm Ware - Installation Nuxeo
DRAFT - Vm Ware - Installation NuxeoDRAFT - Vm Ware - Installation Nuxeo
DRAFT - Vm Ware - Installation Nuxeo
 
Docker en Production (Docker Paris)
Docker en Production (Docker Paris)Docker en Production (Docker Paris)
Docker en Production (Docker Paris)
 
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
5390997 Support formation : Construire et administrer vos conteneurs avec Doc...
 
Odoo installation et configuration avancée
Odoo installation et configuration avancéeOdoo installation et configuration avancée
Odoo installation et configuration avancée
 
SOLARIS 10 - Exercise - FR - 2008
SOLARIS 10 - Exercise - FR - 2008SOLARIS 10 - Exercise - FR - 2008
SOLARIS 10 - Exercise - FR - 2008
 
20120110 paris jug-packaging-natif
20120110 paris jug-packaging-natif20120110 paris jug-packaging-natif
20120110 paris jug-packaging-natif
 
Nuxeo5 - Installation Simple
Nuxeo5 - Installation SimpleNuxeo5 - Installation Simple
Nuxeo5 - Installation Simple
 

Dernier

MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
Horgix
 
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'universitéDe l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
Université de Franche-Comté
 
Les écrans informatiques au fil du temps.pptx
Les écrans informatiques au fil du temps.pptxLes écrans informatiques au fil du temps.pptx
Les écrans informatiques au fil du temps.pptx
abderrahimbourimi
 
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
OCTO Technology
 
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
Laurent Speyser
 
Le support de présentation des Signaux 2024
Le support de présentation des Signaux 2024Le support de présentation des Signaux 2024
Le support de présentation des Signaux 2024
UNITECBordeaux
 

Dernier (6)

MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
MongoDB in a scale-up: how to get away from a monolithic hell — MongoDB Paris...
 
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'universitéDe l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
De l'IA comme plagiat à la rédaction d'une « charte IA » à l'université
 
Les écrans informatiques au fil du temps.pptx
Les écrans informatiques au fil du temps.pptxLes écrans informatiques au fil du temps.pptx
Les écrans informatiques au fil du temps.pptx
 
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
Le Comptoir OCTO - Qu’apporte l’analyse de cycle de vie lors d’un audit d’éco...
 
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
Ouvrez la porte ou prenez un mur (Agile Tour Genève 2024)
 
Le support de présentation des Signaux 2024
Le support de présentation des Signaux 2024Le support de présentation des Signaux 2024
Le support de présentation des Signaux 2024
 

Npm install en un clin d'oeil