Comments (8)
Erik,
You are right, you have to install leveldb-devel. Tested on a fresh installation and is working. I will update documentation asap. You can close the issue, and use this one as a reference from CentOS installations.
Step-by-step CentOS 7.3 Instalation.
[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
sudo yum update -y
sudo yum install epel-release unzip wget -y
sudo yum install leveldb-devel libunwind libicu -y
sudo curl -sSL -o dotnet.tar.gz https://aka.ms/dotnet-sdk-2.0.0-linux-x64
mkdir -p ~/dotnet && tar zxf dotnet.tar.gz -C ~/dotnet
export PATH=$PATH:$HOME/dotnet
sudo wget https://github.com/neo-project/neo-cli/releases/download/v2.1.0/neo-cli-centos.7-x64.zip
sudo unzip neo-cli-centos.7-x64.zip -d /opt/
cd /opt/neo-cli/
dotnet neo-cli.dll
Step-by-step Ubuntu 16.04.03 LTS instalation.
user@ubuntu:/lsb_release -a
Description: Ubuntu 16.04.3 LTS
sudo apt-get update
sudo apt-get install libleveldb-dev libleveldb1v5 libicu-dev wget unzip -y
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get update
sudo apt-get install dotnet-sdk-2.0.0 -y
sudo wget https://github.com/neo-project/neo-cli/releases/download/v2.1.0/neo-cli-ubuntu.16.04-x64.zip
sudo unzip neo-cli-ubuntu.16.04-x64.zip -d /opt/
cd /opt/neo-cli/
sudo dotnet neo-cli.dll /rpc
Step-by-step RHEL 7.4 Instalation
[root@]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.4 (Maipo)
yum install wget unzip -y
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh epel-release-latest-7*.rpm
yum install leveldb leveldb-devel libunwind libicu -y
subscription-manager repos --enable=rhel-7-server-dotnet-rpms
yum install scl-utils -y
scl enable rh-dotnetcore11 bash
echo "source scl_source enable rh-dotnetcore11" >> ~/.bashrc
wget https://github.com/neo-project/neo-cli/releases/download/v2.1.0/neo-cli-rhel.7.2-x64.zip
unzip neo-cli-rhel.7.2-x64.zip -d /opt/
cd /opt/neo-cli/
dotnet neo-cli.dll
from neo-node.
see #6
from neo-node.
Thank you very much!
from neo-node.
W: GPG error: https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
W: The repository 'https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Anyway, after installation, got the same Segmentation failed error (
Ubuntu 16.04
from neo-node.
Please, post the output of sudo dotnet --info
from neo-node.
.NET Command Line Tools (2.0.0)
Product Information:
Version: 2.0.0
Commit SHA-1 hash: cdcd1928c9
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
Base Path: /usr/share/dotnet/sdk/2.0.0/
Microsoft .NET Core Shared Framework Host
Version : 2.0.0
Build : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
from neo-node.
You have installed .Net Core SDK 2.0, but we need 1.1
Don't worry, we will upgrade to 2.0 soon.
from neo-node.
Hi,
I am struggling with neo-cli for some time and unfortunately didn't manage to run it as for now.
When I run dotnet neo-cli.dll
I get Segmentation fault
error. More info is available when I used diagnostics flag.
root@host:/home/neo/node# dotnet -d neo-cli.dll
Telemetry is: Disabled
projectfactory: MSBUILD_EXE_PATH = /usr/share/dotnet/sdk/1.1.4/MSBuild.dll
projectfactory: MSBuild project path =
projecttoolscommandresolver: ProjectFactory did not find Project.
Microsoft.DotNet.Cli.Utils.CommandUnknownException: No executable found matching command "dotnet-neo-cli.dll"
at Microsoft.DotNet.Cli.Utils.Command.Create(ICommandResolverPolicy commandResolverPolicy, String commandName, IEnumerable`1 args, NuGetFramework framework, String configuration, String outputPath, String applicationName)
at Microsoft.DotNet.Cli.Utils.Command.Create(String commandName, IEnumerable`1 args, NuGetFramework framework, String configuration, String outputPath, String applicationName)
at Microsoft.DotNet.Cli.Program.ProcessArgs(String[] args, ITelemetry telemetryClient)
at Microsoft.DotNet.Cli.Program.Main(String[] args)
root@host:/home/neo/node# dotnet --info
.NET Command Line Tools (1.1.4)
Product Information:
Version: 1.1.4
Commit SHA-1 hash: d2f3571419
Runtime Environment:
OS Name: ubuntu
OS Version: 16.04
OS Platform: Linux
RID: ubuntu.16.04-x64
Base Path: /usr/share/dotnet/sdk/1.1.4
Do you have any ideas what can be wrong?
Thanks in advance,
Regards
from neo-node.
Related Issues (20)
- 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
- Failed to uninstall plugin using lower case. HOT 2
- 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
- light node
- Neo node is down
- Incremental vs ordinary chain dumps HOT 4
- neo-cli not ssynchronizating
- The behavior of the docker test is unpredictable HOT 2
- node: docker cant run HOT 2
- Arithmetic operation resulted in an overflow. HOT 1
- Feature add-on for web-services.
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.