Ubuntu Ethereum installation tutorial
Publish: 2021-05-01 07:02:04
1. According to the requirements of the manual, first measure whether the red and green lines correspond to the L1 of the interface; Is the yellow and black line corresponding to L2? If so, it must be the correct connection. Although the telephone line can be divided into positive and negative poles, the terminals can be connected at will, so there is a rectifier directional circuit inside the telephone. Even if the L1 and L2 lines are wrongly connected, the equipment will not be burnt out, so you can safely and boldly test.
2.
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 />
3.
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-
4. 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
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
5.
See the article:
< pre t = "code" L = "HTML" > http://www.yyearth.com/article/14-04/network.html6. sudo ./configure
sudo make
sudo make install
sudo make
sudo make install
7. 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
8. How many network cards do you have? The cable network card starts from eth0.
9. 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.
10. 如果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
Hot content
