Position: Home page » Ethereum » Configuration of Ethereum in Ubuntu 20

Configuration of Ethereum in Ubuntu 20

Publish: 2021-05-20 03:10:44
1. Copy an existing configuration file and change it to eth1, then change it to the IP in it

for example, the existing / etc / sysconfig / network scripts / eth0
can be roughly as follows:

device = eth0
onboot = yes
bootproto = static
iPad Dr = 192.168.1.20
netmask = 255.255.255.0
gateway = 192.168.1.255

an existing configuration file and change it to eth1 iPad If Dr is changed to 192.168.1.21, an eth1 with IP 192.168.1.21 will appear
2.

See the article:

< pre t = "code" L = "HTML" > http://www.yyearth.com/article/14-04/network.html
3.

The network configuration files of Ubuntu mainly include: IP address configuration file, host name configuration file and DNS configuration file. The solution is as follows:

1. First check the initial network state

4.

“ Online delivery & quot; With low threshold, time freedom and other factors, it has become a career choice for many people; I'll be a rider in the future;, It's also popular among college students. It's worth noting that online delivery workers are not only the best choice for their careers, but also the second choice for many people. In fact, the takeout platform is a commercial company. Don't think much about this kind of platform. The distribution of takeout platform is not as simple as you think. From a general view, the rules for businesses, Basically, it keeps changing year by year. Basically, it is to increase the cost of the platform, from the initial 7% to the present 23%, which makes the businesses feel helpless. Perhaps, in the face of higher and higher delivery fees, unmanned delivery is a good choice

an expert from the Academy of Social Sciences once said that there are three obvious characteristics of takeout work, namely, labor-intensive, scattered working hours, and strong algorithm intermediary. Similar to construction workers, workshop workers, and garment processing workers, takeout work is more efficient; Fashion & quot;, But it still can't escape the curse of labor-intensive work, that is, long labor time, high density and high pressure. The whole work process of takeout brother is also subject to the strict background algorithm; Discipline & quot

careful users will find that there is a small number on the arm of some takeaway operators. This number function is similar to a GPS, which can connect the corresponding delivery personnel with the intelligent logistics scheling system. It can not only monitor the delivery route and geographical position of the delivery personnel at any time, but also prompt them when they deviate from the track. Therefore, it management of the delivery personnel is realized, Generally speaking, artificial intelligence is a branch of computer science, which is used to study the laws of human intelligent activities.

it is equivalent to using the basic theories, methods and technologies of computer software and hardware to simulate some intelligent behaviors of human beings to construct an artificial system with certain intelligence, so that the computer can liberate the hard work of human beings. The main research fields include robots, robots, computers, etc Machine learning, computer vision, image recognition, natural language processing and expert system, artificial intelligence has experienced three upsurges since it was officially named at the Dartmouth academic conference in 1956. Now we see that as the world moves towards the digital era, the digital technology represented by cloud computing, big data, artificial intelligence and blockchain has brought great benefits to the society Economy and indivials have brought revolutionary changes,

but all digital and intelligent technologies are aimed at making machines learn, think and express in the way of human beings, and assisting human beings to make work, study and life more simple, convenient and efficient. So what is the logic behind the intelligent distribution system? Is the algorithm forcing takeaway riders to run at high speed against the risk of speeding? What is the relationship between algorithm world and human

In order to make the future optimization more accurate, once the delivery time of the rider becomes faster, the system will judge that the time required for this journey can be shortened. In the future, the system may adjust the expected delivery time, but it depends on the optimization goal in the delivery, that is to say, such an algorithm is not intended to be anti human. Objectively, whether it is 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 minutes, 5 The 10 minute small button or the 8-minute flexible time are both expedient measures, rather than drastic measures. Even if the requirement of long delivery time goes back to the pre liberation one night, this phenomenon can hardly be eliminated. After all, the takeout boy himself has the demand to receive more orders and make more money

5. Raid (rendant array of Independent Disks) refers to the combination of multiple independent hard disks (yellow storage area in the figure) into a larger logical array (storage area with slash). Data is stored on this array of disks with additional rendant information. Rendant information can be the data itself (mirror)
6. #
7. It's not high

linux system is very stable and efficient, and has low requirements for computer hardware configuration, which is the advantage of Linux system. Different versions of Linux system have slightly different requirements, but they are generally in the same configuration level, and the current mainstream configuration can easily run Linux system. Users can refer to the following configuration requirements of Ubuntu:

I Minimum configuration of Ubuntu:

after turning off special "visual effects" in appearance preferences, the following configuration can run Ubuntu smoothly:
CPU: 700 MHz
memory: 384 MB
hard disk: 6 GB of free space
graphics card: resolution above 800x600< 2. Recommended configuration for Ubuntu:
with the following hardware configuration, you can turn on the visual effects and make the computer proce beautiful and attractive effects:
CPU: 1.2 GHz
memory: 512 MB
hard disk: 8 GB of free space
graphics card: resolution above 1024x768.
8. Method / step

method 1. Use the graph line interface setting, which is the simplest. IP, subnet mask, gateway and DNS can be set easily. Permanent preservation

method 2: use the command mode to temporarily modify the IP and subnet mask of the network card, which will be lost after restarting the network$ Sudo ifconfig eth0 192.168.1.1 netmask 255.255.255.0

View gateway, command $route - N
Modify gateway $sudo route add default gw 192.168.0.1

View DNS, use nm tool command $ns tool

method 3, modify network card configuration file, this is the most important way, can be permanently saved
note that it is not / etc / resolv.conf, but / etc / network / interfaces
enter the command $sudo nano / etc / network / interfaces
Enter:
auto eth0
Iface eth0 INET static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
Ctrl + X save exit

enter the command $sudo nano / etc / resolvconf / resolv. Conf.d/base
Modify DNS
9. 多个不同IP段的 /etc/network/interfaces 配置文件的范例如下:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 8.8.8.2
netmask 255.255.255.248
gateway 8.8.8.1 要注意这里,多个不同IP段,只要1个gateway配置即可,其他IP不需要配置gateway

auto eth0:0
iface eth0:0 inet static
address 8.8.8.3
netmask 255.255.255.248

auto eth0:1
iface eth0:1 inet static
address 8.8.8.4
netmask 255.255.255.248

auto eth0:2
iface eth0:2 inet static
address 8.8.8.5
netmask 255.255.255.248

auto eth0:3
iface eth0:3 inet static
address 8.8.8.6
netmask 255.255.255.248

auto eth0:4
iface eth0:4 inet static
address 6.6.6.130 注意这里,虽然这是不同的IP段,但是不需要配置gateway,只需要配置netmask即可
netmask 255.255.255.224

auto eth0:5
iface eth0:5 inet static
address 6.6.6.131
netmask 255.255.255.224

更多ip也类似配置即可
配置文件完成后,用命令 /etc/init.d/networking restart 重启网络,不需要reboot重启服务器 /etc/init.d/networking restart 重启网络的时候,如果你的配置文件有错误,那么他会提示你比如IP重复了,书写错误了,等等在执行此命令前,一定要小心检查interfaces配置文件,不然可能就把网络弄瘫痪,那时候就需要机房的工作人员去处理,十分麻烦

/etc/init.d/networking restart错误分析案例:
[email protected]:/etc/network# /etc/init.d/networking restart
* Reconfiguring network interfaces...
/etc/network/interfaces:165: interface eth0:28 declared allow-auto twice
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:165: interface eth0:28 declared allow-auto twice
ifup: couldn't read interfaces file "/etc/network/interfaces"
...fail!

说明eth0:28有重复,解决办法:vi interfaces找到eth0:28,删除掉重复的

[email protected]:/etc/network# /etc/init.d/networking restart
* Reconfiguring network interfaces...
/etc/network/interfaces:166: plicate interface
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:166: plicate interface
ifup: couldn't read interfaces file "/etc/network/interfaces"
...fail!

说明166行有重复,解决办法:vi interfaces找到166行(set number),删除掉重复的

[email protected]:/etc/network# /etc/init.d/networking restart
* Reconfiguring network interfaces...
/etc/network/interfaces:162: plicate interface
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:162: plicate interface
ifup: couldn't read interfaces file "/etc/network/interfaces"

说明162行有重复,解决办法:vi interfaces找到166行(set number),删除掉重复的
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