Skip to content
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

Document server setup instructions #60

Open
poplexity opened this issue Oct 3, 2024 · 1 comment
Open

Document server setup instructions #60

poplexity opened this issue Oct 3, 2024 · 1 comment
Assignees
Labels

Comments

@poplexity
Copy link
Member

poplexity commented Oct 3, 2024

Here are some notes to get started..

Increase max open files:

vi /etc/security/limits.conf

# add this
* soft nofile 65535
* hard nofile 65535

Install rustup, then install rust.

Install foundryup and then run it to install cast

All the build packages, here's history from current server setup (some are wrong package name):

95 sudo apt install gcc cc
96 sudo apt install gcc
99 sudo apt install openssl-sys
100 sudo apt install openssl-dev
101 sudo apt install openssl
102 sudo apt install libssl-dev
104 sudo apt install pkg-config
106 sudo apt install clang g++
335 sudo apt install libclang libcxx
336 sudo apt update
337 sudo apt install openssl
338 sudo apt install libiconv
339 sudo apt install libclang
340 sudo apt install libcxx
341 sudo apt install libc++-dev
343 sudo apt install gcc
344 sudo apt install build-essentials
345 sudo apt install build-essential
517 sudo apt install iotop
605 sudo apt install net-tools

Usefull tool for compressing the Freelist in the db, for when the db stat command shows it's big:
https://reth.rs/run/troubleshooting.html#compact-the-database

@poplexity
Copy link
Member Author

When (soon) we update to use send_transaction2 we will need the nodeos instances to be configured for this as well. Need to research to find the setting to put in config.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants