MacOS安装NSR

From Nxt Wiki
Jump to: navigation, search
This page is a translated version of the page How-To:InstallNRSMacOS and the translation is 83% complete.

Outdated translations are marked like this.
Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎italiano • ‎português do Brasil • ‎русский • ‎українська • ‎中文(简体)‎

1 Mac OS X安装Nxt(以及NSR客户端)

(最初是由LeeWongnextcoin.org创建的。如果这些信息有用,请您捐助他: 18381680251592544968)

1.1 开始之前

重要:在安装之前,您必须安装最新版的Java,以确保能运行Nxt客户端。如果没有安装Java,将会有错误信息提示"unsupported major/minor version"。点击这里获得java (确保您为"Mac OS X x64"下载了"Java SE Development Kit"!)

1.2 下载

1.3 Installation Instructions

NOTE: These instructions have been tested on MacOS X versions 10.7, 10.8 and 10.9

  1. Download the latest Nxt Software from https://www.jelurida.com/nxt-client.zip
  2. Unzip the client file by double-clicking it. This will expand the zip file into a folder called "nxt".
  3. NXT requires Oracle Java version 1.7. If you already have Oracle Java 1.7 installed, you may skip to step 4. If you want to check your Java version before proceeding, here's how:
    • Open Terminal, and type "java -version" at the prompt. If your output looks like what you see below, you can proceed to Step 4. If not, proceed to the next bullet point.

      JavaVersioncheck.jpg

    • If your output is any different (Java version 1.6 or lower), download JDK version 1.7 from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html and install it by double-clicking on the .dmg file after it is downloaded.

      DownloadJDK.jpg

    • After installation, type the following at a Terminal prompt:
      export JAVA_HOME=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home

      File:ExportJavaHome.jpg

    • To make this change permanent on your system, append that same command to the end of ~./bash_profile by entering this command at the Terminal prompt:

      echo "JAVA_HOME=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home" >> ~/.bash_profile
      EchoJavaHome.jpg

  4. In Terminal, change directory to the folder of your Nxt software. For example, cd /Applications/nxt. If you are not sure of the path to your Nxt folder, you can type 'cd' in the terminal and drag and drop the Nxt folder in the terminal window.
  5. Start Nxt by entering:
    ./run.sh
    • The Nxt server will start. Wait until it has successfully started, as indicated by a line in the server window similar to this:
      Nxt server 1.1.3 started successfully.
  6. Open http://127.0.0.1:7876 in your browser and you should see the Nxt Client login page.
    NxtWallet start small.png
  7. Your next step is creating a Nxt account! See this page for instructions on how to do that.

1.4 建议