手动安装EVE-NG模拟器「建议收藏」

手动安装EVE-NG模拟器「建议收藏」系统使用ubuntu16.04LTS版EVE-NG使用APT方式安装一、Ubuntu系统安装步骤:>Option:*InstallUbuntuServer>Language:English>Location:UnitedStates>Configurekeyboard:No>Configurekeyboard:English(US)…

大家好,又见面了,我是你们的朋友全栈君。

系统使用ubuntu16.04LTS版

EVE-NG使用APT方式安装

一、Ubuntu 系统安装步骤:

> Option: * Install Ubuntu Server

> Language: English

> Location: United States

> Configure keyboard: No

> Configure keyboard: English (US)

> Keyboard layout: English (US)

> if your server is connected to LAN with DHCP, the all will continues automatically, if not please setup IP/mask/GW and DNS IPs manually

> hostname: eve-ng

> Domain name (if you don’t have, make it example.com)

> fullname of user: user (example, this will be used first time login in to Ubuntu)

> username of your account: user

> password: enter password, confirm enter password again

> use weak password: YES

> Encrypt your home directory: NO

> Configure Clock: YES, if your DNS IP is set right or server got it from your DHCP, time zone will sets automatically

> Partition disks: use entire disk and setup LVM

> Partition disks: Choose your main HDD were ubuntu will be installed. Usually it will be single HDD, if your raid is set right.

> Write changes to disk and create LVM: YES

> Amount of volume: leave all offered size

> Force UEFI Installation: YES

> Write changes to disk: YES

> http proxy: NO, if you have such, please configure it for internet reachability

> Configuring task: Install security updates automatically

> Software selection: IMPORTANT: select Open SSH server (mark with spacebar)

> Install GRUB boot loader: YES

> remove from your server Ubuntu install media and reboot server

二、在安装Ubuntu服务器之后,按照下面的步骤来安装EVE。选择主机名作为eve-ng。

1. 使用root用户登录系统

sudo su

2. 修改root用户密码

root@eve-ng:~# sudo passwd root

Enter new UNIX password: eve

Retype new UNIX password: eve

passwd: password updated successfully

3. 为了方便使用EVE,安装vim编辑器应用程序。

apt-get install vim

4. 如果您在Ubuntu安装过程中没有设置主机名,请更改它并按照如下内容修改文件,然后保存设置(ctrl+o,ctrl+x):

vi /etc/hostname 

eve-ng

vi /etc/hosts

127.0.0.1       localhost

127.0.1.1       eve-ng.example.com      eve-ng

5. 允许使用root用户以ssh方式访问服务器,编辑下面内容:

vi /etc/ssh/sshd_config

PermitRootLogin prohibit-password

to

PermitRootLogin yes

6. 保存设置(ctrl+o, ctrl+x) 并且重启服务。

sudo service ssh restart

7. 修改配置文件

(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,遵循Linux Ubuntu如何为接口设置stat IP。下面的示例展示DHCP IP设置。

! ! !警告! ! !在GRUB更新后将接口名称更改为ethX后,第一次启动后的原始名称将不会工作! ! !您必须在下面编辑接口并重新启动! ! !

将原来的接口名称改为eth0

vi /etc/network/interfaces

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

# The loopback network interface

auto loiface lo inet loopback

# The primary network interface

auto eth0

iface eth0 inet dhcp


(1)10 Gb接口的选项! ! !不需要在常规服务器上安装它。Broadcom接口NetXtreme II 10 Gb,对于普通服务器来说不是必需的:

apt-get install firmware-bnx2x

9. 保存设置并重启系统

reboot

10. 从注册中心获取eve密钥:

wget -O – http://www.eve-ng.net/repo/eczema@ecze.com.gpg.key | sudo apt-key add –

11. 更新系统

apt-get update

sudo add-apt-repository “deb [arch=amd64]  http://www.eve-ng.net/repo xenial main”

apt-get update

12. 安装 EVE:

DEBIAN_FRONTEND=noninteractive apt-get -y install eve-ng

13. 复制broadcom固件

cp -rp /lib/firmware/$(uname -r)/bnx2 /lib/firmware/

14. 关闭您的会话,并与root用户重新登录到EVE,并遵循安装向导:

http://www.eve-ng.net/index.php/documentation/howto-s/65-howto-configure-eve-during-first-boot

15. 更新 EVE的版本:

apt-get update

apt-get upgrade

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/141592.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • 卸载360天擎企业版需要密码吗_360天擎密码是什么

    卸载360天擎企业版需要密码吗_360天擎密码是什么不要用什么网上用的粉碎文件软件粉碎文件,根本粉碎不掉。直接进入电脑安全模式什么都能删什么都卸载。卸载360天擎需要先进入安装目录找到EntClient文件夹,删完以后就不需要密码能直接卸载了。粗暴一点的方法直接把整个安装目录删了(但一般不建议这样做)如何进入安全模式查看下面文章https://baijiahao.baidu.com/s?id=1636641696071912488&wfr=spider&for=pc…

    2022年9月25日
    2
  • Qt面试题整理

    Qt面试题整理1、Qt信号槽机制的优势(1)类型安全。需要关联的信号和槽的签名必须是等同的,即信号的参数类型和参数个数同接收该信号的槽的参数类型和参数个数相同。不过,一个槽的参数个数是可以少于信号的参数个数的,但缺少的参数必须是信号参数的最后一个或几个参数。如果信号和槽的签名不符,编译器就会报错。(2)松散耦合。信号和槽机制减弱了Qt对象的耦合度。激发信号的Qt对象无需知道是哪个对象的哪个槽需要接收它发出的…

    2022年6月25日
    95
  • pythoncharm注释快捷键_多行注释以什么开头

    pythoncharm注释快捷键_多行注释以什么开头PyCharm多行注释快捷键为Ctrl+/。

    2022年8月29日
    3
  • hdu 2159 FATE

    hdu 2159 FATE

    2022年1月6日
    43
  • 子串在父串中出现的次数PosCount

    子串在父串中出现的次数PosCount

    2021年8月7日
    58
  • linux查看ttys0的设置_centos查看文件内容的命令是

    linux查看ttys0的设置_centos查看文件内容的命令是准备工具0.下载ttylinux系统。http://minimalinux.org/ttylinux/downloadX86.html(ttylinux-i686-11.1.iso.gz)(bootcd-i386-5.3.iso.gz)1.下载thttpd。(一)ttylinux安装(ttylinux-i686-11.1.iso)1.将ttylinux-i686-11.1.iso.gz解压t…

    2022年8月12日
    9

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号