通过ubuntu 16.04 amd64 LTS 系统安装eveng
1、我们以root权限登录系统
sudo su
2、修改root账号的密码(此处可以根据自己的需求进行修改或者不修改)
sudo passwd root
root@eve-ng:~# sudo passwd root
Enter new UNIX password: eve
Retype new UNIX password: eve
passwd: password updated successfully
3、安装vim编辑器应用程序
apt-get install vim
4、修改hosts文件,让本机名称解析到本地IP地址
vim /etc/hostname
eve-ng
vim /etc/hosts
127.0.0.1 localhost
127.0.1.1 eve-ng.example.com eve-ng
5、允许以root用户登录SSH
sed -i -e "s/PermitRootLogin .*/PermitRootLogin yes/" /etc/ssh/sshd_config
允许密码认证
sed -i -e "s/PasswordAuthentication .*/PasswordAuthentication yes/" /etc/ssh/sshd_config
6、保存设置(ctrl + o,ctrl + x)并重新启动ssh服务
sudo service ssh restart
7、重新生成GRUB的启动菜单配置文件
1: sed -i -e 's/GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 noquiet"/' /etc/default/grub
2: update-grub
8、重要! ! !配置服务器的IP地址(建议使用静态IP)。! ! !警告! ! !在GRUB更新改变接口名称到ethX后,原来的名字在第一次启动后将不会工作! !!!!您必须编辑以下接口并重新启动! !! 将原始接口名称更改为eth0
9、安装万兆网卡驱动(如果有万兆网卡,请执行此操作)
apt-get install firmware-bnx2x
10、保存以上所有操作步骤并reboot服务器
11、从repo获取EVE Key
wget http://www.eve-ng.net/repo/eczema@ecze.com.gpg.key
apt-key add eczema@ecze.com.gpg.key
12、获取服务器更新
apt-get update
apt-get -y install software-properties-common
add-apt-repository "deb [arch=amd64] http://www.eve-ng.net/repo xenial main"
apt-get update
13、安装EVE
apt-get -y install eve-ng
14、复制broadcom firmware。
broadcom firmware
cp -rp /lib/firmware/$(uname -r)/bnx2 /lib/firmware/
15、重启服务器、并登陆系统操作界面,按照步骤安装EVE(安装步骤)。
16、升级更新EVE。
apt-get update
apt-get upgrade
17、安装docker
apt-get install eve-ng-dockers
查看已经下载的镜像
dc images
评论已关闭