6
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

NEM(NIS1)ノードをUbuntu24でビルドする

Last updated at Posted at 2024-11-30

自前のビルドに意味はあるのか?

Java なので無いと思います。自己満足です。

必要な Java と maven をインストール

sudo apt install openjdk-11-jdk maven

最新版をクローン

2025/04/03 時点の最新はv0.6.102

git clone https://github.com/NemProject/nem.git -b v0.6.102 nis1

ビルド

cd nis1/infra
./package.build.sh build.log
./package.prepare.sh

ネットワークの指定

ネットワークの指定がされていないので、メインネットかテストネットかを設定する。
mainnettestnetを入力する。

sed -i 's/nem\.network = \r/nem.network = mainnet/g' package/nis/config.properties

任意の場所に配置

nis1/infra/packageを任意の場所に配置する。

関連記事

6
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?