Uživatelské nástroje

Nástroje pro tento web


en_installation:installation_guide

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
Následující verze
Předchozí verze
en_installation:installation_guide [2022/07/12 15:07] kozaken_installation:installation_guide [2023/12/02 22:30] (aktuální) – [Installation guide:] kozak
Řádek 10: Řádek 10:
   - **Re-log as a new user (directly on server console or remote via ssh)**   - **Re-log as a new user (directly on server console or remote via ssh)**
       * With default ssh port 22:       * With default ssh port 22:
-        * "ssh youruser@yourIP" or "ssh youruser@blockchain.yourDomain"+        * ''ssh youruser@yourIP" or "ssh youruser@blockchain.yourDomain''
       * Different port:       * Different port:
-        * "ssh youruser@yourIP -pYourPort" or "ssh youruser@blockchain.yourDomain -pYourPort"+        * ''ssh youruser@yourIP -pYourPort" or "ssh youruser@blockchain.yourDomain -pYourPort''
       * An example:       * An example:
         * ''ssh ela@blockchain.elachain.cz -p10222 ''         * ''ssh ela@blockchain.elachain.cz -p10222 ''
-  - **Download installation .deb package.** +  - **Downloading the installation .deb package ****(replace ''<ACCESS_TOKEN>'' with received token):** 
-      Download directly via wget ''wget [[https://eu-de.git.cloud.ibm.com/vodsedalek/ela-preq-package-packaged/raw/master/elachain-preq.deb|https://eu-de.git.cloud.ibm.com/vodsedalek/ela-preq-package-packaged/raw/master/elachain-preq.deb]]'' +       * <code>wget --header "PRIVATE-TOKEN: <ACCESS_TOKEN>" "https://eu-de.git.cloud.ibm.com/api/v4/projects/27078/repository/files/elachain-preq.deb/raw" -./elachain-preq.deb</code> 
-  - **Check package integrity with **''sha256sum elachain-preq.deb'' ** command. Hash of the current package version is: **''c00034b06b6053e7e06a8bc1713f179cb5224ab6e893e94a66bdebd117224a42''+  - **Check package integrity with **''sha256sum elachain-preq.deb'' ** command. Hash of the current package version is: **''d28e2062252860e724d2f511e257feffa2b2b295bd62d35ee8d5d3900bd6ba3e''
   - **Run installation package **''sudo apt install ./elachain-preq.deb''  (you have to be in the directory where the package was downloaded)   - **Run installation package **''sudo apt install ./elachain-preq.deb''  (you have to be in the directory where the package was downloaded)
   - **Run **''node_config'' ** command after the installation is complete **  (without sudo - you have to run this command as a newly created user)   - **Run **''node_config'' ** command after the installation is complete **  (without sudo - you have to run this command as a newly created user)
-  - +  - **A few y/n questions are followed.** 
- +      * The first question is about downloading docker images, select "y", then "y" again 
-**A few y/n questions are followed.** +      * You will then be asked to supply the ''.install-env''  file to the ''/usr/local/NODE_CONTROL''  folder 
-      * +        one option is to use an SCP client, for example WinSCP 
- +        or you can use scp command ''scp .install-env youruser''''@yourIP:/usr/local/NODE_CONTROL'' 
-The first question is about downloading docker images, select "y", then "y" again +        or open .install-env file and copy its content to a newly created file with the same name on your server, then save it 
- +      * Next is a question about creating an Apache configuration. In most cases, it is desirable to choose "y". Choose the "n" option if you have enough experience with the Apache server configuration and you need a specific configuration. Learn more about Apache configuration [[:en_installation:apache|here]] 
-      * +      * Then you need to fill in an email to generate an SSL certificate via Let's Encrypt. If you want to use your own SSL certificate, you will need to add its path to ''/etc/apache2/sites-available/blockchain.yourDomain.conf''  after the installation is complete - more [[:en_installation:apache|here]] 
- +      * The last question concerns the installation of the logDNA service, which allows us to access script logs remotely. To confirm this, enter "y" again 
-You will then be asked to supply the ''.install-env''  file to the ''/usr/local/NODE_CONTROL''  folder +        * Installation of the logDNA service is also possible later by calling ''setLogDNA''
- +
-        one option is to use an SCP client, for example WinSCP +
-        or you can use scp command ''scp .install-env youruser''''@yourIP:/usr/local/NODE_CONTROL'' +
-        or open .install-env file and copy its content to a newly created file with the same name on your server, then save it +
-      * +
- +
-Next is a question about creating an Apache configuration. In most cases, it is desirable to choose "y". Choose the "n" option if you have enough experience with the Apache server configuration and you need a specific configuration. Learn more about Apache configuration [[:en_installation:apache|here]] +
- +
-      * +
- +
-Then you need to fill in an email to generate an SSL certificate via Let's Encrypt. If you want to use your own SSL certificate, you will need to add its path to ''/etc/apache2/sites-available/blockchain.yourDomain.conf''  after the installation is complete - more [[:en_installation:apache|here]] +
- +
-      * +
- +
-The last question concerns the installation of the logDNA service, which allows us to access script logs remotely. To confirm this, enter "y" again +
- +
-        * +
- +
-Installation of the logDNA service is also possible later by calling ''setLogDNA''+
   - **After completing **''node_config'' **, it is advisable to restart the computer or relogin the user.**   - **After completing **''node_config'' **, it is advisable to restart the computer or relogin the user.**
       * Remotely: ''sudo reboot''       * Remotely: ''sudo reboot''
   - **After the reboot, run the **''install-ela-node'' ** command, **which will download the necessary items from our git repositories and download the basic docker images.   - **After the reboot, run the **''install-ela-node'' ** command, **which will download the necessary items from our git repositories and download the basic docker images.
-  - **Node cryptography generation **- in this step you will generate the necessary certificates for node operation+  - **Creating node cryptography **- in this step you will generate the necessary certificates for node operation
       * You must first run the required certification authorities using the command ''manage-ela-cas start''       * You must first run the required certification authorities using the command ''manage-ela-cas start''
       * The certificate generation is performed by the ''manage-ela-cas generate''  command, which by default generates certificates for 2 peers. The command can be modified to generate a specific number of peers ''manage-ela-cas generate -p NumberOfPeers'', however, we recommend generating certificates for 2 peers and then turning one off       * The certificate generation is performed by the ''manage-ela-cas generate''  command, which by default generates certificates for 2 peers. The command can be modified to generate a specific number of peers ''manage-ela-cas generate -p NumberOfPeers'', however, we recommend generating certificates for 2 peers and then turning one off
Řádek 86: Řádek 67:
 couchdb1 couchdb1
 monitoring-telegraf monitoring-telegraf
 +
  
 </code> </code>
en_installation/installation_guide.1657631279.txt.gz · Poslední úprava: 2022/07/12 15:07 autor: kozak