Node.js : installation standalone

Posté le samedi 14 avril 2012 à 5 h 02, Read it in english with Google

nodejs-logo-lightAllez c’est partit pour un premier article rapide : comment installer Node.js en mode standalone, ou mode portable, c’est Ă  dire sans l’intĂ©grer au système.

Ceci peut vous permettre de le faire tourner sur des hĂ©bergement oĂą vous n’avez pas la main, si tant est que les librairies requises soient disponibles. Vous pouvez mĂŞme le compiler chez vous et l’exĂ©cuter sur le serveur si les noyaux sont semblables, car Nodejs n’a besoin de rien d’autre que lui mĂŞme pour tourner.

PrĂ©alablement, installez les librairies requises (ici on est sur Debian, je vous laisse vous reporter Ă  d’autre articles pour les diffĂ©rents systèmes):

 

Vous tĂ©lĂ©chargez la dernière version et vous la compilez, sans l’intĂ©grer au système (pas de make install):

 

Maintenant vous pouvez lancer Nodejs avec, tout simplement :

 

En ce qui concerne le gestionnaire de paquet de Nodejs : npm, c’est un peu plus compliquĂ©.

Il faut créer un script dans le répertoire de Node :

span class="st0">'#!/bin/sh
node=`dirname "$0"`/node
$node "`dirname "$0"`/deps/npm/bin/npm-cli.js" "$@"
'

Vous pouvez maintenant lancer npm avec la commande

./npm

Attention tout de mĂŞme avec les paquets installĂ©s globalement (avec l’option -G), ils se mettent dans le rĂ©pertoire au dessus. Mais la nouvelle phylosophie sur les paquets de node tend Ă  les distribuer localement, par application (dans le rĂ©pertoire node_modules Ă  la racine de votre app).

Au final, on pourrait même créer un script qui installe automatiquement la dernière version de Nodejs dans le répertoire /node et crée/met à jour des liens symboliques de node et npm dans ce même répertoire, pour pouvoir toujours garder Nodejs à jour.

Bon, j’ai encore des choses Ă  revoir dans ma mĂ©thode de rĂ©daction d’un article court.

21 réponses à “Node.js : installation standalone”

  1. Felix Pantaleon

    Believes that the USA poker market is in a much wanted transition part.

    The Black Friday occasion and the media frenzy that ensued
    were stepping stones in the direction of a regulated poker surroundings.
    And legalization could be across the corner. On October 25th 2011, a congressional hearing occurred on the Home Subcommittee on Commerce, Manufacturing and Commerce.
    Rep.

  2. bao da ipad

    After looking at a handful of the blog posts on your web page,
    I honestly like your way of writing a blog. I saved it to my bookmark site list and will
    be checking back soon. Please check out my web site too and let me know how you feel.

  3. iphone support.apple.com/iphone/restore

    Your style is unique compared to other people I’ve read stuff from.
    Thanks for posting when you have the opportunity, Guess I will
    just book mark this site.

  4. Elvia

    Useful info. Lucky me I discovered your web site by chance,
    and I am shocked why this accident did not happened in advance!
    I bookmarked it.

  5. Judi Poker

    Simply want to say your article is as astonishing.
    The clearness in your post is simply great and i could assume
    you are an expert on this subject. Well with your permission let me to grab your feed to keep updated with forthcoming post.
    Thanks a million and please continue the gratifying work.

  6. bandar389

    Pretty! This was an incredibly wonderful article.
    Thank you for providing these details.

  7. https://ombakqq.dewalego.com

    These are actua?ly enormous ideas ?n regarding blogging.
    ?ou ha?e touched som? ?ood factors ?ere. Anyy way keeep ?p wrinting.

  8. Bukadepoxito

    There are a lot of bookies in Indonesia who have been motivated to near their businesses previously Indonesia
    adopted a feign that prohibits all forms of
    gambling. Because of this phenomenon and is supported
    by technological advances that are certainly rapid, in the past next all gambling comings and
    goings are no longer carried out freely and isolated shaped online such as online soccer betting or online casino.

    Progress is not without challenges, because the easier admission to information technology,
    many irresponsible people begin to acknowledge advantage.
    Looking for pension by scouting gambling agents and utilizing the fans
    of gambling off protect by scamming, fraud, phishing, etc.

    Different from Us! Our ascribed site only gives members
    right of entry to soccer gambling and online casino games
    that have been proven safe and reliable. Gambling games from gambling game provider sites that we
    offer, have a categorically fine reputation, both in terms
    of the system and its services to customers.

  9. agenmaxbet.net

    Userbola is a reliable maxbet agent that has collaborated with official maxbet providers since 2014.
    All of us are tasked with serving betting players who wish to
    register for an established maxbet account in Indonesia.
    We here as a maxbet list site also have an recognized PAGCOR license to market online gambling video games.
    In addition, Userbola as a maxbet agent always gets positive input from betting members
    such as fast deal services, safe repayments and complete gambling games.

    The data of members who have registered at a trusted maxbet
    agent userbola are also protected securely. The userbola team also always provides benefits to all betting members every week
    such as a rebate reward or cashback that you will not
    get on the official maxbet site. From the evaluation of our betting users and
    official providers who may have made userbola the quantity 1
    trustworthy maxbet agent in Indonesia.

    How to Register a Maxbet Account
    Gambling online players who want to register for a maxbet account through the
    trusted maxbet list site userbola only need some important data like the full name in line with the bank-account, account number, contact number that can be contacted,
    and email address. These data can be completed via the enrollment form on our
    website.

  10. panduanjudi.win

    Panduanjudi Login

    Panduanjudi is a trusted and certified poker site from
    PKV games server. We give 9 types of far along games that can be played using just one ID.
    The games we come up with the money for add
    up poker, domino99, bandarq, aduq, sakong, bandar66
    and plus capsa susun. In auxiliary to having a large variety of games, http://www.Panduanjudi.com after that has several attractive promos that can be enjoyed directly after living thing registered as a member.
    with unconditional weekly cashback promos that are calculated
    from the total turnover, both winning and losing. moreover Panduanjudi essentially appreciate
    if there are members who invite connections or intimates
    to be in on our site by giving a referral supplementary of 10% to 20% of the number of turnover downline invited to play.

    To be the best poker site, Panduanjudi is always grating to
    intensify our facilities to be skillful to pay for the best experience
    in playing poker at our place. One of the ways is the Gambling lead provides a means of payment that reaches all elements of Indonesian society.
    By enthusiastic in the same way as leading banks and helpful Simpati and XL
    tab deposits. As well as which players can make
    deposits using E-wallets such as GoPay, OVO and Funds. additional than those mentioned above, of course there are yet advantages in Panduanjudi
    to be anxious to become the best poker sites such as:

  11. https://ahliqq1.dewalego.com

    I kno? this web site g?ves quality dependent posts ?nd extra stuff, ?? there any other web pag? w?ic? p?ovides the?e data ?n quality?

  12. domino99

    I do consider all of thee concepts ??u’?e ?resented on your post.Th?y are very convincing
    andd can cert?inly work. N?netheless, t?? posts are ve?y ?rief for newbies.
    May ?ou ple?s? lengthenn them a ?ittle f?om next
    time? Thank? for t?e post.

  13. sbobet.media

    Online gambling is no longer just a game that
    is the end to fill spare time, now many people have made
    online gambling a profession that generates a
    lot of money, and this is essentially a reality. There is already a lot of evidence that
    shows that online gambling games have indeed been transformed into a enormously profitable business.

    Since shifting its form to online gambling, this game
    is increasingly way in to all circles. Where before online gambling was unaccompanied within reach to upper class people,
    now everyone can experience and get the same opportunity.
    following else can you find a situation that is profitable but
    also fun to do.

    The uniqueness of the online gambling industry in Indonesia is that Indonesians
    cannot register directly to online gambling sites that allow gambling
    games because they are blocked by Indonesian enactment which prohibits gambling.
    Therefore, a connecting portal is needed that can be a bridge
    amongst online gambling fans and online gambling game providers.

    Therefore, the presence of online gambling agents is no question important in Indonesia.

    The behave of online gambling agents is to allow domestic potential players later admission to games provided
    by online gambling sites by providing guidance to make an recognized account that can be used to log into the game.

    One of the approved online gambling agent sites that
    offer these services is Sbobet.media. Sbobet.media
    has been re before 2017 and has become a link for millions
    of online gambling players in Indonesia to the
    best and most trusted online gambling game. For those of you who desire
    to register, you isolated infatuation to visit the site and
    register online.

  14. Abby

    Ion Casino

    Ion casino is a reliable and best online casino site
    coming from 2010 which includes offered millions of players
    in Asia. Ion casino or also referred to as Ionclub is typically the top ranking selection site because that provides the best experience for online gambling players in Philippines.
    With an established license to operate, this provider ensures that players
    create bets without danger, credibility and can be depended on.

  15. ubobet

    Ubobet is an internationally trusted gambling
    dealer in the past 2001 until now. By holding certified access for online gambling sites that pay for various types of betting games.

    Games nearby tally Sportsbook, rouse Casino and Cockfight.
    Ubobet has reached the entire world gambling puff including the Indonesian market.

    At present, every hours of daylight there are more than 100 thousand players who
    entrust their bets in the city of Ubobet.

    Ubobet List Site

    To register an account, players cannot get it directly upon the
    Ubobet site. In extra words, prospective players must register through the credited agent site for Ubobet listings such as Pandora188.
    By using Pandora188 ID the player can bet upon this city.
    How to register is quite easy, just by filling out the registration form correctly.
    After that create a buildup of at least 25 thousand, then the artiste can bet on Ubobet.
    every performer who joins as a zealot at Pandora188 is entitled to a freebet further and along with a daily lump other
    without exception.

    Ubobet Login

    After registering, players can log in on Ubobet in two ways.

    The first is through ascribed associates who have collaborations
    such as Pandora188. Because the two sites have already formed a partnership, which means that
    betting on the Pandora188 site is the thesame as betting on Ubobet directly.
    Or by the second pretentiousness you can directly log in to the Ubobet site if you already have an account.
    How to log in Ubobet is quite easy, just enter your ID & password correctly.

  16. mabosbet

    For anybody who like to enjoy gambling of course, if you are looking
    for partners in gambling activities, Mabosbet will be the right choice.
    Mabosbetransfer You can contact our own customer support
    and make transactions with us. Mabosbet livechat is available
    24 several hours nonstop and is all set to serve you and help you online with betting.

    Mabosbet. com as the responsible gambling agent,
    we always provide an option link to mabosbet in order that members feel comfortable.

    You no longer need to have trouble obtaining an alternate Jababbet link regarding access, it is currently available for
    you.

    All of us also always give priority to the safety of
    our members, very strict protecting all the privacy regarding members of Jababbet.

    Trustworthy Mabosbet From 2010

    With good praise, the support from the Headquarters will be no doubt.
    Friendly, quick response, under 3 minutes.

    Mabosbet is highly highly valued by gambling bettors from Indonesia because whatever success you get will probably be
    recognized by mabosvip. We usually want to provide typically
    the best for members with highest service. The site mabosmail.
    com is additionally very simple to access, since you
    only want internet access and option links mabosvip, no want to use proxies,
    notifications, or troublesome applications.

    Of which is why many folks join mabosbola and create deposits, then, win the particular match.
    The best plus quality alternative mabosbola option site.

    Come join mabosbet. com the trusted online gambling agent in Dalam negri.
    Contact livechat mabosbet now in the lower right corner to get
    a new user ID. Welcome to the club.

    MABOSBET will be a Trusted Online Betting Site that has already
    been established for more compared to 9 years with the
    most significant amount of online wagering players.
    This gambling site also provides the most complete
    online gambling game together with the most popular betting providers in Indonesia.
    On the internet Gambling Games that could be played at MABOSBET
    are Sportsbook Soccer Betting, Live Casino, Internet poker
    Credit card Gambling, Online Slot Wagering and Online Togel.

    Mabosbet itself has provided many different excellent facilities for gambling online players in Indonesia which range from 24-hour Live Chat Help,
    Bonuses with the least difficult conditions, additional wins for True Gambling Players.

    This particular MABOSBET Gambling Site furthermore
    proves to get very reliable, while this Gambling Site can also
    pay with regard to any winning player without deductions. So you may
    play gambling comfortably and safely without fear of
    spending. In addition to the definite win at MABOSBET, you will also
    supply additional bonuses to supply a different experience playing online gambling.

    JOBI BASKETBALL OFFICIAL SBOBET ONLINE WITHIN
    INDONESIA
    Online Soccer Gambling has become a very popular online gambling game inside Indonesia where every
    online game has a market with regard to betting. MABOSBET is
    now an official partner of SGD777 Indonesia, where more as compared to a decade has provided football gambling games for betting
    players in Indonesia. This SBOBET Soccer Gambling Marketplace allows a fair where players will actually be given a live market from the official match directly.

    So you will be very lucky to be able to play SBOBET in this particular MABOSBET.

    RELIABLE ONLINE SLOT MACHINE SITE SITE WITH MANY EARNINGS
    Online slot gambling is currently popular in Indonesia, where online slots are incredibly successful with huge jackpots and freespins
    that are straightforward to win. Because regarding that this MABOSBET 1st provided Online Slot Online games from 2012 for
    gambling players in Indonesia. Wherever Jackpot is provided even more than USD
    $ 1, 000, 000 for slot machine game players who register in MABOSBET.
    The Slot Sport machine at MABOSBET won’t just use your Equilibrium,
    the Slot Game offers been designed with the FREESPIN
    Bonus that comes out there more often, so a person is going to be Fortunately.

  17. Bandar-Sbobet.com

    up to standard and thank you for visiting online casino agents for Indonesia.
    Here we are here to come up with the money for admission for fans of sbobet casino who desire to colleague the
    international agent site Promosbobet.

    The products offered are completely diverse and are definitely the best choice.
    Derived from providers that have credibility and have been proven to
    have the best predicate in serving their customers. Providers
    in imitation of Sbobet, Maxbet and many more.

    As the best online casino and soccer gambling site in Indonesia.
    We allow maximum advance later customer support that works online 24 full
    hours all day. therefore members can conduct yourself whenever and wherever without fearing to point the
    possibility of difficulties or confusion.

  18. Sbomabos.Com

    Sbobet is the biggest city in Parts of asia that can be awarded several times for providing
    the best facilities and services. Bola tangkas has also pocketed several legal betting licenses in several states which make it legal to market online wagering.
    Sbomabos as a trusted official bola tangkas agent that has been around since 2010 also follows the criteria of
    its official service provider. Sbomabos is
    now the sbobet sign in provider site that provides 24/7 service to all Indonesian online gambling users.
    Sbomabos as a sbobet gambling real estate agent that has received official permission from PAGCOR and is centered in the Israel so it is legal to market products from our providers.
    We here offer transaction processing under 3 minutes
    from promising small to large small.

    The way to Login to the Sbobet Philippines Web site
    Sbobet is an official website that always provides updated alternative backlinks so that
    users can certainly access the sbobet website. Right now all sbobet login information can contact customer service from the official sbomabos website.

    Members who have completed registration at sbomabos can follow steps to sign in sbobet such as accessing the sbowin. com site, coming into the username and password provided by our
    cs. The particular sbo system also prioritizes member security
    after logging in, for the first time the associate will be requested to enter
    a brand new password. Members can also change their own username on the official sbo
    website.

  19. Ricardo

    THE VERY BEST AND RELIABLE SGD777 JUDI BANDAR

    Agen-338a is an online bookie that works officially with the sbobet provider.
    Agen-338a has served betting members from the year 2010 until now and contains never given dissatisfaction in words of sbobet login. We have been also one of the sbobet agents who have received several awards and have now
    become the number just one site in Philippines. We are also a site that is visited completely from the official sbobet provider to be
    entrusted with marketing sports gambling products, casinos, slots, shooting seafood,
    etc. for the Indonesian community. Every day
    there are more than 10, 500 members who actively play on our official site and provide reviews that are very satisfied choosing us
    all as the spouse agent. Our brand searches also exceed 10,
    000 lookups per day and we are a day to day service site.

    How to Register a Sbobet Account
    We provide official sbobet account registration for all members who
    want to join without the fees or requirements. We also what is simplicity in the sbobet list, because to complete the sbobet account sign up process,
    only verification is needed that you are 18+ and possess a local bank to make dealings.
    Register for sbobet can be through the registration form on the official website of Agen-338a or through our customer service who is willing
    to help you at any time. After filling in the registration form, the member
    just must activate the ID with affirmation via our cs.

  20. https://agenqq1.dewalego.com

    Nice post. I learn som?t?ing new ?nd challenging on blogs ? stumbleupon everyday.
    It w?ll ?lways b? innteresting to rea? artticles from ?ther authors and practice a l?ttle s?mething fr?m their web sites.

  21. wedeqq.xianggua88.com

    magnificent post, ?ery informative. ?’m wondering
    why t?e othe? specialists ?ff this sector ?o not realize th?s.
    You must proceed ??ur writing. I’m confident, you ?ave a huge readers’ base al?eady!

Laissez un commentaire :