购买测试服务器
sudo apt-get install software-properties-commonsudo add-apt-repository -y ppa:ethereum/ethereumsudo add-apt-repository -y ppa:ethereum/ethereum-devsudo apt-get updatesudo apt-get install ethereum
SSH 进入Ubuntu 18 服务器1
geth --datadir mydata --networkid 8888 --rpc --rpccorsdomain "*" --nodiscover --port 30303 --allow-insecure-unlock --rpcport 8545 console
启动 私有链节点
miner.start()
启动挖矿 等待10分钟 挖矿成功
eth.accounts
我创建过两个账号
personal.newAccount("123456") #括号里面 设置密码创建新账户
eth.getBalance("0xc49589e8051cf5f1a0dae6b067d6ed714168db74")