手动安装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

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

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

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(1)


相关推荐

  • registerReceiver和unregisterReceiver的调用者必须一致「建议收藏」

    registerReceiver和unregisterReceiver的调用者必须一致「建议收藏」//registerReceiver和unregisterReceiver的调用者必须一致protectedvoidonCreate(BundlesavedInstanceState){ super.onCreate(savedInstanceState); setContentView(R.layout.broadcast); IntentFilterintentFilt

  • MBUS协议_sbus协议

    MBUS协议_sbus协议在前面关于MBus协议的描述中,个人觉得在描述TSS721部分存在不容易理解的地方,总觉得还可以说的更清楚点,在实际使用中我又发现TSS721的一款替代芯片,在这里作个详细的说明,可以加深对MBus协议实现的理解和TSS721部分的理解。2013年9月10日–推动高能效创新的安森美半导体(ONSemiconductor,美国纳斯达克上市代号:ONNN)推出一款新的集成…

    2022年10月15日
  • Qt多线程通信

    Qt多线程通信简述:1>Qt线程间共享数据主要有两种方式:1)使用共享内存。即使用一个两个线程都能够共享的变量(如全局变量),这样两个线程都能够访问和修改该变量,从而达到共享数据的目的。2)使用singal/slot机制,把数据从一个线程传递到另外一个线程。第一种方法在各个编程语言都普遍使用,而第二种方法是QT的特有的,本文主要介绍第二种。2>

  • 傅里叶、拉普拉斯、z变换常用公式合集「建议收藏」

    傅里叶、拉普拉斯、z变换常用公式合集「建议收藏」傅里叶变换常用信号的傅里叶变换傅里叶变换的性质傅里叶性质—典型变换对拉普拉斯常用信号的单边拉普拉斯变换拉普拉斯变换的性质z变换常用序列的z变换z变换的性质…

  • centos挖矿程序解决

    centos挖矿程序解决centos挖矿程序解决第一种办法:1.top找到cup占比最高的程序2.ps-aux|grepCOMMAND3.crontab-l查看定时任务4.然后删除挖矿脚本和定时任务脚本5.如果删不掉chattr-i脚本6.然后再删7.然后crontab-e清除掉脚本内容…

  • 关于java二维数组长度(length)的知识

    关于java二维数组长度(length)的知识二话不说,呈上代码//定义一个整型数组:3行4列inta[][]=newint[3][4];//获取行数—3行intlenY=a.length;//获取列数—4列intlenX=a[0].length;其实很好理解,因为二维数组可以理解为是一维数组,只不过他的各处的元素是特殊元素—–一维数组a[0][0]a[0][1]a[0][2]…

发表回复

您的电子邮箱地址不会被公开。

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