【文件属性】:
文件名称:vagrant-lamp:Ubuntu 12.04 LTS 上带有 LAMP(Linux、Apache、MySql 和 PHP)的 Vagrant 基本框
文件大小:4KB
文件格式:ZIP
更新时间:2021-07-14 12:19:44
Shell
流浪灯
Ubuntu 12.04 LTS 上带有 LAMP(Linux、Apache、MySql 和 PHP)的 Vagrant 基本框
要求
VirtualBox
流浪者
Git
Vagrant HostsUpdater 插件
用法
启动
$ git clone https://github.com/ducnguyenhuy/vagrant-lamp.git
$ cd vagrant-lamp
$ vagrant up
连接
阿帕奇
Apache 服务器位于或
MySQL
在外部,MySQL 服务器在端口 8889 上可用,当在 VM 上运行时,它可以像往常一样作为套接字或端口 3306 使用。 用户名:root 密码:root
运行 PHP 测试文件
在浏览器中输入或查看 PHP 信息。
访问访客机
$ vagrant ssh
技术细节
Ubuntu 12.04 LT
【文件预览】:
vagrant-lamp-master
----Vagrantfile(5KB)
----README.md(1KB)
----bootstrap.sh(1KB)