zoukankan
html css js c++ java
Linux克隆修改配置文件及IP
Linux下安装基本的开发软件比较费劲,特别是安装mysql的时候,这时候就需要学会克隆及直接备份base虚拟机了,下次直接打开,修改网卡文件信息就完事。
克隆虚拟机
eth0
网卡出现的问题解决
1:
修改文件 =>[root@localhost ~]# vim /etc/udev/rules.d/70-persistent-net.rules
注释或去掉原虚拟机eth0所在的行信息,将新生成的eth1所在的行信息中的eth1改为eth0
2:
重启:start_udev
3:修改网络配置文件(ifcfg-eth0)[主要修改IPADDR]
[root@localhost ~]# vim /etc/sysconfig/network-scripts/ifcfg-eth0
base:192.168.64.10
clone:192.168.64.20
4:重启网卡 service network restart
5:
ifconfig 确认网络信息(这样同时开启不同的虚拟机就不会出现IP地址冲突了),如果IP没有更改过来,也可以重启虚拟机(reboot)解决,然后就可以用Xshell连接了。
查看全文
相关阅读:
我看Slashdot
三维地形建模工具(MultiGenParadigm公司)
街头新景:数字公交站
美国一公司开发出WiFi定位系统 比GPS更精确
理想、激情、生存—— 一位技术管理人员的20年工作经历和感悟 (ZT)
西安国际化 市场化 人文化 生态化发展报告
Google Earth Plus
Visual Studio 2003 “默认设置”快捷键
Google免费开放地图大餐
向Windows 2000道声珍重
原文地址:https://www.cnblogs.com/cao-yin/p/11558056.html
最新文章
C# 消息处理机制及自定义过滤方式
RDLC报表多页打印时的一些问题
SQL Server 系统存储过程
SQL应用中级指南 Part4:(数据字典)
SQL Server 数据库安全相关(SQL语句)
SQL应用中级指南 Part1:(事务,数据库安全)
.Net 中的反射(序章) Part.1 – (转载)
C# 多线程(lock,Monitor,Mutex,同步事件和等待句柄)
List<T>的Sort()方法,传入Comparison<T>比较器
SQL Server 数据库设计
热门文章
.Net 中的反射(查看基本类型信息) Part.2 – (转载)
SQL Server 事务、异常和游标
C1FlexGrid(行背景色随鼠标移动更改)
中文字符转换成拼音全码
求N年后农场的奶牛数量
WinForm 创建与读写配置文件
C# 多线程详解 Part.03 (定时器)
C#读取Excel文件(通过OleDb连接,把excel文件作为数据源来读取)
SQL Server 索引和视图
博客地图 = 我的博客 + 我的地图
Copyright © 2011-2022 走看看