Line 2: |
Line 2: |
| | | |
| http://nodejs.org/ | | http://nodejs.org/ |
− | = For SME 9 =
| |
− | On SME 9, you can install a reasonably recent version of NodeJS from the EPEL repository:
| |
− | * Add the epel repository to the configuration db using the SME 9 instructions from [[Epel]]
| |
− | * Update the yum configuration file using
| |
− | expand-template /etc/yum.smerepos.d/sme-base.repo
| |
− | * Install NodeJS
| |
− | yum --enablerepo=epel install nodejs
| |
− | This will install nodejs plus c-ares19, http-parser, libuv and v8 from the epel repo, plus libicu from the base repo.
| |
− |
| |
− | ==Updating==
| |
− | * Update using
| |
− | yum --enablerepo=epel update nodejs c-ares19 http-parser libuv v8
| |
− | * NodeJS updates are released every 3 - 12 weeks; check for updates regularly.
| |
− |
| |
| = For SME 8= | | = For SME 8= |
| {{Level|Advanced}} | | {{Level|Advanced}} |
| {{Warning box|This procedure requires installation of gcc and could significantly compromise your server's security.<br />Thorough understanding of linux system management is required.<br /><br /><b>Proceed at your own risk</b>}} | | {{Warning box|This procedure requires installation of gcc and could significantly compromise your server's security.<br />Thorough understanding of linux system management is required.<br /><br /><b>Proceed at your own risk</b>}} |
| + | |
| | | |
| ==Prerequesites== | | ==Prerequesites== |
Line 24: |
Line 11: |
| * git and g++ | | * git and g++ |
| yum -y install git gcc-c++ | | yum -y install git gcc-c++ |
| + | |
| | | |
| ==Install== | | ==Install== |
Line 44: |
Line 32: |
| git reset --hard | | git reset --hard |
| git pull origin $RELEASE-release | | git pull origin $RELEASE-release |
| + | |
| + | = For SME 9 = |
| + | On SME 9, you can install a reasonably recent version of NodeJS from the EPEL repository: |
| + | * Add the epel repository to the configuration db using the SME 9 instructions from [[Epel]] |
| + | * Update the yum configuration file using |
| + | expand-template /etc/yum.smerepos.d/sme-base.repo |
| + | * Install NodeJS |
| + | yum --enablerepo=epel install nodejs |
| + | This will install nodejs plus c-ares19, http-parser, libuv and v8 from the epel repo, plus libicu from the base repo. |
| + | |
| + | |
| + | ==Updating== |
| + | * Update using |
| + | yum --enablerepo=epel update nodejs c-ares19 http-parser libuv v8 |
| + | * NodeJS updates are released every 3 - 12 weeks; check for updates regularly. |
| <headertabs/> | | <headertabs/> |
| | | |