安徽网站排名中和seo公司
- 作者: 五速梦信息网
- 时间: 2026年03月21日 10:02
当前位置: 首页 > news >正文
安徽网站排名,中和seo公司,seo网站搭建是什么,手机网站制作合同文章目录 Ubuntu Server 22.04.5 从零到一#xff1a;详尽安装部署指南一、部署环境二、安装系统2.1 安装2.1.1 选择安装方式2.1.2 选择语言2.1.3 选择不更新2.1.4 选择键盘标准2.1.5 选择安装版本2.1.6 设置网卡2.1.7 配置代理2.1.8 设置镜像源2.1.9 选择装系统的硬盘2.1.10 … 文章目录 Ubuntu Server 22.04.5 从零到一详尽安装部署指南一、部署环境二、安装系统2.1 安装2.1.1 选择安装方式2.1.2 选择语言2.1.3 选择不更新2.1.4 选择键盘标准2.1.5 选择安装版本2.1.6 设置网卡2.1.7 配置代理2.1.8 设置镜像源2.1.9 选择装系统的硬盘2.1.10 硬盘分区2.1.11 基本配置2.1.12 升级Ubuntu pro2.1.13 开启ssh服务2.1.14 服务快照2.1.15 系统自动执行安装2.1.16 重启2.1.17 登录系统2.1.18 进入系统 三、系统设置3.1 安装网络管理工具3.2 配置ip3.2.1 进入到/etc/netplan/3.2.2 备份网卡配置文件3.2.3 查看网卡别名3.2.4 修改网卡配置文件3.2.5 重启网卡 3.3 重启服务器 Ubuntu Server 22.04.5 从零到一详尽安装部署指南
一、部署环境
名称软件版本号操作系统Ubuntu Server22.04.5
二、安装系统
2.1 安装
2.1.1 选择安装方式
安装方式选第一条。 2.1.2 选择语言
建议英语报错时比较好百度中文版报错不容易搜索。 2.1.3 选择不更新 2.1.4 选择键盘标准
默认即可。 2.1.5 选择安装版本
选择安装版本为标准server键盘方向键控制光标空格键选中。 2.1.6 设置网卡
联网环境下稍稍等待一下即可自动获取到IP地址。 2.1.7 配置代理
没特殊需求不用理直接下一步。 2.1.8 设置镜像源
后面可以设置这里直接下一步。 2.1.9 选择装系统的硬盘
多块硬盘时需要进行选择。 2.1.10 硬盘分区
默认即可。 2.1.11 基本配置
设置名字、主机名、用户名设置用户名密码。 2.1.12 升级Ubuntu pro
不升级选择跳过。默认选项即是跳过。Skip 2.1.13 开启ssh服务
这个建议开启否则还需进系统修改比较麻烦。空格选中。 2.1.14 服务快照
这里不做选择直接下一步。 2.1.15 系统自动执行安装
等待进度结束点击重启即可。 2.1.16 重启
点击重启等待服务器自动重启。 2.1.17 登录系统
输入先前自己设置的用户名与密码。密码为不可见状态输入完直接Enter。 2.1.18 进入系统 三、系统设置
进入系统后可使用ip add命令查看现有ip与网卡名称再通过终端工具连接我使用SecureCRT进行连接。
3.1 安装网络管理工具
supermank8s-master:$ sudo apt install net-tools
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:net-tools
0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
Need to get 204 kB of archives.
After this operation, 819 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 net-tools amd64 1.60git20181103.0eebece-1ubuntu5 [204 kB]
Fetched 204 kB in 1s (256 kB/s)
Selecting previously unselected package net-tools.
(Reading database … 74796 files and directories currently installed.)
Preparing to unpack …/net-tools_1.60git20181103.0eebece-1ubuntu5_amd64.deb …
Unpacking net-tools (1.60git20181103.0eebece-1ubuntu5) …
Setting up net-tools (1.60git20181103.0eebece-1ubuntu5) …
Processing triggers for man-db (2.10.2-1) …
Scanning processes…
Scanning linux images… Running kernel seems to be up-to-date.No services need to be restarted.No containers need to be restarted.No user sessions are running outdated binaries.No VM guests are running outdated hypervisor (qemu) binaries on this host.
supermank8s-master:\( 3.2 配置ip
3.2.1 进入到/etc/netplan/
supermank8s-master:~\) cd /etc/netplan/
supermank8s-master:/etc/netplan\(
supermank8s-master:/etc/netplan\) ls
50-cloud-init.yaml
supermank8s-master:/etc/netplan\(3.2.2 备份网卡配置文件
此目录下有一个为.yaml的文件此文件为网卡配置文件修改现有配置文件名称为.bak如50-cloud-init.yaml修改为50-cloud-init.yaml.bak
supermank8s-master:/etc/netplan\) sudo mv 50-cloud-init.yaml 50-cloud-init.yaml.bak
[sudo] password for superman:
supermank8s-master:/etc/netplan\( 3.2.3 查看网卡别名
supermank8s-master:/etc/netplan\) ifconfig
ens33: flags4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500inet 192.168.1.129 netmask 255.255.255.0 broadcast 192.168.1.255inet6 fe80::20c:29ff:fe1b:4d1 prefixlen 64 scopeid 0x20linkether 00:0c:29:1b:04:d1 txqueuelen 1000 (Ethernet)RX packets 2089 bytes 732805 (732.8 KB)RX errors 0 dropped 0 overruns 0 frame 0TX packets 1371 bytes 248989 (248.9 KB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags73UP,LOOPBACK,RUNNING mtu 65536inet 127.0.0.1 netmask 255.0.0.0inet6 ::1 prefixlen 128 scopeid 0x10hostloop txqueuelen 1000 (Local Loopback)RX packets 200 bytes 16264 (16.2 KB)RX errors 0 dropped 0 overruns 0 frame 0TX packets 200 bytes 16264 (16.2 KB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0supermank8s-master:/etc/netplan\(3.2.4 修改网卡配置文件
supermank8s-master:/etc/netplan\) sudo vim 01-netcfg.yamlnetwork:version: 2renderer: networkdethernets:ens33:dhcp4: noaddresses:- 192.168.1.131/24gateway4: 192.168.1.1nameservers:addresses: [202.102.224.68,202.102.227.68]保存退出–先按一下esc然后输入“:wq”点击“Enter”。
说明 ens33 —为服务器的网卡名称。 192.168.1.131⁄24 —为此台服务器的ip/子网掩码。 gateway4: 192.168.1.1 —网关。 addresses: [202.102.224.68,202.102.227.68] —是DNS不需要连外网可以不设。
3.2.5 重启网卡
supermank8s-master:/etc/netplan\( sudo netplan apply** (generate:2340): WARNING **: 11:02:18.289: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.** (generate:2340): WARNING **: 11:02:18.289: gateway4 has been deprecated, use default routes instead.
See the Default routes section of the documentation for more details.
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.** (process:2338): WARNING **: 11:02:18.709: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.** (process:2338): WARNING **: 11:02:18.709: gateway4 has been deprecated, use default routes instead.
See the Default routes section of the documentation for more details.** (process:2338): WARNING **: 11:02:19.022: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.** (process:2338): WARNING **: 11:02:19.022: gateway4 has been deprecated, use default routes instead.
See the Default routes section of the documentation for more details.** (process:2338): WARNING **: 11:02:19.022: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.** (process:2338): WARNING **: 11:02:19.022: gateway4 has been deprecated, use default routes instead.
See the Default routes section of the documentation for more details.
supermank8s-master:/etc/netplan\)
supermank8s-master:/etc/netplan\( ifconfig -a
ens33: flags4163UP,BROADCAST,RUNNING,MULTICAST mtu 1500inet 192.168.1.131 netmask 255.255.255.0 broadcast 192.168.1.255inet6 fe80::20c:29ff:fe1b:4d1 prefixlen 64 scopeid 0x20linkether 00:0c:29:1b:04:d1 txqueuelen 1000 (Ethernet)RX packets 6208 bytes 1186753 (1.1 MB)RX errors 0 dropped 0 overruns 0 frame 0TX packets 4710 bytes 932202 (932.2 KB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0lo: flags73UP,LOOPBACK,RUNNING mtu 65536inet 127.0.0.1 netmask 255.0.0.0inet6 ::1 prefixlen 128 scopeid 0x10hostloop txqueuelen 1000 (Local Loopback)RX packets 200 bytes 16264 (16.2 KB)RX errors 0 dropped 0 overruns 0 frame 0TX packets 200 bytes 16264 (16.2 KB)TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0supermank8s-master:~\) 3.3 重启服务器
supermank8s-master:/etc/netplan$ sudo reboot原文链接https://mp.weixin.qq.com/s/RXTCuWTj-mP2fXZ5qFx6MA 点赞你的认可是我创作的动力 ⭐️ 收藏你的青睐是我努力的方向 ✏️ 评论你的意见是我进步的财富
- 上一篇: 安徽网站建设优化推广wordpress主题透明
- 下一篇: 安徽鑫华建设有限公司网站怎样给网站做app
相关文章
-
安徽网站建设优化推广wordpress主题透明
安徽网站建设优化推广wordpress主题透明
- 技术栈
- 2026年03月21日
-
安徽网站建设网站运营营销策划公司经营范围包括哪些
安徽网站建设网站运营营销策划公司经营范围包括哪些
- 技术栈
- 2026年03月21日
-
安徽网站建设论坛烟台外贸网站建设公司
安徽网站建设论坛烟台外贸网站建设公司
- 技术栈
- 2026年03月21日
-
安徽鑫华建设有限公司网站怎样给网站做app
安徽鑫华建设有限公司网站怎样给网站做app
- 技术栈
- 2026年03月21日
-
安徽住房和城乡建设厅注册网站青岛网站域名备案
安徽住房和城乡建设厅注册网站青岛网站域名备案
- 技术栈
- 2026年03月21日
-
安徽做网站电话南阳卧龙区2015网站建设价格
安徽做网站电话南阳卧龙区2015网站建设价格
- 技术栈
- 2026年03月21日






