源码安装以太坊/wtc

部署运行你感兴趣的模型镜像

1 安装go
先更新一下

 sudo apt-get update
 sudo apt-get -y upgrade

下载源码https://www.golangtc.com/download 并解压

sudo tar -xvf go1.9.2.linux-amd64.tar.gz
sudo mv go /usr/local

设置路径vi /etc/profile

export PATH=$PATH:/usr/local/go/bin:/home/slc/Projects/bin
export GOPATH=/home/slc/Projects

source /etc/profile

补充:go version/go/echo $GOPATH

然后geth -h就可以了;如果找不到还是因为PATH没加上,在后边加上:/home/slc/Projects/bin就可以啦。

新建一个文件夹Project/src 然后把项目放在里面,对应的路径是/home/slc/Projects/src/github.com/ethereum/go-ethereum
然后在Projects/src 目录下安装geth

go install github.com/ethereum/go-ethereum/cmd/geth

新建一个Node1文件夹,然后创建一个genesis.json的文件,
初始化创世块

 geth --datadir node1 init genesis.json

进入geth

geth --identity "development" --rpc --rpcaddr 0.0.0.0 --rpccorsdomain "*"  --datadir "node1" --port "21458" --rpcapi "admin,personal,db,eth,net,web3" --networkid 999 --rpcport 2545 console

您可能感兴趣的与本文相关的镜像

Wan2.2-T2V-A5B

Wan2.2-T2V-A5B

文生视频
Wan2.2

Wan2.2是由通义万相开源高效文本到视频生成模型,是有​50亿参数的轻量级视频生成模型,专为快速内容创作优化。支持480P视频生成,具备优秀的时序连贯性和运动推理能力

-- efemsdk: /home/yushijin/fromGitLib/server/mock/MockEfem -- mockGPBAgent: /home/yushijin/fromGitLib/server/mock/MockGPBAgent -- mock_rt_device: /home/yushijin/fromGitLib/server/mock/mock_rt_device -- mockWRSGPBAgent: /home/yushijin/fromGitLib/server/mock/MockWRS /home/yushijin/fromGitLib/server/controller/STG/source/include -- mockAlgLightingGPB: /home/yushijin/fromGitLib/server/mock/MockAlgLight --RTC| rtc: /home/yushijin/fromGitLib/server/controller/RTC --RTC| rtentry: /home/yushijin/fromGitLib/server/controller/RTC -- test_rtc: /home/yushijin/fromGitLib/server/controller/TestRTC -- stg: /home/yushijin/fromGitLib/server/controller/STG STG compile product fls-no-sim-mode,ws is actual -- wtentry: /home/yushijin/fromGitLib/server/controller/WTC/source/entry -- wtc: /home/yushijin/fromGitLib/server/controller/WTC -- service: /home/yushijin/fromGitLib/server/service service compile product service compile product service compile product COMPILE_MOCK = ON fls no-sim-mode, ws is stg_fls_ws_release service es product service_only_lens_real product service_only_il_real product -- test_service: /home/yushijin/fromGitLib/server/test_service -- shotmap: /home/yushijin/fromGitLib/server/ShotMap -- AlignGPBClient: /home/yushijin/fromGitLib/server/communication/Alignment/CommunicationFastDDS -- AlignGPBSerialize: /home/yushijin/fromGitLib/server/communication/Alignment/AlignGPBSerialize -- : /home/yushijin/fromGitLib/server/communication/il/src -- : /home/yushijin/fromGitLib/server/communication/lens -- AlgLightingGPB: /home/yushijin/fromGitLib/server/communication/AlgLighting -- utils: /home/yushijin/fromGitLib/server/utils -- Configuring done (0.1s) -- Generating done (1.0s) -- Build files have been written to: /home/yushijin/fromGitLib/server/build/Debug/X86_64/Linux
最新发布
09-02
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值