Linux Ethereum node
How to use the Linux system mining, to use the service of the HA Yu miner, only need two steps, you can mine on the Linux system
-
open the website, input the mobile phone number, select how many CPUs you want to use for mining, the default is to use 50% of the CPU for mining, click to generate your exclusive command and
in two steps, you can mine on Linux system, the money you dig only needs to go to the website of hayu miner, enter your mobile phone number to withdraw< br />
A: generally, there is only one account address, otherwise there will be an error! blockchain itself is unique. If there are multiple account addresses on one node, it violates the fundamental principle of blockchain!
It is a kind of optical fiber Ethernet interface card, which transmits signals according to Ethernet communication protocol. It is generally connected with optical fiber Ethernet switch through optical cable
eth0 and eth1 are used to distinguish network card names. They have the same meaning as windows local connection 1 and local connection 2
the subnet card here is not a practical network interface, but it can flash in the system as a collection interface, such as eth0:1, eth1:2
extended data:
linux operating system embeds TCP / IP protocol stack, and protocol software has routing and forwarding function. Routing and forwarding rely on the installation of multiple network cards in the host as routers
when a network card receives a degree packet, the system kernel will query the routing table according to the destination IP address of the degree packet, then send the degree packet to another network card according to the query result, and finally send the degree packet through the network card. The process of host is the core function of router
routing function is realized by modifying Linux kernel parameters. The sysctl command is used to configure and display kernel parameters in the / proc / sys directory
for security reasons, Linux kernel forbids packet routing and forwarding by default. In Linux system, there are two ways to enable forwarding function: temporary and permanent
then VI ifcfg-eth1
according to the parameter settings in it, you can
the easiest way is if you have the installation of subset
use subset
LVS master: 192.168.2.250 (eth0) heartbeat direct connection interface: 192.168.1.250 (eth1)
LVS backup: 192.168.2.251 (eth0) heartbeat direct connection interface: 192.168.1.251 (eth1)
Web server-1: 192.168.2.252
Web server-2: 192.168.2.253
VIP (virtual IP): 192.168.2 . 254
note: four servers have been configured with LNMP (Linux + nginx + PHP (fastcgi mode) + MySQL) website running environment. Of course, Apache can also be used. Here, the primary and standby nodes are also used as real servers, so the website environment is also configured< In this paper, the configuration topology diagram is as follows:
the main and standby scheler eth1 interfaces are connected by cross lines (theoretically)
the line sequence is: one end is 568a standard: white, green, green; White orange, blue; White, blue, orange; White brown, brown
the other end is 568B standard: white orange, orange; White green, blue; White, blue, green; White brown, brown
add the following contents to / etc / hosts of LVS master node and standby node:
#vim / etc / hosts
192.168.2.250 LVS master
192.168.2.251 LVS backup
