Obsolete Releases > SME 8.x Contribs

Anyone had any luck installing NodeJs

<< < (2/3) > >>

mmccarn:
I needed nodejs in order to run etherpad-lite.  I was not able to locate a binary install of nodejs that would do this, and ended up installing gcc, python 2.7, and building nodjs from source.

Here's a summary of what I did to get etherpad-lite & nodejs working (not for the faint of heart; voids your warranty):
- install gcc
- install git
- download, ./configure, make, and make altinstall python 2.7.3 from http://www.python.org/download/releases/
- mkdir -p /var/git && cd /var/git && git clone https://github.com/joyent/node.git
- cd /var/git/node && git pull origin v0.8.22
- python2.7 configure && make && PYTHON=/usr/local/bin/python2.7 && export PYTHON && make install

(plus a bunch of stuff to get etherpad-lite running as a service, using a mysql db, and accessible)

nodejs v10 released a couple weeks ago is not compatible with etherpad-lite, so I'm still running 8.22

madadam:
Has anyone had any further success installing Node.js on SME Server v8?

Ultimately I'd like to see a package developed so I could simply install in using YUM. I'd be willing to offer a small bounty for this. Anyone up for it or want to join in on a bounty?

Cheers,

Adam

mmccarn:

--- Quote from: madadam on August 23, 2014, 01:21:15 PM ---Has anyone had any further success installing Node.js on SME Server v8?

--- End quote ---

Mine is still working fine -- but I don't know how to create an rpm.

I've created a wiki page on altinstalling python: http://wiki.contribs.org/Python_Altinstall

I'll follow up with a page on installing nodejs.

mmccarn:
... and here's a howto for nodejs: http://wiki.contribs.org/NodeJS

guest22:

--- Quote from: madadam on August 23, 2014, 01:21:15 PM ---Has anyone had any further success installing Node.js on SME Server v8?

--- End quote ---

Isn't NodeJS available from the EPEL repo? I do not have a SME8 server at hand, but when I 'yum install nodejs npm --enablerepo=epel' on a SME9 test box, it show a whole bunch of NodeJS related rpm's ready to be installed.

Just a thought.

guest

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version