官术网_书友最值得收藏!

Installing Packer

Packer by Hashicorp is used to easily build automates images such as Metasploitable 3. Visit https://www.packer.io/downloads.html and download the version of Packer for your OS. In this instance, I've downloaded the Windows 64-bit version:

Once downloaded, extract the contents of the file. There should be one file, in this case packer.exe.

From there, create a folder anywhere you like and name it packer. I've placed it on the C: drive of my system:

At this point, you'll need to add the path to this folder in order to call the Packer application in the Command Prompt. Simply edit your environment variables and paste it into the path to packer.exe.

Go to your Control Panel and click on Advanced system settings:

In the System Properties window, under the Advanced tab, click on Environment Variables:

You should see the Path entry under User variables for admin. In the System variables box, you should also the Path variable with an entry of C:\Program Files (x86)\Common Files\Oracle|Java\javapath:..

Click on the Edit button to continue:

In the Edit environment variable, click on the New button in the top-right corner and select C:\packer from the list in the main window. Click on OK.

To test that the change was successful, launch the Command Prompt and type packer. You should return usage parameters and available commands if all is successful:

主站蜘蛛池模板: 渝中区| 日照市| 高邮市| 兴义市| 西吉县| 行唐县| 西丰县| 宜黄县| 苏州市| 通化县| 双桥区| 灵寿县| 永安市| 盈江县| 分宜县| 罗平县| 阳城县| 汉沽区| 台州市| 冷水江市| 阳泉市| 新宁县| 万州区| 含山县| 普陀区| 南昌市| 新丰县| 柘城县| 东兰县| 潼关县| 桦川县| 中阳县| 冕宁县| 云浮市| 鄄城县| 彭泽县| SHOW| 开化县| 察雅县| 西峡县| 滦平县|