Comments (14)
You do not need to install .NET Core on linux. Follow the steps to install NEO-CLI:
Install Dependencies
yum install zip unzip
yum install leveldb-devel
yum install deltarpm
yum install epel-release
yum install libunwind
yum install libcurl-devel
yum install openssl-devel
yum install libicu-devel
Install NEO-CLI
You will need wget
for downloading. If you don't have it, install it first:
yum install wget
Then download NEO-CLI:
wget https://github.com/neo-project/neo-cli/releases/download/v2.3.5/neo-cli-centos.7-x64.zip
You can replace v2.3.5
to other version.
After downloading, extract the files from the zip:
unzip neo-cli-centos.7-x64.zip
cd neo-cli
Set permission for execution:
chmod u+x neo-cli
If you want to speed up the synchronization, you need to download the chain pack:
wget https://neo.org/client/chain.acc.zip
Run NEO-CLI
Start NEO-CLI:
./neo-cli
Or start it with --rpc
./neo-cli --rpc
Run NEO-CLI In Background
If you want to run NEO-CLI in background, you need to install screen
first:
yum install screen
Then start NEO-CLI with screen:
screen ./neo-cli
Or start it with --rpc
screen ./neo-cli --rpc
from neo-node.
Can confirm this, i am having this issue with Ubuntu 16.04, 14.04 and CentOS 7.1 - installed all dependencies + tried .NET 1.1.2,1.1.4 and 2.0 with precompiled binaries and compiling from source + portable. The steps outlined here in #13 seem depreciated for neo-cli 2.3.5. Any thoughts? What are the minimum hardware requirements?
from neo-node.
I can confirm having the same problem on Ubuntu 16.04. Can we already get any response from the devs?
from neo-node.
@erikzhang This does not help. I did following installation on Ubuntu 16.04
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
sudo apt-get update
sudo apt-get install dotnet-dev-1.0.4
sudo apt-get install zip
sudo apt-get install unzip
sudo apt-get install deltarpm
sudo apt-get install libssl-dev
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libunwind-dev
sudo apt-get install libicu-dev
sudo apt-get install liblttng-ust-dev
sudo apt-get install uuid-dev
sudo apt-get install libleveldb-dev
sudo apt-get install sqlite3
sudo apt-get install libsqlite3-dev
Then I downloaded and unpaked latestest version (I tried all 2.0+ released, the samproblem is in neach one):
wget https://github.com/neo-project/neo-cli/releases/download/v2.3.5/neo-cli-ubuntu.16.04-x64.zip -O src
unzip src
move ./neo-cli ./node
cd ./node
chmod -R 755 ./*
chown -R neo:neo ./*
And then tried to run both:
dotnet neo-cli.dll
and
./neo-cli
In both cases - segmentation fault . It is obvious that current installation instructions placed in docs and/or pasted over github are wrong. Can you do something about this, give us valid instructions and solve the problem? Thanks.
from neo-node.
@erikzhang I don't think that copy & paste of instructions from docs will resolve our issue. I still didn't manage to run NEO on Ubuntu. What is more, I also tried different versions of .NET (1.1.4 and 2.0).
.NET installation is correct, as I downloaded and ran some sample project without any difficulties.
You do not need to install .NET Core on linux. Follow the steps to install NEO-CLI:
Hmm, documentation says:
Running of an NEO node requires installation of .NET Core Runtime, version 1.0.1 or above.
So which of those is true?
Any tips with regards to our issue?
from neo-node.
Yes, you do not need to install .NET Core on linux. I have tested the steps above and it works for me on CentOS 7.4.
I will test it on Ubuntu later.
from neo-node.
@erikzhang can you please do the tests on clean installation of Ubuntu 16.04?
from neo-node.
@erikzhang the issue was that i allocated too little memory to my box. Increasing to 4GB resolved the segmentation fault. Might solve it for others as well. Please add minimum memory requirements to instructions.
Small remark: in your CentOS command list you should have "yum install epel-release" above "leveldb-devel"
from neo-node.
@fabwa Do you mean using some specific instructions for NEO to allow more memory usage or just increasing memory on the server? I run NEO on empty dedicated server with 64 GB RAM so I don't think the amount is not hight enough.
from neo-node.
I see.. i meant add more memory to the server, yes. I just tried CentOS (http://www.osboxes.org/centos/#centos-7-1611-vbox) there it resolved the issue.
from neo-node.
@fabwa this doesn't refer to my case either as I tried to run NEO on server with 32 GB RAM.
from neo-node.
Interesting, then i assume its another issue for Ubuntu.
from neo-node.
Still no info on solution to this issue?
from neo-node.
So for me and at https://github.com/CityOfZion/neo-privatenet-docker, neo-cli works on Ubuntu.
We're using dotnet-sdk-2.0.0. One thing I've noticed is that you have to run dotnet neo-cli.dll
, not dotnet -d neo-cli.dll
as the original post asked for.
When running dotnet -d neo-cli.dll
, I get the same error as described in the initial issue:
# dotnet -d neo-cli.dll
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
Telemetry is: Disabled
No executable found matching command "dotnet-neo-cli.dll"
With this being the meaningful error message: No executable found matching command "dotnet-neo-cli.dll". What is causing this?
But just running dotnet neo-cli.dll
works just fine.
from neo-node.
Related Issues (20)
- node: Testnet blockcount stuck at 558261 HOT 1
- state height HOT 2
- node: How to get transaction more a details ? HOT 2
- Please provide release for Mac Apple Silicon
- Neo-Cli - Ubuntu 20.04 LTS support
- node: macOs monterey support HOT 3
- Mode System HOT 3
- Neo CLI v3.3.0 - LevelDBStore was not found in the dictionary
- I'm stuck at 290070 HOT 7
- "BindAddress": "0.0.0.0", 配置这个参数 并安装rpc-server 插件 仍然不能被其他机器访问
- neo 节点开放rpc的时候 安装了插件 配置 BindAddress:"0.0.0.0" 不生效. ./neo-cli 启动
- node: get application log 2022/07/13 20:13:27 Unknown transaction/blockhash (-100) - , ???????? , ???????????? ???????? HOT 2
- node: not syncing HOT 5
- node: 3.4.0 ????????? HOT 4
- node: The given key 'LevelDBStore' was not present in the dictionary. HOT 2
- Unusual blocktime with same validator in subsequent blocks after OracleRequest HOT 4
- Neo node is down
- neo-cli not ssynchronizating
- node: docker cant run HOT 2
- Arithmetic operation resulted in an overflow. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo-node.