I've created a vagrant box with homestead. A couple of question
44 views
Skip to first unread message
Francisco Santos
unread,
Jul 31, 2015, 11:18:45 AM7/31/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
Greetings, I've downloaded a vagrant box, following the documentation to set up for a single project.
I've moved the code to the proper place, everything cool. But I have a couple of question
NOTE: I plan to export this VM and use it as a "moving server" - so it's set up in a private network
Does root have a password? I can't login through any other way other than being in the same machine and using "vagrant ssh". How should I configure admin accounts?
How can I get phpAdmin configured and running - so I can migrate my previous DB and data (from the development environment)
Thanks for your time.
Cheers!
Alvaro Miranda Aguilera
unread,
Jul 31, 2015, 9:24:32 PM7/31/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
Hello Francisco
vagrant should have sudo access so you can do
vagrant ssh
sudo su -
and that will leave you as root
then you can chance root password and add/remore/change any other user detail
as for phpAdmin, that is a php app, so I assume you can install
webserver+php and then just drop phpadmin on the www document root and
use it.
If at any point in time in the future you will like to automate that,
or create your very own base box, have a look at packer (packer.io)
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vagrant
This is rather strange but, the first Vagrant box I created showed up in Virtual Box menu when the app was opened. I even tried to log in through there.
I ended up changing and destroying that box and recreated a second one following the "single project setup" from the documentation. The difference is, this time it doesn't show up in Virtual Box menu... thus I cannot go to settings and export that VM to .ova
Do you have any idea what could be causing this? How might I get VB to recognise the VM?
Alvaro Miranda Aguilera
unread,
Aug 2, 2015, 6:46:49 PM8/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vagra...@googlegroups.com
Are you on windows?
If yes,m that may be caused for how HOME user is defined
if you open a CMD, or bash session, or you change users, it will end
with different HOME directories
try to run Virtualbox from the shell/cmd you did the vagrant commands