Installing Ethereum under Ubuntu
Publish: 2021-05-07 17:19:39
1.
1.下载安装包:ethtool-3.15.tar.gz,将其放入自己的路径下,解压:tarzxvfethtool-3.15.tar.gz
2.编译安装:
cdethtool-3.15
sudo./configure
sudomake
sudomakeinstall
3.ethtool-sethX[speed10|100|1000]//设置网口速率10/100/1000M
[plexhalf|full]//设置网口半/全双工
[autonegon|off]//设置网口是否自协商
例如:ethtool-
2. sudo ./configure
sudo make
sudo make install
sudo make
sudo make install
3. There is a space in the middle: ifconfig-a network card name is not necessarily eth0, it may be other name. If you don't see the network card, it means that the system doesn't recognize it, and you need to install another driver
4. You want a network card device, right
/ etc / network / interfaces
sudo VI / etc / network / interfaces
you can edit it and replace the line about eth0 with the following line:
? The primary network interface - use DHCP to find our address
auto eth0
Iface eth0 INET DHCP
use the following command to make the network settings effective:
sudo / etc / in It.d/networking restart
you can also directly enter the following command from the command line to get the address
/ etc / network / interfaces
sudo VI / etc / network / interfaces
you can edit it and replace the line about eth0 with the following line:
? The primary network interface - use DHCP to find our address
auto eth0
Iface eth0 INET DHCP
use the following command to make the network settings effective:
sudo / etc / in It.d/networking restart
you can also directly enter the following command from the command line to get the address
5. The method to modify the IP address of Ubuntu server is as follows: edit the configuration file, add the corresponding IP address information in VIM / etc / network / interfaces, such as Iface eth0 INET static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1, save and exit.
6. 如果ethtool eth0显示的信息类似与下面Settings for eth0:Supported ports: [ TP ]Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/FullSupports auto-negotiation: YesAdvertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full说明eth0是千兆网卡,如果ethtool eth0显示的信息类似与下面Settings for eth0:Supported ports: [ TP ]Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/FullSupports auto-negotiation: YesAdvertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full说明eth0是百兆网卡对网络进行设置,可以编辑vi /etc/network/interfaces,类似与下# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopbackauto eth0 #设置eth0iface eth0 inet static address 192.168.37.76 netmask 255.255.255.0 network 192.168.37.0 broadcast 192.168.37.255 gateway 192.168.37.254 dns-nameservers 192.168.37.254 #auto eth1 #设置eth1#iface eth1 inet static#address xxx #auto eth0:1 #单网卡设置多个IP#iface eth0:1 inet static#address 192.168.1.60#netmask 255.255.255.0#network x.x.x.x#broadcast x.x.x.x#gateway x.x.x.x设置完后重启网络/etc/init.d/networking restart
7. The most convenient way to Ping is to set the working mode of virtual network card to "bridge" in the configuration of virtual machine. In this way, the virtual machine and the physical machine are in the same IP segment. The premise is that there is a route and the DHCP function is turned on. If there is no DHCP, manually set it to the same IP segment.
8. #
9. Did you restart the machine after setting
10. There is an unrecoverable error
which means that there is an error when reading and writing the virtual SCSI hard disk
I have the same problem when using the virtual machine
but it's better to restart the virtual machine
see your later supplement that the version is really low
I use the option of Ubuntu Linux
and have installed
but my version This is also on the low side, because the visual effect of 5.5 can't be opened, and many beautification effects of Ubuntu system can't be brought into play.
listen to my teacher, those above 6.0 can achieve some basic visual effects of Ubuntu
which means that there is an error when reading and writing the virtual SCSI hard disk
I have the same problem when using the virtual machine
but it's better to restart the virtual machine
see your later supplement that the version is really low
I use the option of Ubuntu Linux
and have installed
but my version This is also on the low side, because the visual effect of 5.5 can't be opened, and many beautification effects of Ubuntu system can't be brought into play.
listen to my teacher, those above 6.0 can achieve some basic visual effects of Ubuntu
Hot content
