手动安装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)
上一篇 2022年5月9日 下午3:40
下一篇 2022年5月9日 下午4:00


相关推荐

  • Pycharm Professional激活成功教程(windows,mac)

    Pycharm Professional激活成功教程(windows,mac)激活码 EB101IWSWD eyJsaWNlbnNl

    2026年3月18日
    2
  • 你不知道的 Claude Code:架构、治理与工程实践

    你不知道的 Claude Code:架构、治理与工程实践

    2026年3月13日
    1
  • 互联网金融风控模型

    互联网金融风控模型一、市场调研目前市面主流的风控模型1、互联网金融前10名排行榜(数据截止日期2017-09-12)互联网金融公司排名分别是蚂蚁金服、陆金所、京东金融、苏宁金融、百度金融、腾讯理财通、宜信、钱大掌柜、万达金融和网易理财。1.1蚂蚁金服1.1.1大数据技术对接第三方征信公司芝麻信用分,通过用户信用历史、行为偏好、履约能力、身份特质、人脉关系五个维度对…

    2022年6月14日
    25
  • IDEA格式化代码快捷键失灵原因

    IDEA格式化代码快捷键失灵原因今天做代码优化时发现格式化代码快捷键不好使了各种找原因 最后发现是与网易云音乐快捷键冲突解决办法 1 关闭网易云音乐 nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp 2 修改网易云音乐快捷键

    2026年3月16日
    2
  • WinForm–CheckedListBox数据绑定

    WinForm–CheckedListBox数据绑定虽然点的时候没有提示 但是 CheckedListB 也是支持像 ComboBox 一样的数据绑定的 nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp cblBtn DataSource dt nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp cblBtn DisplayMembe AAA nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp nbsp cblBtn ValueMember BBB 不过在取这些值的时候稍有不同 不能直接通过 Item

    2026年3月19日
    2
  • ActiveMQ、RabbitMQ、kafka的区别

    ActiveMQ、RabbitMQ、kafka的区别ActiveMQActi 的优点是遵循 JMS 规范 缺点是可能丢失了信息 不维护了 ActiveMQ 支持 AMQP OPENWIRE stomp xmpp 协议 适用于中小型企业 不适合千个队列以上的应用 RabbitMQRabb 的优点是继承 erlang 的并发性 稳定 安全性号 缺点是 erlang 语言不支持动态扩展 RabbitMQ 支持 AMQP 协议 适合稳定性高的企业级

    2026年3月17日
    2

发表回复

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

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