CloudSim是在离散事件模拟包SimJava上开发的函数库,所以在进入安装cloudsim之前应当配置你的计算机的java开发环境
1 安装JDK
从http://java.sun.com/ 下载JDK最新版本,病、并“计算机-高级-环境变量”进行环境变量的设置 ,完成之后,在终端中 输入:“java -version” 进行检测JDK是否安装成功
2 安装配置cloudsim
进入 墨尔本大学云计算实验室http://www.gridbus.org/cloudsim/网站,
Starting CloudSimExample1... Initialising... Starting CloudSim version 3.0 Datacenter_0 is starting... Broker is starting... Entities started. 0.0: Broker: Cloud Resource List received with 1 resource(s) 0.0: Broker: Trying to Create VM #0 in Datacenter_0 0.1: Broker: VM #0 has been created in Datacenter #2, Host #0 0.1: Broker: Sending cloudlet 0 to VM #0 400.1: Broker: Cloudlet 0 received 400.1: Broker: All Cloudlets executed. Finishing... 400.1: Broker: Destroying VM #0 Broker is shutting down... Simulation: No more future events CloudInformationService: Notify all CloudSim entities for shutting down. Datacenter_0 is shutting down...