IDA Pro > IDA Pro教程 > 技术问题 > IDA Pro3.1.2.安装(3.1.2.Installation)

IDA Pro3.1.2.安装(3.1.2.Installation)

发布时间:2022-10-15 15: 44: 36

Because the Lumina server delegates user management to the Hex-Rays Vault server, please make sure the Hex-Rays
Vault server is properly installed.


The Lumina server installer will require the host & port of the Hex-Rays Vault server in order to create the lumina.conf file
that will be used by server.


The Lumina server can be installed on Linux servers. We have tested it on Debian and Ubuntu, but other major flavors of
Linux should be fine too.


To install the server, run the Lumina installer as root and follow the instructions (the server will not require root
permissions; only the installer does.)


TIP 

If your Linux system is based on systemd (e.g., Debian/Ubuntu, Red-Hat, CentOS, ...), it is recommended to
let the installer create systemd units so that the server will start automatically at the next reboot.


Activating the server license
NOTE 

If you already requested Lumina server activation with Hex-Rays Vault server, you can skip this part.
In order for the Lumina server license to be activated, it must be bound to a Host ID (an Ethernet MAC address.)


From a command prompt, run /sbin/ifconfig, and lookup the "ether" address for the network interface through which
the server will be accessible.

 

>/sbin/ifconfig
enp4s0: flags=4163 mtu 1500
[...snipped...]
ether bf:e2:91:10:58:d2 txqueuelen 1000 (Ethernet)
[...snipped...]


In this case, our mac address is: bf:e2:91:10:58:d2


Go to https://hex-rays.com/activate , and submit both the ida.key file and your MAC address. You will then receive
another e-mail with instructions to download the following files:
• lumina.crt
• lumina.key
• lumina.lic


Installing the server license
Those need to be copied in the Lumina installation directory. As root:
>cd /opt/lumina
>cp .../path/to/lumina.crt .
>cp .../path/to/lumina.key .
>cp .../path/to/lumina.lic .
>chown lumina:lumina lumina.crt lumina.key lumina.lic
>chmod 640 lumina.crt lumina.key lumina.lic


Creating the initial database schema
At this point, the server should be ready to run.


CAUTION 

If your system is already in production and hosts files, skip this section. Using the --recreate
-schema option as in the example below, will re-create an empty database and lose all data.
For the Lumina server to work, it needs to have a proper database schema to work with (at this point, the MySQL
database (i.e., "lumina_db") must already exist but is still empty.)


That is why, on the first install, you will need to initialize the database the server will use:
>sudo -u lumina ./lumina_server_teams --config-file lumina.conf --recreate-schema
Hex-Rays Lumina Server Teams v8.0 Hex-Rays (c) 2022
2022-09-02 10:28:30 Database has been initialized; exiting.
If you see "Error: Cannot connect to lumina db" please refer to troubleshooting section.


Testing the server
Now that the server is installed and has a database to work with, we can test that it works:
>sudo -u lumina ./lumina_server_teams --config-file lumina.conf \
--certchain-file lumina.crt \
--privkey-file lumina.key
Hex-Rays Lumina Server Teams v8.0 Hex-Rays (c) 2022
2022-09-22 12:14:37 Listening on 0.0.0.0:65432...
Good, the server appears to run! (If you are observing more worrying messages than this one, please refer to the
troubleshooting section.)


At this point, you may want to either let the server run, or stop it (Ctrl+C will do) and restart it using systemd:

>systemctl restart lumina.service


...and make sure it runs:
>ps aux | grep lumina_server_teams
lumina 78812 0.0 0.0 ...


If you don’t see a running lumina_server_teams process, please refer to the systemd diagnostic tools (e.g., journalctl)
for more info.

中文翻译:

由于Lumina服务器将用户管理委托给Hex-Rays Vault服务器,请确保正确安装了Hex-Rays Vault服务器。

安装Lumina服务器需要提供Hex-Rays Vault服务器的主机和端口信息,以创建将被服务器使用的lumina.conf文件。

Lumina服务器可以安装在Linux服务器上。我们已经在Debian和Ubuntu上进行了测试,但其他主要的Linux发行版也应该可以。

要安装服务器,请以root身份运行Lumina安装程序并按照说明进行操作(服务器不需要root权限,只有安装程序需要)。

提示

如果您的Linux系统基于systemd(例如,Debian/Ubuntu,Red-Hat,CentOS等),建议让安装程序创建systemd单元,以便服务器在下次重新启动时自动启动。

激活服务器许可证

注意:如果您已经使用Hex-Rays Vault服务器请求了Lumina服务器激活,则可以跳过此部分。

为了激活Lumina服务器许可证,必须将其绑定到主机ID(以太网MAC地址)。

从命令提示符运行/sbin/ifconfig,并查找通过该接口可访问服务器的网络接口的“ether”地址。

/sbin/ifconfig

enp4s0:flags=4163 mtu 1500

[...snipped...]

ether bf:e2:91:10:58:d2 txqueuelen 1000(Ethernet)

[...snipped...]

在这种情况下,我们的MAC地址为:bf:e2:91:10:58:d2

前往https://hex-rays.com/activate,并提交ida.key文件和您的MAC地址。然后,您将收到一封电子邮件,其中包含下载以下文件的说明:

•lumina.crt

•lumina.key

•lumina.lic

安装服务器许可证

需要将这些文件复制到Lumina安装目录中。作为root:

cd/opt/lumina

cp.../path/to/lumina.crt.

cp.../path/to/lumina.key.

cp.../path/to/lumina.lic.

chown lumina:lumina lumina.crt lumina.key lumina.lic

chmod 640 lumina.crt lumina.key lumina.lic

创建初始数据库模式

此时,服务器应该已准备就绪。

警告:

如果您的系统已经在生产环境中托管文件,请跳过本节。如下所示,使用--recreate-schema选项将重新创建一个空数据库并且会丢失所有数据。

为了使Lumina服务器正常工作,它需要有一个适当的数据库架构(此时,MySQL数据库即“lumina_db”必须已经存在,但仍然是空的)。

因此,在第一次安装时,您需要初始化服务器将要使用的数据库:

sudo-u lumina./lumina_server_teams--config-file lumina.conf--recreate-schema

Hex-Rays Lumina Server Teams v8.0 Hex-Rays(c)2022

2022-09-02 10:28:30数据库已初始化;退出。

如果看到“Error:Cannot connect to lumina db”,请参考故障排除部分。

测试服务器

现在,服务器已安装并具有要使用的数据库,我们可以测试其是否正常工作:

sudo-u lumina./lumina_server_teams--config-file lumina.conf--certchain-file lumina.crt--privkey-file lumina.key Hex-Rays Lumina Server Teams v8.0 Hex-Rays(c)2022 2022-09-22 12:14:37正在监听0.0.0.0:65432...

很好,服务器似乎可以运行!(如果您观察到比这更令人担忧的消息,请参阅故障排除部分。)此时,您可能希望让服务器运行,或者停止它(Ctrl+C),然后使用systemd重新启动:

systemctl restart lumina.service

...并确保它在运行:

ps aux|grep lumina_server_teams lumina 78812 0.0 0.0...

如果您没有看到正在运行的lumina_server_teams进程,请参考systemd诊断工具(例如journalctl)以获取更多信息。

展开阅读全文

标签:

读者也访问过这里:
邀请您进入交流群 点击扫码
400-8765-888 kefu@makeding.com

专业销售为您服务

欢迎添加好友,了解更多IDA优惠信息,领逆向工程学习资料礼包1份!
热门文章
exe反编译工具哪个好?反编译能力强的工具盘点
随着软件技术的发展,exe(可执行文件)已经成为了电脑、手机等多个平台上的主要软件运行格式,而对于exe文件的反编译也成为了逆向工程中不可缺少的一个步骤。本文将介绍一些常用的exe反编译工具,并评价其优缺点,帮助读者选择合适的工具。
2023-04-12
idapro怎么改为中文
IDA Pro是一款功能强大的反汇编和反编译工具,广泛应用于逆向工程和软件开发领域。在使用IDA Pro时,如果我们不习惯英文界面,可以将其改为中文界面。本文将介绍IDA Pro怎么改为中文界面。IDA Pro界面改成中文主要有两种方法,下面是详细介绍。
2023-04-19
c++反编译工具有哪些
反编译C++代码的工具一般是针对可执行文件和库文件的反汇编和逆向分析工具。本文将给大家介绍c++反编译工具有哪些的内容。市面说的c++反编译工具有很多,下面介绍几款使用认识较多的软件。
2023-04-23
ida怎么查找字符串 ida字符串窗口快捷键
在数字化时代,逆向工程作为解密软件和分析程序的关键技术,正日益受到广泛关注。在逆向分析的过程中,IDA(Interactive DisAssembler)是一款备受推崇的工具,它为逆向工程师们提供了强大的功能和灵活的操作。本文将带您深入探讨如何在IDA中查找字符串,优化字符串窗口的使用,并探讨IDA如何将变量转换成字符串,帮助您更加熟练地驾驭这一工具,为逆向分析的世界增添一抹精彩。
2023-09-27
ida如何转伪代码 ida伪代码怎么看
IDA Pro是一款常用的反汇编和反编译工具,可以帮助我们分析二进制文件的实现细节和执行过程,以便更好地理解程序的执行过程和逻辑。在进行逆向工程的过程中,我们经常需要将反汇编结果转换为伪代码,以便更好地进行分析和修改。本文将介绍如何使用IDA Pro转换为伪代码,并简单讲解ida伪代码怎么看。
2023-04-14
最新文章
如何优化IDA Pro的反汇编速度?如何设置IDA Pro加快程序分析过程?
IDA Pro大家应该都知道,是逆向工程师必备的工具。有时候,当程序越来越大、分析任务越来越复杂时,IDA Pro的反汇编速度就会有点慢。今天就来分享一些优化的小技巧:如何优化IDA Pro的反汇编速度?如何设置IDA Pro加快程序分析过程?帮你提升IDA Pro的速度,让程序分析更流畅。
2025-02-26
IDA Pro如何将程序的分支和循环结构可视化 IDA Pro如何生成控制流图
当你在进行程序分析和逆向工程时,有没有遇到过这些问题:程序结构复杂,分支多,循环多,看得眼花缭乱,根本搞不清楚执行流程?IDA Pro能帮你轻松搞定这些问题,还能将程序的分支、循环和控制流图展示得一目了然。今天就来聊聊,IDA Pro如何将程序的分支和循环结构可视化,IDA Pro如何生成控制流图,以及IDA Pro怎么优化流程图,让你能更快速、准确地理解和分析代码。
2025-02-24
IDA Pro怎么生成函数调用图 IDA Pro如何追踪数据在程序中的传递路径
IDA Pro能帮我们非常清晰地分析程序的结构,生成函数调用图,追踪数据的流动路径等。今天咱们就来聊聊“IDA Pro怎么生成函数调用图”和“IDA Pro如何追踪数据在程序中的传递路径”,让你在逆向分析中更加得心应手。
2025-02-24
IDA Pro如何处理混淆代码 怎么用IDA Pro做内存分析
如果你经常搞逆向工程、分析漏洞或者做软件安全研究,那你一定知道IDA Pro这款工具,现在,随着很多软件都用了混淆技术,逆向分析也变得越来越难。不过,IDA Pro提供了强大的功能,能轻松应对。今天,我们就来聊聊“IDA Pro如何处理混淆代码 怎么用IDA Pro做内存分析”。
2025-02-24
IDA Pro如何处理多线程程序 IDA Pro如何分析加壳程序
嘿,大家好!今天咱们来聊聊逆向工程领域的超级工具——IDA Pro。如果你做过逆向分析或者搞过安全研究,IDA Pro肯定是你桌面上的常客。它在处理各种复杂程序时真的很强大,但如果是多线程程序和加壳程序,怎么办呢?这两个问题对很多逆向工程师来说可不简单,特别是加壳程序总是让人头大。别担心,今天我们就来聊聊IDA Pro如何处理多线程程序,以及IDA Pro如何分析加壳程序,还会探讨在这两个复杂场景下,怎么提速分析效率,别眨眼,接下来会给你带来很多实用的技巧哦!
2025-02-24
IDA Pro如何提高逆向工程效率 IDA Pro怎么用API进行定制开发
大家好呀!今天咱们聊一聊IDA Pro这款神器工具,看看它怎么帮我们提升逆向工程效率,还有它的API又是怎么给我们提供定制开发的空间。IDA Pro是很多做安全研究和逆向工程的朋友的必备工具,功能强大得让人咋舌。不管你是新手小白,还是已经有一定经验的逆向工程大佬,相信今天这篇文章一定能帮你更好地理解IDA Pro如何提高逆向工程效率 IDA Pro怎么用API进行定制开发。
2025-01-22

通过微信咨询我们

欢迎添加好友,了解更多IDA优惠信息,领取逆向工程学习资料礼包1份!