Linux网络配置
来源:互联网 发布:java socket框架 编辑:程序博客网 时间:2024/05/01 23:13
/etc/hosts/--本地DNS--hostsname和ip綁定
/etc/networks/ ----hostsname
/etc/resolv.conf/ ---DNS
/etc/sysconfig/network-scripts /ifcfg-eth0/ ---eth (网卡)
1.setup 设置网络 (set network)
-->两个 1.DNSconfig-->mod(修改 /etc/resolv.conf/ ---DNS)
2. 设备config-->mod(修改 /etc/sysconfig/network-scripts /ifcfg-eth0/ )
2.ifup etho 或 ifconfig eth0 up 激活网卡 network
3.GUI(界面) 设置网络
4.ifconfig 查看网卡的属性
5.source /etc/hosts/ 讓設置立即生效
6.重啓網卡 service network restart
7.關閉防火墻
service iptables stop
驗證: service iptables status
8.關閉防火墻的自動運行
執行命令: chkconfig iptables off
驗證: chkconfig --list |grep iptables
9.重啟系統: reboot -h now
/etc/networks/ ----hostsname
/etc/resolv.conf/ ---DNS
/etc/sysconfig/network-scripts /ifcfg-eth0/ ---eth (网卡)
1.setup 设置网络 (set network)
-->两个 1.DNSconfig-->mod(修改 /etc/resolv.conf/ ---DNS)
2. 设备config-->mod(修改 /etc/sysconfig/network-scripts /ifcfg-eth0/ )
2.ifup etho 或 ifconfig eth0 up 激活网卡 network
3.GUI(界面) 设置网络
4.ifconfig 查看网卡的属性
5.source /etc/hosts/ 讓設置立即生效
6.重啓網卡 service network restart
7.關閉防火墻
service iptables stop
驗證: service iptables status
8.關閉防火墻的自動運行
執行命令: chkconfig iptables off
驗證: chkconfig --list |grep iptables
9.重啟系統: reboot -h now
0 0
- 网络 linux网络配置
- linux配置网络配置
- Linux网络基本网络配置
- 【网络】Linux网络相关配置
- Linux网络基本网络配置
- linux网络配置基础
- Linux网络配置
- 手动配置linux网络
- linux 网络配置
- linux 网络配置
- Linux网络配置
- Linux网络环境配置
- LINUX网络配置
- Linux 网络配置ifconfig
- linux网络配置
- Linux 网络配置
- linux 网络配置
- redhat linux网络配置
- Java语言学习总结-1
- 关于RecyclerView的简单应用教程
- 异常控制流
- Android开发——Bluetooth(二)
- Java中文转拼音
- Linux网络配置
- 循环语句(for循环,while循环,do-while循环)
- git命令之git mergetool vi非正常退出.swp删除不了的问题
- VS2010-MFC下在状态栏中添加进度条用于显示当前文件的读取进度
- ubuntu中ssh-server的安装与开机启动
- POJ 3061 Subsequence【尺取法】
- unity 下载纹理,并设置成指定的尺寸
- ESP8266的SDK开发入门教程
- uva371 Ackermann Functions