In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
# check whether the automatic optimization is successful. Can ssh log in to root@Qist:~# ssh 192.168.3.63Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-66-generic x86q64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantageLast login: Wed Oct 23 17:15:12 2019root@ubuntu-18: ~ # # can log in successfully # whether the dns is set successfully # if not, the root@ubuntu-18:~# more / etc/systemd/resolved.conf# This file is part of systemd.## systemd is free software that cannot be connected to the public network with a domain name is not set You can redistribute it and/or modify it# under the terms of the GNU Lesser General Public License as published by# the Free Software Foundation Either version 2.1 of the License Or# (at your option) any later version.## Entries in this file show the compile time defaults.# You can change settings by editing this file.# Defaults can be restored by simply deleting this file.## See resolved.conf (5) for details [Resolve] # DNS=#FallbackDNS=#Domains=#LLMNR=no#MulticastDNS=no#DNSSEC=no#Cache=yes#DNSStubListener=yesDNS=192.168.1.169DNS=192.168.1.8root@ubuntu-18:~# ping qq.comPING qq.com (58.60.9.21) 56 (84) bytes of data.64 bytes From 58.60.9.21 (58.60.9.21): icmp_seq=1 ttl=53 time=7.02 ms64 bytes from 58.60.9.21 (58.60.9.21): icmp_seq=2 ttl=53 time=6.98 ms# static IP settings apt install vim-y # modify vim configuration turn off automatic indentation Otherwise, modifying the yaml file will automatically indent and mislead. Before pasting the data, enter the following to specify to turn on paste mode: after set paste is pasted Enter the following to specify turn off paste mode: set nopastevim / etc/netplan/01-netcfg.yamlnetwork: version: 2 renderer: networkd ethernets: ens3: dhcp4: no addresses: [192.168.3.63 dhcp6 23] gateway4: 192.168.2.2 dhcp6: yes# check the configuration for errors netplan tryroot@ubuntu-18:~# netplan tryDo you want to keep these settings?Press ENTER before the timeout to Accept the new configurationChanges will revert in 116secondsConfiguration accepted.# refresh configuration netplan applyroot@ubuntu-18:~# route-nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface0.0.0.0 192.168.2.2 0.0.0.0 UG 10000 ens3192.168.2.0 0.0.0.0 255.255.254.0 U 00 ens3192.168.2.2 0.0.0.0 255.255.255.255 UH 10000 ens3root@ubuntu-18:~#root@ubuntu-18:~# netplan tryDo you want to keep these settings?Press ENTER before the timeout to accept the new configurationChanges will revert in 120 secondsConfiguration accepted.root@ubuntu-18:~# netplan applyroot@ubuntu-18:~# route-nKernel IP routing tableDestination Gateway Genmask Flags Metric Ref Use Iface0.0.0.0 192.168.2.2 0.0.0.0 UG 0 0 0 ens3192.168.2.0 0.0.0.0 255.255.254.0 U 0 0 0 ens3
Root@Qist:~# ssh 192.168.3.63The authenticity of host '192.168.3.63 (192.168.3.63)' can't be established.ECDSA key fingerprint is SHA256:ENH403+PiVDKHbLyGZrgZ/7TeReYpyBsekTxP+lzzNQ.Are you sure you want to continue connecting (yes/no)? YesWarning: Permanently added '192.168.3.63' (ECDSA) to the list of known hosts.Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-19-generic x86'64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantageLast login: Wed Oct 23 18:03:44 2019root@ubuntu-19:~##ubuntu-19 Network Settings reference 18 # Cobbler+preseed automatic installation of Ubuntu18/19 system completed
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.