LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2018, 05:18 AM   #1
gaurvrishi
Member
 
Registered: Apr 2012
Posts: 62

Rep: Reputation: Disabled
Smile Setup nodejs repository in local


Hi,

I am trying to setup nodejs repository on my local server so that my backend server can download package from my repository server of node module.

If i am trying to install packages, i am hitting npm install pm2 and this will install packages from directly internet.

So instead of this, this should be call to my local repository and download the packages.

Is there anyway we can do this.
 
Old 01-31-2018, 09:41 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by gaurvrishi View Post
Hi,
I am trying to setup nodejs repository on my local server so that my backend server can download package from my repository server of node module. If i am trying to install packages, i am hitting npm install pm2 and this will install packages from directly internet. So instead of this, this should be call to my local repository and download the packages. Is there anyway we can do this.
Read the "Question Guidelines" link in my posting signature; after being a member here for six years, doing basic research should be the first thing you do before posting. Because there are many tutorials on how to create a local nodejs repository:
https://web.archive.org/web/20140802...mjs-repository

...with many others you can find on your own. Your posts seem to follow this same vein:
https://www.linuxquestions.org/quest...he-4175610547/
https://www.linuxquestions.org/quest...le-4175609689/
https://www.linuxquestions.org/quest...nd-4175539223/
https://www.linuxquestions.org/quest...nd-4175538555/
https://www.linuxquestions.org/quest...ck-4175525656/
 
1 members found this post helpful.
  


Reply

Tags
node, node.js



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup Local repository in external Drive or usb stick for Ubuntu giobaxx Linux - Desktop 2 10-18-2017 03:23 PM
How can I setup my own local repository for my home network? krlb Linux - Newbie 2 10-20-2015 06:21 PM
Help with YUM setup with local repository codenjanod Linux - Software 2 03-05-2010 03:09 AM
How can i setup a local repository on RHEL box which has no internet connection. benjamin.bvalani Red Hat 2 02-08-2010 02:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration