-
Notifications
You must be signed in to change notification settings - Fork 648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
835 Ubuntu 18.04 Support #1212
835 Ubuntu 18.04 Support #1212
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,27 +20,19 @@ 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 | ||
|
@@ -49,15 +41,26 @@ To build after all dependencies are installed: | |
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 sync --recursive | ||
git submodule update --init --recursive | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps need one more |
||
|
||
**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's Boost version is newer, then you will need to manually build | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually we support 1.65.1 |
||
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 | ||
|
||
|
@@ -72,7 +75,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: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<LATEST_RELEASE_TAG>
has confused some people. Perhaps update it after every release? Or remove that line, then by defaultmaster
branch will be used (but--version
command won't show the correct tag).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed, let's make it simple for the end user to copy paste the script. I've added a new
current_version
file containing the text matching the (expected) release tag. I've swapped the for a $variable and inserted a bash script to setvariable=$(curl URL)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
curl
doesn't work in windows, so I'd avoid that.--version
not showing the tag IMHO is acceptable.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the
curl
statement and$variable
. Replaced with an explicitgit checkout master
and added a comment about replacing with current release as needed.