Linux Operating System

<p>The Packer version in this example is packer_1.4.1_windows_amd64.</p> <p><strong>Procedures</strong></p> <p>1.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Log in to the Linux Server.</p> <p>2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execute the command <strong>cd / usr / local / bin</strong> to enter the / usr / local / bin directory.</p> <p><strong>Note:</strong> The / usr / local / bin directory is an environment variable directory. You can install Packer to this directory or other directories that have been added to environment variables.</p> <p>3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execute the command: <strong>wget</strong> <strong>https://releases.hashicorp.com/packer/1.4.1/packer_1.4.1_linux_amd64.zip</strong> to obtain the Packer installation package.</p> <p><strong>Note:</strong> You can also visit the <strong>Packer Download Page</strong> to obtain other versions of the Packer installation package.</p> <p>4.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execute the <strong>unzip packer_1.4.1_linux_amd64.zip</strong> to decompress the file.</p> <p>5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execute the command <strong>packer &ndash;v</strong> to verify the Packer installation status.</p> <p><strong>Note:</strong> If the Linux server returns the Packer version number, it means that you have installed the Packer correctly. If the Linux server prompts command not found, Packer is not installed correctly.</p> <p>6.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Execute the following command to obtain the installation package of the Packer extension plug-in developed by Ping An Cloud for the Linux platform: <strong>wget https://pacloud.obs-cn-shanghai.pinganyun.com/packer%2Fpacker-builder-pacloud?response-content-disposition=attachment%3Bfilename%3Dpacker-builder-pacloud</strong></p> <p><strong>Note</strong></p> <ul> <li>Please keep the official packer program and Ping An Cloud extension in the same directory.</li> <li>You can also refer to the Official Packer Installation Note to install Packer.</li> </ul>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products