Hello Alvaro,
Thanks for your help,
I downloaded the archives but I had to do some changes. I change the file
"Vagrantfile" to:
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/precise32"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network
I tested before uploading.
Does it run for you without any change?
On Mon, Jan 18, 2016 at 12:01 AM, Edgar Oliveira wrote:
> Hello Alvaro,
>
> Thanks for your help,
>
> I downloaded the archives but I had to do some changes. I change the file
> "Vagrantfile" to:
Hello Edgard
Seems I sent an incomplete message.
I did this project for you:
https://github.com/kikitux/precise64-cgi-bin
check the provision.sh and the cgi-bin folder
you can visit: http://localhost:8080/cgi-bin/poweroff.sh
And that will poweroff the machine.
Let me know if that is what you
Hello,
Any idea to create an file for when I accessed through browser it execute
the code to shutdown my virtual machine?
E.G. I accessed the IP 192.168.1.50, corresponding the VM, and when access
the file something.php and inside this file execute the code which the same
execute via terminal
Hello Edgard.
You can have a web browser, put a cgi file with bash, and run sudo poweroff.
http://www.yolinux.com/TUTORIALS/LinuxTutorialCgiShellScript.html
Does that helps?
Alvaro
On Thu, Jan 14, 2016 at 2:52 AM, Edgar Oliveira
wrote:
> Hello,
>
> Any idea to