Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

Maybe you need to add the port? Like http://localhost:port

Last updated 2 years ago.
0

Oleander2911 said:

Maybe you need to add the port? Like http://localhost:port

Doesn't work. I tried also changing the default port to 8080 (in case 80 is taken from smth else) and still not working. Tried to restart nginx, and this failed. Tried to check for errors with ~~~sudo nginx -c /etc/nginx/nginx.conf -t~~~ but I got error of permission denied and could not test for errors.

Last updated 2 years ago.
0

If you've done this for local development, why on earth don't you just use Homestead? It works out of the box (generally) and is the same (Ubuntu 14.04 / Nginx) with all the goodies already setup.

  • Ubuntu 14.04
  • PHP 5.6
  • HHVM
  • Nginx
  • MySQL
  • Postgres
  • Node (With Bower, Grunt, and Gulp)
  • Redis
  • Memcached
  • Beanstalkd
  • Laravel Envoy
  • Fabric + HipChat Extension
Last updated 2 years ago.
0

sitesense said:

If you've done this for local development, why on earth don't you just use Homestead? It works out of the box (generally) and is the same (Ubuntu 14.04 / Nginx) with all the goodies already setup.

Okay, you are right. I started upon this challenge. Nevertheless, I've got a problem, when I try to run the vagrant box:

mysystem@me:~/Google Drive/Homestead$ vagrant up
Vagrant failed to initialize at a very early stage:

The home directory you specified is not accessible. The home
directory that Vagrant uses must be both readable and writable.

You specified: /home/mysystem/.vagrant.d

I tried putting the Homestead folder in different places of the system. The Google Drive folder is readable/writable - I create files/folders there without the sudo command. Maybe I am not trying to fix the correct thing, I don't know.

This is my Homestead.yaml file:

authorize: ~/Google Drive/Homestead/.ssh/id_rsa.pub

keys:
    - ~/Google Drive/Homestead/.ssh/id_rsa

folders:
    - map: ~/Google Drive/Homestead/workspace
      to: /home/vagrant/Code

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

variables:
    - key: APP_ENV
      value: local

and the SSH key file that I generated is ~/Google Drive/Homestead/homestead_key.pub

Last updated 2 years ago.
0

Yaml file looks ok but I wonder if it's stumbling because of the space in the path? Try enclosing the path in quotes maybe and try again.

Also apparently Vagrant is not fond of tabs, replace any tabs with spaces and see how you go.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

galioy galioy Joined 17 Sep 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.