網頁

2015年12月26日 星期六

ZeroShell 3.4.0 ---- How to quickly install ZeroShell on VMware "vmdk" disk.


I want to build a Router device on virualization environment for message exchange and hope it is simple and easy to create/setup one. In Google search, I find out an open source software “ZeroShell” and it is comfortable for installing and managing this.
ZeroShell is Linux Router with more feature as router, firewall, Radius and so on. Although someone has already share the installation methond on Internet, I just think whether it can convert image file so that don’t need to do the steps too much.
How to do it?

Download ZeroShell Image
Go to the ZeroShell Official Web and download the latest img file.imageExtract xxx.img.gz file to xxx.img next to confirm whether exist a QEMU-IMG tool. (# 1)

Convert .img to .vmdk image
If there is ever install qemu-utils package on debin/ubuntu system, we can directly by using the qemu-img convert –f raw xxx.img –O vmdk xxx.vmdk command (# 2)imageIf it is installed on windows platform, we will do the qemu-img convert –O vmdk xxx.img xxx.vmdk command
image
When the vmdk file is created, we will begin to create a New Virtual Machine on wmware production as wmware workstation.
In the configuration wizard, we can select the following parameter:
      Guest Operation System: Linux
      Version: Other Linux 3.x kernel 64-bit
      Memory: large than default value 384 MB
      Network Connection: at least large than two interface
      Virtual Disk Type: IDE
      Disk: Use an existing virtual disk as the converted vmdk file
It is important to chose the boot mode is BIOS, not EFI mode !!!
Once the setting is completed, we can start this VM and beging to setup the IP Address and Default Gateway on console mode now.
image
Reference:
(# 1)
   In Ubuntu/Lubuntu Trusty 14.04, we can install QEMU-IMG tool by using the sudo apt-get install qemu-utils command
image          
           In Windows Platform, we can download/install QEMU binaries for Windows
image
(# 2)   “qemu-img” Disk Image Utility 

沒有留言:

張貼留言

Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.