setting node server

1. tasksel install lamp server

2. sudo apt-get update

3.sudo apt-get install g++ curl libssl-dev apache2-utils

> sudo apt-get install git-core

4. for installing webmin

sudo aptitude install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

if libmd5-perl package not available

wget http://mirrors.kernel.org/ubuntu/pool/universe/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb
sudo dpkg -i libmd5-perl_2.03-1_all.deb

wget http://garr.dl.sourceforge.net/sourceforge/webadmin/webmin_1.441_all.deb

sudo dpkg -i webmin_1.441_all.deb

login in webmin https://184.106.78.113:10000/
by root pswd
change the shell to /bin/bash for new user and www-data
and for new user secondary group to sudo
change the owner of directory var/www/
chown -R www-data www
use this git https://github.com/joyent/node.git

cd /home/ubuntu 

> git clone git://github.com/ry/node.git
> cd node
> ./configure
> make
> sudo make install
got some difficulting in installing npm but done it .

 

sudo npm install traverse

need to change the traverse/hash to traverse in require in manger.js

sudo npm install log
Advertisements

About rahul23134654

Hi, I am Rahul Meha , B.E. in (I.T.)
This entry was posted in Node.js. Bookmark the permalink.

2 Responses to setting node server

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s