Skip to content

Commit

Permalink
Merge pull request #1212 from ryanRfox/835-ubuntu-18-support
Browse files Browse the repository at this point in the history
835 Ubuntu 18.04 Support
  • Loading branch information
abitmore authored Aug 2, 2018
2 parents 308ff52 + 29bd69e commit eaf0e47
Showing 1 changed file with 22 additions and 18 deletions.
40 changes: 22 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,48 @@ The web wallet is [BitShares UI](https://github.com/bitshares/bitshares-ui).

Visit [BitShares.org](https://bitshares.org/) to learn about BitShares and join the community at [BitSharesTalk.org](https://bitsharestalk.org/).

**NOTE:** The official BitShares git repository location, default branch, and submodule remotes were recently changed. Existing
repositories can be updated with the following steps:

git remote set-url origin https://github.com/bitshares/bitshares-core.git
git checkout master
git remote set-head origin --auto
git pull
git submodule sync --recursive
git submodule update --init --recursive

Getting Started
---------------
Build instructions and additional documentation are available in the
[wiki](https://github.com/bitshares/bitshares-core/wiki).

We recommend building on Ubuntu 16.04 LTS (64-bit), and the build dependencies may be installed with:
We recommend building on Ubuntu 16.04 LTS (64-bit)

**Build Dependencies**:

sudo apt-get update
sudo apt-get install autoconf cmake make automake libtool git libboost-all-dev libssl-dev g++ libcurl4-openssl-dev

To build after all dependencies are installed:
**Build Script:**

git clone https://github.com/bitshares/bitshares-core.git
cd bitshares-core
git checkout <LATEST_RELEASE_TAG>
git checkout master # may substitute "master" with current release tag
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make

**NOTE:** BitShares requires an [OpenSSL](https://www.openssl.org/) version in the 1.0.x series. OpenSSL 1.1.0 and newer are NOT supported. If your system OpenSSL version is newer, then you will need to manually provide an older version of OpenSSL and specify it to CMake using `-DOPENSSL_INCLUDE_DIR`, `-DOPENSSL_SSL_LIBRARY`, and `-DOPENSSL_CRYPTO_LIBRARY`.
**Upgrade Script** (prepend to the Build Script above if you built a prior release):

**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57, 1.65]. Versions earlier than
1.57 or newer than 1.65 are NOT supported. If your system Boost version is newer, then you will need to manually build
git remote set-url origin https://github.com/bitshares/bitshares-core.git
git checkout master
git remote set-head origin --auto
git pull
git submodule update --init --recursive # this command may fail
git submodule sync --recursive
git submodule update --init --recursive

**NOTE:** BitShares requires a [Boost](http://www.boost.org/) version in the range [1.57 - 1.65.1]. Versions earlier than
1.57 or newer than 1.65.1 are NOT supported. If your system's Boost version is newer, then you will need to manually build
an older version of Boost and specify it to CMake using `DBOOST_ROOT`.

**NOTE:** BitShares requires a 64-bit operating system to build, and will not build on a 32-bit OS.

After building, the witness node can be launched with:
**NOTE:** BitShares now supports Ubuntu 18.04 LTS

**NOTE:** BitShares now supports OpenSSL 1.1.0

**After Building**, the `witness_node` can be launched with:

./programs/witness_node/witness_node

Expand All @@ -72,7 +76,7 @@ In order to run a full node with all the account history you need to remove `par

| Default | Full | Minimal | ElasticSearch
| --- | --- | --- | ---
| 20G RAM | 120G RAM | 4G RAM | 200G SSD HD, 16G RAM
| 16G RAM | 120G RAM | 4G RAM | 500G SSD HD, 32G RAM

After starting the witness node again, in a separate terminal you can run:

Expand Down

0 comments on commit eaf0e47

Please sign in to comment.