Git Product home page Git Product logo

gladius-wiki's Introduction

Gladius Wiki

Welcome to the Gladius Network Wiki! Here you will find installation guides, pull request guidelines/conduct, and general project information.

Project Overview

Gladius’ goal is to create a fully decentralized, peer to peer, serverless node network to connect bandwidth and storage pools to websites looking for DDoS protection and expedited content delivery. Anyone with a computer can download and run the Gladius edge node client in the background in order to rent out their unused bandwidth, compute, and storage space and earn Gladius Tokens (GLA). Large pools with hundreds, if not thousands, of nodes will then be able to handle a continuous stream of requests to validate website connections and block malicious activity. Gladius operates in similar ways to existing platforms, but we utilize compute assets that already exist instead of building new ones.

Instructional Guides

Gladius Edge Node

Managing A Pool (Not implemented)

Website Setup (Not implemented)

Pull Request Guidelines

Router/ Firewall guides for Port forwarding

gladius-wiki's People

Contributors

code-merc avatar kleoken avatar overtfuture avatar profssrfink avatar sebastianhutter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gladius-wiki's Issues

Error in installing on Win7

4008 verbose unlock done using C:\Users\Admin\AppData\Roaming\npm-cache_locks\staging-0213d365e71c95eb.lock for C:\Users\Admin\AppData\Roaming\npm\node_modules.staging
4009 verbose stack Error: [email protected] postinstall: node ./lib/index.js
4009 verbose stack Exit status 1
4009 verbose stack at EventEmitter. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16)
4009 verbose stack at EventEmitter.emit (events.js:180:13)
4009 verbose stack at ChildProcess. (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
4009 verbose stack at ChildProcess.emit (events.js:180:13)
4009 verbose stack at maybeClose (internal/child_process.js:936:16)
4009 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
4010 verbose pkgid [email protected]
4011 verbose cwd C:\Program Files (x86)\nodejs
4012 verbose Windows_NT 6.1.7601
4013 verbose argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--global" "--production" "windows-build-tools"
4014 verbose node v9.10.1
4015 verbose npm v5.6.0
4016 error code ELIFECYCLE

It is required on windows 7 to add %SystemRoot%/system32/WindowsPowerShell/v1.0 to the global system path, then restart the windows console as admin and it should work

Ubuntu Server 16.04 missing dependencies wiki installs steps

Hi,

I was going through the install steps on a fresh install of Ubuntu server (headless) 16.04 LTS. I had to install 'make' and 'g++' to complete the installation of the control daemon. Didn't see these dependencies listed so wanted to let you know!

npm install -g gladius-control-daemon

gyp ERR! stack Error: not found: make
make: g++: Command not found

To fix:
sudo apt-get install make g++

@shea851

Error in direct installing control-daemon in npm windows 7

C:\Windows\system32>npm install -g gladius-control-daemon
npm WARN deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Suppor
t
npm WARN deprecated [email protected]: ?? WARNING ?? tar.gz module has been deprecat
ed and your application is vulnerable. Please use tar module instead: https://np
mjs.com/tar

[email protected] preinstall C:\Users\User\AppData\Roaming\npm\node_modules\gladius
-control-daemon\node_modules\scrypt
node node-scrypt-preinstall.js

C:\Users\User\AppData\Roaming\npm\gladius-control -> C:\Users\User\AppData\Roami
ng\npm\node_modules\gladius-control-daemon\index.js

[email protected] install C:\Users\User\AppData\Roaming\npm\node_modules\gladius-co
ntrol-daemon\node_modules\scrypt
node-gyp rebuild

C:\Users\User\AppData\Roaming\npm\node_modules\gladius-control-daemon\node_modul
es\scrypt>if not defined npm_config_node_gyp (node "G:\nodejs\node_modules\npm\n
ode_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp
.js" rebuild ) else (node "G:\nodejs\node_modules\npm\node_modules\node-gyp\bin
\node-gyp.js" rebuild )
Warning: Missing input files:
C:\Users\User\AppData\Roaming\npm\node_modules\gladius-control-daemon\node_modul
es\scrypt\build..\scrypt\win\include\config.h
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
Copying scrypt/win/include/config.h to scrypt/scrypt-1.2.0/config.h
The system cannot find the file specified.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(356,5): error MSB6006: "CL.exe" exited with code -1073741701. [C:\Users\Use
r\AppData\Roaming\npm\node_modules\gladius-control-daemon\node_modules\scrypt\b
uild\copied_files.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(356,5): error MSB6006: "CL.exe" exited with code -1073741701. [C:\Users\Use
r\AppData\Roaming\npm\node_modules\gladius-control-daemon\node_modules\scrypt\b
uild\scrypt_wrapper.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe fail
ed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (G:\nodejs\node_modules\npm\node_modul
es\node-gyp\lib\build.js:258:23)
gyp ERR! stack at ChildProcess.emit (events.js:180:13)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces
s.js:209:12)
gyp ERR! System Windows_NT 6.1.7600
gyp ERR! command "G:\nodejs\node.exe" "G:\nodejs\node_modules\npm\node_mod
ules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\User\AppData\Roaming\npm\node_modules\gladius-control-daem
on\node_modules\scrypt
gyp ERR! node -v v9.10.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache_logs\2018-03-30T14_36_31_5
71Z-debug.log

add a F.A.Q.

Add a F.A.Q. with all error messages related to running a node and a possible explanation.

Problem when trying the direct installation for gladius-control-daemon ***** Ubuntu 16.04

Hi i am having the following error when trying to install the control-daemon with:
npm install -g gladius-control-daemon

Here is the error:

npm WARN deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Support
npm WARN deprecated [email protected]: ⚠️ WARNING ⚠️ tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
loadDep:ws → cache add ▐ ╢████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:uuid → mapToRegis ▀ ╢████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:utf8 → afterAdd ▀ ╢████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
WARN engine [email protected]: wanted: {"npm":">=3","node":">=6.5.0"} (current: {"node":"4.2.6","npm":"3.5.2"})
loadDep:strip-hex-prefix ▐ ╢████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
loadDep:is-hex-prefixed → ▄ ╢████████████████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node node-scrypt-preinstall.js /root/.npm-global/lib/node_modules/.staging/scrypt-aa7f8087
/root/.npm-global/lib
└── (empty)

npm ERR! Linux 4.4.0-119-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "-g" "gladius-control-daemon"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /root/.npm-global/lib/node_modules/.staging/abbrev-e45d53a4
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/root/.npm-global/lib/node_modules/.staging/abbrev-e45d53a4' -> '/root/.npm-global/lib/node_modules/gladius-control-daemon/node_modules/npm/node_modules/abbrev'

npm ERR! enoent ENOENT: no such file or directory, rename '/root/.npm-global/lib/node_modules/.staging/abbrev-e45d53a4' -> '/root/.npm-global/lib/node_modules/gladius-control-daemon/node_modules/npm/node_modules/abbrev'

npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log
npm ERR! code 1

After some research it appears that alanhoff/node-tar.gz repo on github is deprecated and not maintained anymore, how to work around this?

Also, /abbrev is not found in /root/.npm-global/lib/node_modules/gladius-control-daemon/node_modules/npm/node_modules, although there are plenty of others, this one is missing.

I have noticed there is another thread on installing the daemon on windows 7 and running:
npm install scrypt -g was proposed. Tried it and received the following error:

npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node node-scrypt-preinstall.js /root/.npm-global/lib/node_modules/.staging/scrypt-fec0a638

[email protected] install /root/.npm-global/lib/node_modules/scrypt
node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: EACCES: permission denied, mkdir '/root/.npm-global/lib/node_modules/scrypt/build'
gyp ERR! stack at Error (native)
gyp ERR! System Linux 4.4.0-119-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /root/.npm-global/lib/node_modules/scrypt
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Linux 4.4.0-119-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "scrypt" "-g"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the scrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs scrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls scrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /root/npm-debug.log

It seems like permissions are not set up right but all priviledges have been granted to .npm-global recursively.

What am I omitting?

Problem while running gladius-control(Mac OS)

I've tried rebooting and running the installation commands repeatedly but the problem still persists, thanks in advance!

Macintosh-2:gladius-edge-docker Ayyappan$ gladius-control
module.js:545
throw err;
^

Error: Cannot find module './build/Release/scrypt'
at Function.Module._resolveFilename (module.js:543:15)
at Function.Module._load (module.js:470:25)
at Module.require (module.js:593:17)
at require (internal/module.js:11:18)
at Object. (/usr/local/lib/node_modules/gladius-control-daemon/node_modules/scrypt/index.js:3:20)
at Module._compile (module.js:649:30)
at Object.Module._extensions..js (module.js:660:10)
at Module.load (module.js:561:32)
at tryModuleLoad (module.js:501:12)
at Function.Module._load (module.js:493:3)
Macintosh-2:gladius-edge-docker Ayyappan$

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.