Diferencias
Muestra las diferencias entre dos versiones de la página.
centos-build [2021/05/04 23:28] YerkoBits creado |
centos-build [2021/05/05 12:24] (actual) YerkoBits |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
===== Compilar en CentOS 7 (apuntes) ===== | ===== Compilar en CentOS 7 (apuntes) ===== | ||
- | FIXME | + | FIXME |
- | + | | |
- | + | | |
- | + | | |
- | + | | |
- | # --- swap | + | |
- | sudo fallocate -l 1G /swapfile | + | |
- | sudo chmod 600 /swapfile | + | |
- | sudo mkswap /swapfile | + | |
- | sudo nano / | + | |
- | / | + | * / |
- | swapon /swapfile | + | |
- | + | | |
- | # --- | + | |
- | yum update | + | |
- | yum install gcc | + | |
- | yum install gcc-c++ | + | |
- | # yum install make | + | |
- | yum install cmake | + | |
- | yum install git | + | |
- | yum install wget | + | |
- | + | | |
- | # | + | |
- | wget -O boost_1_67_0.tar.gz https:// | + | |
- | tar xzf boost_1_67_0.tar.gz | + | |
- | mv boost_1_67_0 boost | + | |
- | cd boost | + | |
- | ./ | + | |
- | ./b2 link=static -j $(nproc --all) --build-dir=build64 --stagedir=stage | + | |
- | cd .. | + | |
- | # | + | |
- | + | | |
- | git clone https:// | + | |
- | cd prosus && cd cryptonote | + | |
- | mkdir build && cd build | + | |
- | cmake -DBOOST_ROOT=~/ | + | |
- | make | + | |
- | + | | |
- | + | | |
- | # ----- GUI | + | |
- | # https:// | + | |
- | yum update | + | |
- | yum groupinstall " | + | |
- | yum install curl-devel openssl-devel git wget screen epel-release | + | |
- | sudo wget https:// | + | |
- | rpm -ivh https:// | + | |
- | yum install cmake3 boost-devel readline-devel zeromq zeromq-devel unbund unbound-devel miniupnpc miniupnpc-devel qt5-qtbase-devel pcsc-lite-devel | + | |
- | sudo ln -s / | + | |
- | cd / | + | |
- | wget https:// | + | |
- | git clone https:// | + | |
- | cd mycoin | + | |
- | make | + | |
- | + | | |
- | + | | |
- | # ---- | + | |
- | # https:// | + | |
- | yum install -y git which wget gcc-c++ libtool make \ | + | |
- | autoconf automake boost-devel epel-release \ | + | |
- | centos-release-scl openssl-devel libevent-devel \ | + | |
- | libseccomp-devel | + | |
- | yum groupinstall -y ' | + | |
- | yum install -y devtoolset-7-gcc* | + | |
- | source scl_source enable devtoolset-7 | + | |
- | + | | |
- | _VERSION=" | + | |
- | _DEST_DIR=" | + | |
- | # Bytecoin want custom boost :| | + | |
- | wget -O boost_1_67_0.tar.gz https:// | + | |
- | tar xzf boost_1_67_0.tar.gz | + | |
- | mv boost_1_67_0 boost | + | |
- | cd boost | + | |
- | ./ | + | |
- | ./b2 link=static -j $(nproc --all) --build-dir=build64 --stagedir=stage | + | |
- | cd .. | + | |
- | + | | |
- | # Bytecoin want custom OpenSSL :| | + | |
- | git clone https:// | + | |
- | cd openssl | + | |
- | git checkout OpenSSL_1_1_1a | + | |
- | ./Configure linux-x86_64 no-shared | + | |
- | make -j$(nproc -all) | + | |
- | cd .. | + | |
- | + | | |
- | # Bytecoin want LMDB | + | |
- | git clone https:// | + | |
- | + | | |
- | git clone https:// | + | |
- | mkdir bytecoin/ | + | |
- | cd bytecoin | + | |
- | cmake ./ | + | |
- | make -j$(nproc --all) | + | |
- | + | | |
- | + | | |
- | ---------- | + | |
- | HTTPS | + | |
- | # https:// | + | |
- | # https:// | + | |
- | Nginx configuration directory: / | + | |
- | Nginx root directory: / | + | |
- | Master/ | + | |
- | + | | |
- | 8-O https:// | + | |
+ | |