手动安装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)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • python趣味编程100例pdf(python简单实例)

    1#题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在第10次落地时,共经过多少米?第10次反弹多高?代码:23h=04li=[]5foriinrange(1,11):6s=100/(2**(i-1))7li.append(s)89forxinli:10h+=x11print(li)12print(…

    2022年4月17日
    220
  • UVA 12230 – Crossing Rivers(概率)

    UVA 12230 – Crossing Rivers(概率)

    2021年12月5日
    42
  • JAVA合法标识符

    JAVA合法标识符Java语言中,对于变量,常量,函数,语句块均有名字,我们统统称之为Java标识符.标识符是用来给类、对象、方法、变量、接口和自定义数据类型命名的。标识符组成Java标识符由数字,字母和下划线(_),美元符号($)组成。此处的字母并不局限于26个英文字母,而且可以包含中文字符、日文字符等。Java语言支持Unicode6.2.0字符集,因此Java的标识符可以使用Unicode6.

    2022年7月8日
    20
  • linux下,查看redis版本号,一行命令搞定。[通俗易懂]

    linux下,查看redis版本号,一行命令搞定。[通俗易懂]进入redis部署目录,输入命令./redis-server–version,搞定。具体如下。[root@idoxuredis]#./redis-server–versionRedisserverv=3.2.0sha=00000000:0malloc=jemalloc-4.0.3bits=64build=74a42375bc62…

    2022年5月22日
    35
  • opencv中resize函数怎么用(图像resize)

    opencv中的resize函数有多种用法:1,图像缩放opencv帮助文档中对resize函数的介绍:src输入图dst输出图,形态和输入图相同,当dsize不等于0,输出图尺寸会和dsize相同,当dsize等于0,输出图尺寸会由输入图尺寸、fx、fy计算而得dsize输出尺寸,当输入为0时,fx、fy皆不可为0,dsize=Size(round(fxsrc.cols),round(fysrc.rows))fx水平缩放比例,当输入为0时,fx=(do

    2022年4月17日
    306
  • matlab geotiff,(Not recommended) Read GeoTIFF file[通俗易懂]

    matlab geotiff,(Not recommended) Read GeoTIFF file[通俗易懂]geotiffread(Notrecommended)ReadGeoTIFFfilegeotiffreadisnotrecommended,exceptwhenreadingaGeoTIFFfilefromaURLorwhenreadingmultipleimagesfromthesamefile.Inothersituations,user…

    2022年9月27日
    1

发表回复

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

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