{"id":541,"date":"2023-07-13T16:37:23","date_gmt":"2023-07-13T08:37:23","guid":{"rendered":"https:\/\/www.paralism.com\/info\/docs\/guidelines-for-paralism-node-cli-operation\/node-installation-configuration-and-startup\/"},"modified":"2023-07-13T16:53:49","modified_gmt":"2023-07-13T08:53:49","slug":"node-installation-configuration-and-startup","status":"publish","type":"docs","link":"https:\/\/www.paralism.com\/info\/docs\/guidelines-for-paralism-node-cli-operation\/node-installation-configuration-and-startup\/","title":{"rendered":"Node installation, configuration, and startup"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">Install<\/h2>\n\n\n\n<p>Visit the official website of the Paralism community <a href=\"https:\/\/www.paralism.com\/\">https:\/\/www.paralism.com\/<\/a> Obtain the latest version of the software on the node download page. Choose the corresponding software version based on your operating system. The downloaded software may be an executable file of Windows&#8217;. exe or a Linux installation file of. rpm, which may be compressed into a. zip file.<\/p>\n\n\n\n<p>The. exe file can be directly installed under Windows. If your installation files were downloaded from other websites, please be sure to verify whether the software signature information is the official signature of Paralism.com or Hyperchain.net during execution.<\/p>\n\n\n\n<p>Under Linux, use a terminal to enter the installation file storage directory and execute rpm &#8211; ivh parallelism_ Xxx.rpm executes the installation.<\/p>\n\n\n\n<p>The following will use the Windows version of the Paralism node operation interface as an example to introduce common node operations.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color\">Configuration and startup<\/h2>\n\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color has-medium-font-size\">Node running parameter settings<\/h2>\n\n\n\n<p>Enter the CMD command line or Powershell terminal, enter [Disk]: [Paralism installation directory] bin , and create a. cfg configuration file, such as formal.cfg. The common configuration parameters are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Me=127.0.1:2000 # Local IP Address and Port<\/li>\n\n\n\n<li>Seedserver=39.104.20.125:8115 # Paralism Public Network Boot Node 1<\/li>\n\n\n\n<li>Seedserver=47.92.69.61:8115 # Paralism Public Network Boot Node 2<\/li>\n\n\n\n<li>With=ledger # Load the general ledger application module<\/li>\n\n\n\n<li>With=paracoin # Load the digital currency application module<\/li>\n\n\n\n<li>Rpcpassword=a # Set rpc port access password<\/li>\n\n\n\n<li>Model=information # Set the network type of node access, where information is the test network and sandbox is the sandbox network.<\/li>\n\n\n\n<li>Rpcallowip=*. *. *. * # Set the whitelist for rpc calls<\/li>\n\n\n\n<li>Disablesafemode=# Set to disable safe mode<\/li>\n\n\n\n<li>Gen=# Set whether to run mining<\/li>\n\n\n\n<li>Restport=8999 # Set the Restful interface service port number of the node<\/li>\n\n\n\n<li>Datadir=E: ParalismNode hc data # Set the directory for storing node data<\/li>\n<\/ul>\n\n\n\n<p>The me field specifies the node IP and access port. If it is a node within a local area network, the default specified localhost address does not need to be modified. If the node network card is configured with a public IP address, in order to maximize mining efficiency, it is necessary to set the node IP to the corresponding public IP and accessible port.<\/p>\n\n\n\n<p>The seedserver field specifies the boot node required for the node to join the network and synchronize data. It needs to be used in conjunction with the model field, and the configuration reference is as follows.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-black-color has-text-color\"><tbody><tr><td>Seedsever<\/td><td>Model<\/td><td>Notes<\/td><\/tr><tr><td>47.92.69.61<\/td><td>informal<\/td><td>Paralism informal network boot node<\/td><\/tr><tr><td>39.104.20.125<\/td><td>informal<\/td><td>Paralism informal network boot node<\/td><\/tr><tr><td>39.100.12.169<\/td><td>sandbox<\/td><td>Paralism sandbox network boot node<\/td><\/tr><tr><td>39.100.22.110<\/td><td>sandbox<\/td><td>Paralism sandbox network boot node<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-pale-cyan-blue-color has-text-color has-medium-font-size\">Note: When users self-organize a private chain network, two initial nodes are configured and each other is set as the guiding node to achieve private chain deployment.<\/h2>\n\n\n\n<p>The with field specifies the loaded application module. At present, the default built-in application module includes the general distributed ledger ledger that can run without mining and the Cryptocurrency paracoin module that can run with mining. Developers can load the required modules as needed. The Paracoin module defaults to loading and running Paralism basic fuel currency Para.<\/p>\n\n\n\n<p>Datadir sets the directory for storing node data, which defaults to hc data. The directory contains block information of Cryptocurrency or ledger, module configuration file, node user wallet file and node operation log.<\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>Note: <\/strong>It is recommended to store the data in the directory hc when installing node software_ The data and node program directory are stored separately, and the data is regularly backed up to avoid blockchain data loss or wallet data loss caused by program upgrades or system software and hardware failures.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"655\" height=\"263\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/formal.cfg\u914d\u7f6e\u793a\u4f8b.png\" alt=\"\" class=\"wp-image-152\" srcset=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/formal.cfg\u914d\u7f6e\u793a\u4f8b.png 655w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/formal.cfg\u914d\u7f6e\u793a\u4f8b-300x120.png 300w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/formal.cfg\u914d\u7f6e\u793a\u4f8b-150x60.png 150w\" sizes=\"auto, (max-width: 655px) 100vw, 655px\" \/><figcaption class=\"wp-element-caption\">formal.cfg\u914d\u7f6e\u793a\u4f8b<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading has-vivid-cyan-blue-color has-text-color has-medium-font-size\">Startup<\/h2>\n\n\n\n<p>After completing the custom configuration file, enter the hc. exe &#8211; conf=formal. cfg command at the terminal command prompt to start the node according to the settings. The node process will start with a new terminal window, and when the terminal displays the &#8220;hc $&#8221; prompt, it indicates that the node software has successfully started and entered the response terminal input command state.<\/p>\n\n\n\n<p>To learn about the commands supported by the current node version, enter the help command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"482\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4-1024x482.png\" alt=\"\" class=\"wp-image-153\" srcset=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4-1024x482.png 1024w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4-300x141.png 300w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4-768x362.png 768w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4-150x71.png 150w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/help\u547d\u4ee4.png 1489w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Enter command i to learn about the node code ID and data storage directory of the mining machine.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/i\u547d\u4ee4.png\" alt=\"\" class=\"wp-image-154\" width=\"839\" height=\"158\" srcset=\"https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/i\u547d\u4ee4.png 775w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/i\u547d\u4ee4-300x57.png 300w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/i\u547d\u4ee4-768x145.png 768w, https:\/\/www.paralism.com\/info\/wp-content\/uploads\/2021\/06\/i\u547d\u4ee4-150x28.png 150w\" sizes=\"auto, (max-width: 839px) 100vw, 839px\" \/><\/figure>\n\n\n\n<p class=\"has-luminous-vivid-amber-color has-text-color\"><strong>Note: <\/strong>Closing the terminal window during node operation will cause the node program to exit<\/p>\n","protected":false},"featured_media":0,"parent":534,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-541","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/comments?post=541"}],"version-history":[{"count":1,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/541\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/541\/revisions\/543"}],"up":[{"embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/534"}],"next":[{"title":"Mining","link":"https:\/\/www.paralism.com\/info\/docs\/guidelines-for-paralism-node-cli-operation\/mining\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/545"}],"prev":[{"title":"Software and hardware configuration requirements","link":"https:\/\/www.paralism.com\/info\/docs\/guidelines-for-paralism-node-cli-operation\/software-and-hardware-configuration-requirements\/","href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/docs\/538"}],"wp:attachment":[{"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/media?parent=541"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.paralism.com\/info\/wp-json\/wp\/v2\/doc_tag?post=541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}