1 week ago


Chapter 1. Introducing

Chapter 1. Introducing Laravel 13 1 sites: 2 - map: 3 to: /home/vagrant/Code/ Save the changes and we’ll next create a quick test to confirm you can indeed talk to the Homestead webserver. Create the directory identified by the map attribute, and inside it create a directory named public. Create a file named index.php inside the public directory, adding the following contents to it: 1 Save these changes, and then run the following command from within your Homestead directory: 1 $ vagrant up 2 Bringing machine 'default' up with 'virtualbox' provider... 3 ==> default: Importing base box 'laravel/homestead'... 4 ==> default: Matching MAC address for NAT networking... 5 ==> default: Checking if box 'laravel/homestead' is up to date... 6 ==> default: Setting the name of the VM: homestead-7 7 ==> default: Clearing any previously set network interfaces... 8 ==> default: Preparing network interfaces based on configuration... 9 ... 10 ==> default: Forwarding ports... 11 default: 80 => 8000 (adapter 1) 12 default: 443 => 44300 (adapter 1) 13 default: 3306 => 33060 (adapter 1) 14 default: 5432 => 54320 (adapter 1) 15 default: 22 => 2222 (adapter 1) 16 ==> default: Running 'pre-boot' VM customizations... 17 ==> default: Booting VM... 18 $ Your Homestead virtual machine is up and running! With that done, we have one remaining step. We’ll need to configure your laptop to recognize what it should do when the dev.todoparrot URL defined in Homestead.yaml is requested in the browser. To do so, you’ll need to update your development machine’s hosts file so you can easily access the server via a hostname rather than the IP address found in the Homestead.yaml file. If you’re running OSX or Linux, this file is found at /etc/hosts. If you’re running Windows, you’ll find the file at C:\Windows\System32\drivers\etc\hosts. Open up this file and add the following line:

Chapter 1. Introducing Laravel 14 1 After saving these changes, we’ll want to create the Laravel project that will be served via this URL. However, there still remains plenty to talk about regarding Homestead and virtual machine management so in the sections that follow I discuss several important matters pertaining to this topic. For the moment though I suggest jumping ahead to the section “Creating the TODOParrot Application” and returning to the below sections later. Managing Your Virtual Machine There are a few administrative tasks you’ll occasionally need to carry out regarding management of your virtual machine. For example, if you’d like to shut down the virtual machine you can do so using the following command: 1 $ vagrant halt 2 ==> default: Attempting graceful shutdown of VM... 3 $ To later boot the machine back up, you can execute vagrant up as we did previously: 1 $ vagrant up If you’d like to delete the virtual machine (including all data within it), you can use the destroy command: 1 $ vagrant destroy I stress executing the destroy command this will delete the virtual machine and all of its data! Executing this command is very different from shutting down the machine using halt. If you happen to have installed more than one box (it can be addictive), use the box list command to display them: 1 $ vagrant box list 2 laravel/homestead (virtualbox, 0.4.2) These are just a few of the many commands available to you. Run vagrant --help for a complete listing of what’s available:

70-417 BrainDumps Discount
Deploymentv1 - Cost Estimating Software
Be Ready for What's Next - Kaspersky Lab
Beginning Ubuntu LTS Server Administration: From Novice to ...
MKS Integrity Server 2005 Installation Guide -
Extended Alliance with Red Hat Introduces New Database ... - Sybase
70-646 Real BrainDumps
Beginning Ubuntu LTS Server Administration: From Novice to ...
Free 70-740 Real Exam Questions - Free 70-740 Dumps PDF
1Z0-034 Exam BrainDumps are Out - Download and Prepare
GE0-703 Real Exam BrainDumps Updated 2016
Installation and Configuration Guide - Autodesk
Database Replication Guide -
C2040-406 Exam BrainDumps are Out - Download and Prepare
Real ST0-141 Exam BrainDumps
System Administrator Guide - Web Curator Tool - SourceForge
Real 70-247 Exam BrainDumps for Free
ST0-200 Real BrainDumps
Pass 2V0-620 Certifications With 100% Passing Guarantee | Updated Dumps