? Editing: Post:21.body Save Delete Cancel
Content changed Sign & Publish new content

Seancheey Blog

biong! bu neng ren!

Follow in NewsfeedFollowing

Latest comments:

MacOS Sierra 编译Namecoin-core(不用图形界面)

on Jun 01, 2017

在Mac上编译Namecoin-core非常简单,跟着官方的编译指南走就行了。

官方网站:https://github.com/namecoin/namecoin-core
编译文档:https://github.com/namecoin/namecoin-core/blob/master/doc/build-osx.md

1. 安装Homebrew

Homebrew是MacOS上的包管理器,由于编译需要安装开发者工具,Homebrew是最简单的安装方法。
Homebrew官网:https://brew.sh

  • 安装开发者工具:xcode-select --install
  • 复制运行安装命令:/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 安装所需要的包:brew install automake berkeley-db4 libtool boost --c++11 miniupnpc openssl pkg-config protobuf qt libevent

2. 编译

  • 下载源代码:git clone https://github.com/namecoin/namecoin-core
  • cd namecoin-core
  • 编译:./autogen.sh
  • ./configure --without-gui
  • make

假如一切顺利,Namecoind会出现在./src/namecoind

3. 配置

Namecoin的配置文件夹在/Users/${USER}/Library/Application Support/Namecoin/namecoin.conf

  • mkdir ~/Library/Application\ Support/Namecoin/
  • 创建文件 ~/Library/Application Support/Namecoin/namecoin.conf,输入以下内容:(rpc密码务必修改成随机字符!不然不安全)
rpcuser=namecoinrpc
rpcpassword=mysuperrandompassword
  • 修改权限 chmod 600 "/Users/${USER}/Library/Application Support/Namecoin/namecoin.conf"
  • 一行命令版 echo -e "rpcuser=namecoinrpc\nrpcpassword=$(xxd -l 16 -p /dev/urandom)" > "/Users/${USER}/Library/Application Support/Namecoin/namecoin.conf" (参见官方文档)

4. 运行

./src/namecoind -daemon 运行namecoin
./src/namecoin-cli help 命令列表

Read more

I am Seancheey. hello ZeroNet.

on May 31, 2015

Your zeronet blog has been successfully created! Go ahead and use it!!!

Read more
Add new post

Title

21 hours ago · 2 min read ·
3 comments
Body
Read more

Not found

Title

21 hours ago · 2 min read

0 Comments:

user_name1 day ago
Reply
Body
This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More