CheckPoint
<h1>1 CheckPoint</h1><p>本文档基于以下版本:</p>
<table>
<thead>
<tr>
<th>EVE镜像文件夹名</th>
<th>下载文件名</th>
<th>版本</th>
<th>vCPU数量</th>
<th>vRAM大小</th>
<th>网卡类型</th>
<th>控制台</th>
</tr>
</thead>
<tbody>
<tr>
<td>cpsg-R80-10</td>
<td>Check_Point_R80.10_T421_OVF_Template_Gaia.gz</td>
<td>80.10</td>
<td>2</td>
<td>4096</td>
<td>e1000</td>
<td>Telnet</td>
</tr>
<tr>
<td>cpsg-R80-10</td>
<td>Check_Point_R80.10_T462_Gaia.iso</td>
<td>80.10</td>
<td>2</td>
<td>4096</td>
<td>e1000</td>
<td>VNC</td>
</tr>
<tr>
<td>cpsg-R81-T392</td>
<td>Check_Point_R81_T392.iso</td>
<td>81-T392</td>
<td>4</td>
<td>6144</td>
<td>e1000</td>
<td>VNC</td>
</tr>
</tbody>
</table>
<h2>1.1 操作说明</h2>
<p>80-20M和81-392版本已按照ISO安装流程进行了测试。</p>
<h3>1.1.1 首选方法:从ISO创建镜像</h3>
<ol>
<li>从EVE命令行界面(CLI)创建Checkpoint镜像文件夹并进入该目录:</li>
</ol>
<pre><code class="language-Bash">mkdir /opt/unetlab/addons/qemu/cpsg-R80-10
cd /opt/unetlab/addons/qemu/cpsg-R80-10
</code></pre>
<ol start="2">
<li>使用FileZilla或WinSCP等工具,将下载的Check_Point_R80.10_T462_Gaia.iso镜像上传到EVE的/opt/unetlab/addons/qemu/cpsg-R80-10文件夹中。</li>
<li>将原始ISO镜像重命名为cdrom.iso:</li>
</ol>
<pre><code class="language-Bash">mv Check_Point_R80.10_T462_Gaia.iso cdrom.iso
</code></pre>
<ol start="4">
<li>为新的Checkpoint镜像创建硬盘驱动器:</li>
</ol>
<pre><code class="language-Bash">/opt/qemu/bin/qemu-img create -f qcow2 hda.qcow2 80G
</code></pre>
<ol start="5">
<li>创建新实验室,添加新创建的Checkpoint镜像,并将其连接到Cloud0网络。</li>
</ol>
<p><strong>注意</strong>:在拓扑中添加节点时,请为新镜像设置VNC控制台。完成从ISO的安装需要VNC控制台,之后你可以使用Telnet控制台连接到该节点。</p>
<ol start="6">
<li>按照控制台中的安装步骤完成Checkpoint的安装,然后关闭Checkpoint镜像。</li>
</ol>
<p><strong>重要提示</strong>:提交安装,将其设置为EVE-NG中后续使用的默认镜像:</p>
<ol start="7">
<li>在EVE Web界面的实验室左侧边栏中选择“实验室详情”,获取实验室的UUID详细信息。在本示例中:UUID为3491e0a7-25f8-46e1-b697-ccb4fc4088a2。</li>
<li>找出你使用的POD ID和新安装节点的节点ID。POD编号分配给你的用户名,可以在EVE图形用户界面(GUI)的“管理”→“用户管理”中找到。默认情况下,管理员用户使用POD编号0。</li>
</ol>
<p><img src="data/attachment/forum/202504/26/105729knm2b1mbbb2um2uo.png" alt="" /></p>
<p>节点ID可以通过在拓扑中右键单击节点获取。在本示例中为8。</p>
<p><img src="data/attachment/forum/202504/26/105729nmw8drkj3mkmyrxx.png" alt="" /></p>
<p><img src="data/attachment/forum/202504/26/105729g77m4605m5w7916w.png" alt="" /></p>
<ol start="9">
<li>从EVE命令行界面,定位已安装的镜像并提交更改,以便在EVE-NG中作为默认镜像进一步使用:</li>
</ol>
<pre><code class="language-Bash">cd /opt/unetlab/tmp/0/3491e0a7-25f8-46e1-b697-ccb4fc4088a2/8/
/opt/qemu/bin/qemu-img commit hda.qcow2
</code></pre>
<ol start="10">
<li>从/opt/unetlab/addons/qemu/cpsg-R80-10/目录中删除cdrom.iso:</li>
</ol>
<pre><code class="language-Bash">cd /opt/unetlab/addons/qemu/cpsg-R80-10/
rm -f cdrom.iso
</code></pre>
<h3>1.1.2 从VMDK创建镜像的方法</h3>
<ol>
<li>从EVE命令行界面创建临时文件夹:</li>
</ol>
<pre><code class="language-Bash">mkdir abc
cd abc
</code></pre>
<ol start="2">
<li>使用FileZilla或WinSCP等工具,将下载的镜像上传到EVE根目录下的abc文件夹中。</li>
<li>解压原始镜像以获取vmdk文件:</li>
</ol>
<pre><code class="language-Bash">tar xf Check_Point_R80.10_T421_OVF_Template_Gaia.gz
</code></pre>
<ol start="4">
<li>创建目标镜像文件夹:</li>
</ol>
<p>镜像文件夹名称和硬盘名称应根据我们的qemu镜像命名表来确定。<a href="http://www.eve-ng.net/index.php/documentation/images-table">http://www.eve-ng.net/index.php/documentation/images-table</a></p>
<pre><code class="language-Bash">mkdir /opt/unetlab/addons/qemu/cpsg-R80-10
</code></pre>
<ol start="5">
<li>将vmdk原始文件转换为hda.qcow2:</li>
</ol>
<pre><code class="language-Bash">/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 Check_Point_SG_R80.10_VE-disk1.vmdk hda.qcow2
</code></pre>
<ol start="6">
<li>将转换后的镜像硬盘复制到目标文件夹:</li>
</ol>
<pre><code class="language-Bash">mv hda.qcow2 /opt/unetlab/addons/qemu/cpsg-R80-10/hda.qcow2
</code></pre>
<ol start="7">
<li>删除临时文件夹:</li>
</ol>
<pre><code class="language-Bash">cd ..
rm -rf abc
</code></pre>
<ol start="8">
<li>修复权限:</li>
</ol>
<pre><code class="language-Bash">/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
</code></pre>
<p>原始CheckPoint镜像的命令行界面和Web界面默认登录用户名和密码均为admin。</p>
<p>谢谢分享 非常详细</p>
页:
[1]