ubuntu安装配置网卡及防火墙配置

Posted on   风行天下-2080  阅读(1019)  评论(0编辑  收藏  举报

1、系统安装:

https://jingyan.baidu.com/article/3c48dd348bc005e10be358eb.html

2、系统更新:

https://blog.csdn.net/ezhchai/article/details/80525207

3、系统下载地址:

https://releases.ubuntu.com/xenial/

4、ubuntu系统的防火墙相关:

https://blog.csdn.net/qq_36938617/article/details/95234909?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

5、配置网络:

(1)

https://www.cnblogs.com/lishubin/p/11672037.html

https://blog.csdn.net/yangpf1910/article/details/96432979

 

 

  • ifconfig查看IP地址是否改过来,如若发现Ip地址重启网络不生效,在命令行执行
  •  

     

     ip addr flush dev eth0

          ifdown eth0

          ifup eth0

(2)配置虚拟网卡:

https://www.cnblogs.com/nulige/p/8979069.html

 6、 配置ssh远程连接

https://blog.csdn.net/zhe_csdn/article/details/90053018

7、yum与apt的区别与使用

https://blog.csdn.net/Lkeven/article/details/77100358

 8、安装docker

sudo apt install docker.io

使用docker 安装centos7镜像

https://www.runoob.com/docker/docker-install-centos.html

 9、Ubuntu16.04删除客人会话

https://blog.csdn.net/weixin_30415113/article/details/94965509

 10、ubuntu15系统使用root用户或者其它用户登录系统

https://blog.csdn.net/XiaoXiaoPengBo/article/details/78028134

 11、ubuntu安装tigervnc

https://jingyan.baidu.com/article/cbcede077f59bf02f40b4ddb.html

 12、ubuntu使用root用户无法ssh登录解决办法

https://jingyan.baidu.com/article/066074d615b8f4c3c31cb067.html

 ——————————————————————————————

配置IP及DNS

https://blog.csdn.net/jlusuperwind/article/details/4074498

一、配置ip
     ubuntu的网络配置信息放在 /etc/network/interfaces 中,
    
     如果配置动态获取ip,则在上述文件中加入以下内容:
     auto eth0
     iface eth0 inet dhcp
 
     如果配置静态ip,则添加如下内容:
     auto eth0
     iface eth0 inet static
     address 192.168.33.201
     netmask 255.255.255.0
     gateway 192.168.33.1
 
     要是配置生效,需要重启网卡:
     ifconfig eth0 down
     ifconfig eth0 up
    
     不是root,命令前面加sudo
    
     接着用ifconfig命令查看ip是否配置成功,配置成功的结果如图一所示:

 ifconfig结果
   图一 配置成功后的ip信息
 
      若还有没有配置成功,则需重启下网络服务
             /etc/init.d/networking restart
 
二、配置dns服务器
         ubuntu 的dns服务器信息,放在 /etc/resolv.conf中,
         添加dns服务器地址,如202.112.125.53,则在上述文件中加入
             nameserver  202.112.125.53
————————————————

 

1

 

编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
历史上的今天:
2018-09-28 MySQL PID错误,Mysql server PID file could not be found!
2018-09-28 Linux系统备份与还原

随笔 - 618, 文章 - 0, 评论 - 6, 阅读 - 37万

Copyright © 2025 风行天下-2080
Powered by .NET 9.0 on Kubernetes

点击右上角即可分享
微信分享提示