fix: Besu docs

This commit is contained in:
RadoslavDimchev 2023-10-30 21:43:21 +02:00
parent 548de7c7ec
commit f35bc2e3d5
1 changed files with 2 additions and 2 deletions

View File

@ -24,10 +24,10 @@ export const DOCUMENTATIONS: Documentation = {
},
Besu: {
icon: '/icons/hyperledger-besu-circle.png',
general: '',
general: '## Install binary distribution',
documentation: {
[MAC]:
"### MacOS with Homebrew\n**Prerequisites**\n- Homebrew\n- Java JDK\n**CAUTION**\nHyperledger Besu supports:\n\n- MacOS High Sierra 10.13 or later versions.\n- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the Java JDK.\n**Install (or upgrade) using Homebrew**\nTo install Besu using Homebrew:\n```bash\nbrew tap hyperledger/besu\nbrew install hyperledger/besu/besu\n```\nTo upgrade an existing Besu installation using Homebrew:\n```bash\nbrew upgrade hyperledger/besu/besu\n```\n**NOTE**\nIf you've upgraded your MacOS version between installing and upgrading Besu, when running `brew upgrade hyperledger/besu/besu` you may be prompted to reinstall command line tools with `xcode-select --install`.\n**NOTE**\nWhen upgrading Besu, you might be prompted to fix the remote branch names in Homebrew by using the command `brew tap --repair`.\nTo display the Besu version and confirm installation:\n```bash\nbesu --version\n```\nTo display Besu command line help:\n```bash\nbesu --help\n```",
"### MacOS with Homebrew\n**Prerequisites**\n- Homebrew\n- Java JDK\n\n**CAUTION**\nHyperledger Besu supports:\n\n- MacOS High Sierra 10.13 or later versions.\n- Java 17+. You can install Java using `brew install openjdk`. Alternatively, you can manually install the Java JDK.\n\n### Install (or upgrade) using Homebrew\nTo install Besu using Homebrew:\n```\nbrew tap hyperledger/besu\nbrew install hyperledger/besu/besu\n```\nTo upgrade an existing Besu installation using Homebrew:\n```\nbrew upgrade hyperledger/besu/besu\n```\n**NOTE**\nIf you've upgraded your MacOS version between installing and upgrading Besu, when running `brew upgrade hyperledger/besu/besu` you may be prompted to reinstall command line tools with `xcode-select --install`.\n\n**NOTE**\nWhen upgrading Besu, you might be prompted to fix the remote branch names in Homebrew by using the command `brew tap --repair`.\n\nTo display the Besu version and confirm installation:\n```\nbesu --version\n```\nTo display Besu command line help:\n```\nbesu --help\n```",
[WINDOWS]: '',
[LINUX]:
'### Linux / Unix\n**Prerequisites**\n- Java JDK 17+\n**LINUX OPEN FILE LIMIT**\nIf synchronizing to Mainnet on Linux or other chains with large data requirements, increase the maximum number of open files allowed using `ulimit`. If the open files limit is not high enough, a `Too many open files RocksDB` exception occurs.\n**TIP**\nWe recommend installing `jemalloc` to reduce memory usage. If using Ubuntu, you can install it with the command: `apt install libjemalloc-dev`.\n**Install from packaged binaries**\nDownload the Besu packaged binaries.\n\nUnpack the downloaded files and change into the `besu-<release>` directory.\n\nDisplay Besu command line help to confirm installation:\n```bash\nbin/besu --help\n```',