Hi All,

Thanks in Advance.

I configure everything related to vagrant. All is working fine event 
index.html/index.php both. Now I installed mysql through vagrant ssh and 
same way i installed phpmyadmin.

But when I am opening phpmyadmin link its showing 404 error.

http://127.0.0.1:4567/phpmyadmin

My vagrant file . 

Vagrant.configure("2") do |config|
  config.vm.box = "hashicorp/precise32"
  config.vm.provision :shell, path: "bootstrap.sh"
  config.vm.network :forwarded_port, host: 4567, guest: 80
  config.vm.synced_folder "src/", "/var/www"
  config.vm.provision "fix-no-tty", type: "shell" do |s|
    s.privileged = false
    s.inline = "sudo sed -i '/tty/!s/mesg n/tty -s \\&\\& mesg n/' 
/root/.profile"
  end
end


My bootstrap.sh file

#!/usr/bin/env bash

apt-get update
apt-get install -y apache2

if ![ -L /var/www ]; then
 rm -rf /var/www
 ln -fs /vagrant /var/www
 fi

  


-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/6549dd91-c7d9-4ec1-95e0-7e845870226a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to