-
Notifications
You must be signed in to change notification settings - Fork 26
Linux installation
petermrg edited this page Feb 22, 2013
·
2 revisions
Required version is 0.8+
- Install bin files via packet manager.
- Other install options.
$ git clone git://github.com/petermrg/eNode
$ cd eNode
$ npm install mysql
$ npm install bigint
$ npm install tinylogger
$ npm install hexy
$ sudo apt-get install mysql-server
$ mysql -uroot -p
mysql> create database enode;
mysql> quit;
$ mysql -uroot -p enode < misc/enode.sql
Edit file enode.config.js
and change the following:
- Address: set your server's IPv4
- TCP port: the TCP port you want to use
- UDP port: should be TCP+4
-
MySQL user: your username (
root
by default) - MySQL pass: your mysql password
$ node enode.js