如何把你的文件挂载到虚拟机上

本文介绍了如何将Windows系统中的文件挂载到Virtual Box虚拟机上的Ubuntu 14.04环境中,以便在Linux环境下运行PHP脚本进行调试。关键步骤包括安装Virtual Box、Ubuntu操作系统、Apache服务器,以及安装virtualbox-guest-utils,修改rc.local文件挂载文件夹,并设置本地与虚拟机的网络映射。
摘要由CSDN通过智能技术生成

  Sometimes I need write code in working computer which is window 10 operate system,but run Php scripts in Linux environment.I don't ensure every code that wrote by me is completely correct.So I want to test in Linux environment.Maybe you can upload codes to your server,but I don't like that.maybe use virtual machine is the best solution for me.

The benefits of using Virtual Machine

  • If you are newbie,Don't worried about the crush of real server.Do everything you want even if Virtual Machine broken,we can fix it immediately through backup or snapshots
  • run Php script immediately without upload that is very convenient for debugging
  • you don't buy a real server or cloud server only just for testing your php scripts

Blow is my steps for configuring Virtual Machine

  • Install Oracle VM virtualBox from here
  • Install Linux operate systems (e.g. Ubuntu,C
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值