6 months 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
Beginning Ubuntu LTS Server Administration: From Novice to ...
MKS Integrity Server 2005 Installation Guide -
70-410 BrainDumps
C2040-406 Exam BrainDumps are Out - Download and Prepare
System Administrator Guide - Web Curator Tool - SourceForge
Be Ready for What's Next - Kaspersky Lab
Extended Alliance with Red Hat Introduces New Database ... - Sybase
How To Install McAfee on Mac OS X – 1800-243-00551 Support Desk
Beginning Ubuntu LTS Server Administration: From Novice to ...
vmsecure ssi support.pdf -
Successful Techniques for Lights-Out Management with ... - OpenMPE
Agent Installation Overview - Online Help Home - Trend Micro
Deploymentv1 - Cost Estimating Software
Red Hat Linux Networkingand System Administration
System Administrator Guide - Web Curator Tool - SourceForge
installing versant object database - Your Projects
HP Leadership With Oracle Validated Configurations - Large ...
Oracle 10g Automatic Storage Management on HP ... - OpenMPE