centos 6.7
查看ifconfig 發現沒有網卡
然後設置: ifconfig eth1 up
查看ifconfig 得到mac地址
修改文件 /etc/systemconfig/network-scripts/ifcfg-eth0
改名爲ifcfg-eth1
打開文件:1.更改名字爲eth1
2.刪除UUID
3.更改MAC地址
centos 6.9
在/etc/udev/rui.d下面的70~net~文件
在網絡設置部分刪除網卡,重新添加配置
Linux環境下安裝Elasticsearch(因爲Elasticsearch需要jdk1.8或更高的版本纔可以運行)提前下載tar.gz相關文件,下載地址:https://www.elastic.co/downloads/elastic