Position: Home page » Ethereum » Centos7 Ethereum

Centos7 Ethereum

Publish: 2021-05-12 23:11:03
1. 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
2.
  1. eth0 is the default naming method for versions below 7
  2. in your system, 33 is the correct network card configuration file
  3. hope to help you, please adopt it, thank you
  4. < / OL >

    < p class = "ikqb_ image_ caption">

3. Disease analysis: certainly not, can rest assured. Guidance: HIV will be inactivated a few minutes after leaving the human body, there is no infectious. Besides, if there are any body fluids on the table, it'll be OK. I'm totally at ease. Don't think too much about the job.
4. Li Zengliang of Wu'an No.3 middle school has a da Vinci studio in the Third Street brigade. You can find it.
5. Direct VI ifcfg-eth0 to modify it ~!
6. This.. Can you try to install ifup eth0 and forget to click IPv4 and onboot< br /> This.. Can you try to install ifup eth0 and forget to click IPv4 and onboot?
7. 第一种方式
这种方式适合在安装操作系统的时候进行设置,
点击 Tab,打开kernel启动选项,

增加内核参数: net.ifnames=0 biosdevname=0

输入完成之后回车正常安装操作系统就好了
第二种方式
修改网卡配置文件中的 DEVICE= 参数的关于 eth0

[root@ansheng ~]# cd /etc/sysconfig/network-scripts/
[root@ansheng network-scripts]# vi ifcfg-eno16777728
TYPE=Ethernet
BOOTPROTO=dhcp
DEFROUTE=yes
PEERDNS=yes
PEERROUTES=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=eno16777728
UUID=8a3eade8-005c-46df-81f2-6e2598457bac
#DEVICE=eno16777728
DEVICE=eth0
ONBOOT=yes

网卡配置文件名称改为 ifcfg-eth0

[root@ansheng network-scripts]# mv ifcfg-eno16777728 ifcfg-eth0

因 CentOS7 采用 grub2 引导,还需要对 grub2 进行修改,编辑 /etc/default/grub 配置文件,在 GRUB_CMDLINE_LINUX 这个参数后面加入 net.ifnames=0 biosdevname=0

[root@ansheng network-scripts]# vi /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet net.ifnames=0 biosdevname=0"
GRUB_DISABLE_RECOVERY="true"

用 grub2-mkconfig 命令重新生成GRUB配置并更新内核

[root@ansheng network-scripts]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.10.0-327.el7.x86_64
Found initrd image: /boot/initramfs-3.10.0-327.el7.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-
Found initrd image: /boot/initramfs-0-rescue-.img
done

重启系统
[root@ansheng network-scripts]# reboot

重启之后验证网卡名称:
[root@ansheng ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.56.130 netmask 255.255.255.0 broadcast 192.168.56.255
inet6 fe80::20c:29ff:fe6d:d894 prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:6d:d8:94 txqueuelen 1000 (Ethernet)
RX packets 27413 bytes 38532163 (36.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7727 bytes 702194 (685.7 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
8. vi /etc/sysconfig/network-scripts/ifcfg-eth0 BOOTPROTO=dhcp
9. CentOS is a Linux server operating system, indicating that there is no suitable network card driver. Solution: replace the operating system or purchase the independent network card supported by CentOS system for installation
bridging is the same environment as your physical machine. How to set the physical machine and the virtual machine are also set accordingly - dynamic direct DHCP and static nmtui settings. It's a stupid graphical tool and very convenient - remember, there is no NAT hole for bridging.
10. Ifconfig - a can't see the description, and doesn't recognize the network card
lspci to see if there are network card devices

you need to download and install the network card driver, but adding ifcfg-eth0 is useless
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