Skip to content

Instantly share code, notes, and snippets.

@timlianov
timlianov / centos_7_setup_geth_node
Created February 4, 2021 17:43
simple bash script to build and run go-ethereum on Centos7
sudo yum update -y
sudo yum install -y epel-release
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm
sudo yum install -y git
sudo yum -y install golang
sudo yum -y install gmp-devel
sudo yum groupinstall "Development tools" -y
git clone https://github.com/ethereum/go-ethereum
@timlianov
timlianov / script.sh
Created April 25, 2022 10:23
telegram multiline message from Jenkins job
cat << EOF > str_pre
❌ ${JOB_NAME}
%0A
%0APR: ${ghprbPullLink}
%0AJOB: ${JOB_URL}
EOF
STR_PRE=$(cat str_pre)
STR=$(echo $STR_PRE | sed 's/\./\\./g; s/\*/\\*/g; s/\[/\\[/g; s/\-/\\-/g;')
= Some yum usage for people who know "apt" =
If you are familiar with the apt package manager on Debian/Ubuntu this page should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc.
Note that this page as currently written is by non-apt experts, so there may be some mistakes.
== General points ==
* Speed:
* data/CPU: apt on Debian deals with roughly ~37,000 packages[1] and an extra 6,500 "provides"[2]. yum on Fedora deals with roughly 24,000 packages, 143,000 provides and 3,100,000 file provides.