Vagrant for mac homestead1/27/2024 ![]() I always have the same message "No input file specified.".There are two steps to adding every new site into a Homestead VM. It means after typing "sudo su" and entering the admin password. I also wandered if it was necessary to use vagrant in root mode on the console. S.inline = "echo \"\nenv = '$2'\" > /etc/php5/fpm/nf & service php5-fpm restart" # Configure All Of The Server Environment Variables ![]() S.inline = "bash /vagrant/scripts/serve.sh $1 $2" # Register All Of The Configured Shared FoldersĬonfig.vm.synced_folder folder, folder, type: folder ||= nil S.inline = "cp /vagrant/aliases /home/vagrant/.bash_aliases" S.inline = "echo $1 | tee -a /home/vagrant/.ssh/authorized_keys" # Configure The Public Key For SSH Access Vb.customize Ĭonfig.vm.network "forwarded_port", guest: 80, host: 8000Ĭonfig.vm.network "forwarded_port", guest: 3306, host: 33060Ĭonfig.vm.network "forwarded_port", guest: 5432, host: 54320 => default: php5-fpm start/running, process 2082ĭef nfigure(config, settings)Ĭonfig.vm.network :private_network, ip: settings ||= "192.168.10.10" => default: php5-fpm start/running, process 1960 => default: Configuring and enabling network interfaces.ĭefault: /vagrant => /home/lukas90/Treehouse/Laravel/Homesteadĭefault: /home/vagrant/Sites => /home/lukas90/Treehouse/Laravel/Homestead/Projects If you seeĭefault: shared folder errors, please make sure the guest additions within theĭefault: virtual machine match the version of VirtualBox you have installed on => default: Checking for guest additions in VM.ĭefault: The guest additions on this VM do not match the installed version ofĭefault: VirtualBox! In most cases this is fine, but in rare cases it canĭefault: prevent things such as shared folders from working properly. Retrying.ĭefault: Warning: Remote connection disconnect. This may take a few minutes.ĭefault: Warning: Connection timeout. => default: Running 'pre-boot' VM customizations. => default: Preparing network interfaces based on configuration. => default: Clearing any previously set network interfaces. => default: Clearing any previously set forwarded ports. => default: Checking if box 'laravel/homestead' is up to date. => default: Attempting graceful shutdown of VM. I also reloaded vagrant in the Homestead directory and here are the results Homestead]$ vagrant reload -provision To: /home/vagrant/Sites/laravel-basics/public I also moved the vagrant folder to /home directly and changed the values of the same file like this : I checked my Homestead.yaml and it's not a problem of identation. I also installed Laravel directly in my Xampp folder with my other previous PHP projects working with an Apache Server, but none index page displays at screen but online a list of files. Even the installation of Symfony was so easier. I'm really fed up and I'm starting to think if I couldn't learn how to develop with Laravel. I spent all the morning and nearly the afternoon to solve this problem, but without success. I'm not really at ease with system programming compared to web development. I also searched in Google for solutions, but none worked or I don't understand anything. I also restarted Vagrant several times with the provision option, connected with SSH and changed the hosts file in the /etc folder.īut I always have the same message when I type or : "No input file specified.". To: /home/lukas90/vagrant/Sites/laravel-basics/public map: /home/lukas90/Treehouse/Laravel/Homestead/Projects I have followed the instructions with the tutorial, installed Nginx, Vagrant, Virtual Box and Laravel with Composer in the specified folders and here is an overview of my Homestead.yaml : I have been several hours since this morning with the installation of Laravel on Linux - in my case.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |