Position: Home page » Ethereum » Ethereum storageroot initialization

Ethereum storageroot initialization

Publish: 2021-04-26 05:44:19
1. At the top of Ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
2. Build / env.sh go run build / ci.go install. / CMD / geth
make: * * [geth] error 1
there is no such directory, or the directory has insufficient permissions
3. Temporary solution 1:
use the command ifconfig eth0 192.168.1. X to set the IP of eth0 normally. This method is only a temporary method, and it will be invalid after the system is restarted<

permanent solution 2:
1. Create ifcfg-eth0 file in / etc / sysconfig / network scripts / directory
2. Set ifcfg-eth0's device, bootproto, onboot, IPADDR, gateway, dns1, domain, netmask, network, name, etc, For example:
device = eth0 physical device name
IPADDR = 192.168.1. X IP address
netmask = 255.255.255.0 subnet mask
Network = 192.168.1.0 specified network, The gateway address
broadcast = 192.168.1.255 is automatically calculated by IP address and subnet mask, According to the IP address and subnet mask, we can automatically calculate whether the device can be activated when
onboot = [yes | no] booting
userctl = [yes | no] whether the non root user can control the device
bootproto = [none | static | BOOTP | DHCP] booting without protocol | static allocation | BOOTP | DHCP protocol
hwaddr = 00:00 13: D3: 27:9f: 80 MAC address
name = eth0 name
3. After the above settings, it can succeed under normal circumstances. If there is still a problem, add ifup eth0 to the file / etc / rc.d/rc.local (/ etc / rc.local script is executed after all other initialization scripts are executed)
4. Restart the computer, OK
other network control commands:
ifdown eth0, ifconfig eth0 down / / shut down the network
ifup eth0 Ifconfig eth0 up / / start the network
- set DNS configuration file location / etc / resolv. Conf
- set service network start / / start the network service
service network stop / / stop the network Service
srvice network restart / / restart the network service
service network status / / view the network service status
4. Shunyi New Town is located within the planning scope of Shunyi satellite city, bounded by Jianhe river in the south, Binhe Road in the west of Chao River in the East, xifengle village in the north and Beijing Chengde railway in the West. The total planned land area is 977.66 hectares, including 421.92 hectares for residential use, 144.72 hectares for public facilities, 21.51 hectares for sightseeing instry, 6.10 hectares for external transportation, 192.59 hectares for roads and squares, 9.28 hectares for municipal public facilities and 181.54 hectares for green space

development planning
function orientation. To build a hub airport connecting the international and domestic, and to build a national airport instry center and modern manufacturing base facing the world. It mainly develops the airport instry and modern manufacturing instry, and guides the development of international exchanges, exhibitions and other functions

Planning scope. Shunyi New Town is composed of Central District, airport district and Hedong new district. The current land use is 44 square kilometers, of which 18 square kilometers can be reconstructed. By 2010, the population will be controlled at 500000, and the urban construction land will be controlled at 60 square kilometers (excluding the airport and surrounding areas). By 2020, the population size will be controlled at 900000, and the land use scale will be controlled at about 103.9 square kilometers

spatial direction. Take the public transport oriented development mode, optimize and improve the functional layout of the central area and the airport area, strengthen the functional allocation between districts and groups, and guide the formation of the spatial development layout of "two axes, three districts and multiple groups". Hedong new district is a reserve for the development of new town, which is the reserved space for the long-term development of the city

short term goals. Focus on the construction of the airport economic zone, actively develop the airport instry, high-tech instry and modern manufacturing instry, and strive to create a new growth pole of the capital economy; Focusing on the construction of the central area and the airport area of the new city, further optimize the urban functional layout, so that the construction of Mapo group and each functional area of Shunyi New City has achieved initial results; Focusing on the construction of rail transit, public transport hub and other infrastructure and comprehensive ecological environment, we will improve the level of social public services, ensure the success of the water sports of the Olympic Games, and initially form a new city with characteristics of "waterfront, ecology, international, vitality and livability"

key points of construction. Do a good job in the capital airport expansion project and the construction of the Olympic Water Park; Accelerate the construction of Airport Instrial Zone, airport logistics base, airport bonded logistics center (type b), Guomen business district, automobile proction base and other functional areas; We will accelerate the implementation of key projects such as the new pavilion of China International Exhibition Center, the third phase expansion of Hyundai Motor Co., Ltd., Shougang cold rolled sheet, air cargo clearance, and customs electronic port, so as to enhance the instrial support and comprehensive economic strength of the new town; Take the traffic construction as the guide, strengthen the construction of various municipal infrastructure and public service facilities, and enhance the comprehensive service function of the new town; We should strengthen environmental protection and comprehensive ecological construction, focus on the comprehensive improvement of Chao River and the construction of Wenyu river ecological corridor, and improve the living environment quality of the new town.
5. Are your two network cards of the same model? Is there no driver on the machine
6. My ticket, San Francisco flying to Beijing and Hong Kong, has not been refunded since March 26. Qunar.com has been looking for reasons to say that Hong Kong has not been refunded. After calling Hong Kong, people say that they have refunded it in two months. They also say that the airline company has not refunded it, and 12315 complaint is useless. The reply says that the merchant has replied to me, even if the processing is completed, what is it? There's no reason? Is there room for common people to reason? Nobody cares about them? What a lawlessness?!
7. /Etc / sysconfig / network scripts / ifcfg-eth0 is just a file, not a directory. You can edit it with VI editor
VI / etc / sysconfig / network scripts / ifcfg-eth0
then press I to enter the insert mode, Start to input content:
device = eth0
bootproto = DHCP
onboot = Yes (the configuration method of DHCP is so simple)

static IP configuration:
device = eth0
bootproto = static (or none)
IPADDR = 192.168.0.1
netmask = 255.255.255.0
gateway = 192.168.0.254
onboot = yes
(the above is the configuration method of network card, Finally, restart the network card:
/ etc / init.d/network restart
8. After installing the centos7 system, the name of the network card has changed, for example
even if you don't like it, it won't affect your use. It's just a network card name<
eno16777736
1.
edit the configuration file of the network card first, and change the name device item to eth0
VIM / etc / sysconfig / network scripts / ifcfg-eno16777736

2.
rename the configuration file< br />[ root@localhost yum.repos.d]# cd /etc/sysconfig/network-scripts/
[ root@localhost Network scripts] # MV ifcfg eno16777736 ifcfg-eth0
3.
disable the predictable naming rule. For this, you can pass the kernel parameter "net. Ifnames = 0, biosdevname = 0" at startup. This is achieved by editing / etc / default / grub and adding "net. Ifnames = 0, biosdevname = 0" to grubcmdlinelinux variable< br />[ root@localhost Network scripts] # VIM / etc / default / grub

4.
run grub2-mkconfig - O / boot / Grub2 / grub.cfg to regenerate grub configuration and update kernel parameters< br />[ root@localhost Network scripts] # Grub2 mkconfig - O / boot / Grub2 / grub. CFG

5. Restart the machine, and the name of the network card becomes eth0
after the startup[ root@localhost Network scripts] # init 6

after restart, verify

restart the system and verify
the general level of technology is limited. I hope you can give me more advice in the future!
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750