Learn about Centmin Mod LEMP Stack today
Become a Member

Cannot install Nodejs 4.x or higher after centmin installed

Discussion in 'Add Ons' started by Manhhailua, Jul 10, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    39,747
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    5:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ah nice work (y)
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,264
    307
    83
    May 31, 2014
    Ratings:
    +566
    Local Time:
    10:25 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Does nodejs.sh set nodejs to autostart after server reboot?
     
  3. eva2000

    eva2000 Administrator Staff Member

    39,747
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    5:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    no you do that yourself for your nodejs apps
     
  4. pamamolf

    pamamolf Premium Member Premium Member

    3,264
    307
    83
    May 31, 2014
    Ratings:
    +566
    Local Time:
    10:25 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Yes for the apps i know that i have to do that by myself but node itself doesn't need a startup or it starts when i start my .js script like:

    Code:
    node /path/file.js
    ?
     
  5. eva2000

    eva2000 Administrator Staff Member

    39,747
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    5:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    nodejs isn't a daemon or service so there is no startup like nginx/php-fpm services
     
    • Informative Informative x 1
  6. pamamolf

    pamamolf Premium Member Premium Member

    3,264
    307
    83
    May 31, 2014
    Ratings:
    +566
    Local Time:
    10:25 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    How do i update it to a newer version or is it automated using yum update?
     
  7. eva2000

    eva2000 Administrator Staff Member

    39,747
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    5:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    normal yum update for the nodejs package
     
  8. Kuro

    Kuro Member

    52
    7
    8
    Feb 8, 2018
    Ratings:
    +10
    Local Time:
    2:25 AM
    1.15.10
    10.3
  9. eva2000

    eva2000 Administrator Staff Member

    39,747
    8,767
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,488
    Local Time:
    5:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    backwards compatibility i guess some web apps were specifying specific nodejs version requirements when i created addons/nodejs.sh i.e. Ghost
     
..