Designinglives

27/12/14 homestead , mysql , phpmyadmin , vagrant

How to install phpmyadmin on vagrant box

Login to your virtual box using SSH and change directory to the folder which hosts your code. In my case this is the Code directory, use the following command to install phpmyadmin.

sudo apt-get install phpmyadmin

Note: The default username and password for the mysql servers are root – secret

Continue reading

0 likes no responses
16/11/14 homestead , vagrant , virtual machine

Add new site to homestead (vagrant)

Like we have done before adding a new site is super easy. Just edit the homestead.yaml file and add a new site:

sites:
    - map: site1.app
      to: /home/vagrant/Code/site1/public
    - map: site2.app
      to: /home/vagrant/Code/site2/public

Continue reading

0 likes no responses
14/11/14 error , homestead , laravel 5 , vagrant

Vagrant timeouts

Ever since I upgraded my virtualbox I was having issues with vagrant when I returned from standby. The pages I was trying to load kept going until they gave me a gateway timeout.

The following command seems to solve the virtualbox issue and will ensure your vagrant box will be running better then ever after a return from standby!

sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist

Continue reading

0 likes no responses
11/11/14 vagrant

Vagrant commands

Since installing vagrant I’ve took some time to experiment with these commands, here are the most important ones I’ve come across.

vagrant up
This will start the vagrant server as well as resume the environment in which you want to start working.

Continue reading

0 likes no responses
11/11/14 homestead , vagrant , virtual machine

Setting up a virtual machine for laravel

What we would need for this to work:
VirtualBox
Vagrant

Both VirtualBox and Vagrant are software packages which will provide us with some easy-to-use installers which can install all popular operating systems. Once installed you can add a laravel/homestead box to you Vagrant install which might take up to 10 minutes to get ready.

vagrant box add laravel/homestead

Continue reading

0 likes no responses