About Installing homestead using vagrant in ubuntu

Source: Internet
Author: User
I downloaded homestead offline and installed it offline. The following are my installation steps: 1. use a plug-in file to add the box {code ...} 2. use composer to install homestead globally {code ...} the installation was not successful because it was not found under homewaterchan. composer... I downloaded homestead offline and installed it offline. Follow these steps:
1. Add a box using a plug-in file

vagrant box add laravel/homestead /home/waterchan/homestead.box

2. Use composer to install homestead globally

composer global require "laravel/homestead=~2.0"

The installation was not successful because the. composer directory was not found in/home/waterchan. When composer installs homestead, it will install it to the vender directory under the. composer directory.
I would like to ask you how to install the downloaded homestead.

Reply content:

I downloaded homestead offline and installed it offline. Follow these steps:
1. Add a box using a plug-in file

vagrant box add laravel/homestead /home/waterchan/homestead.box

2. Use composer to install homestead globally

composer global require "laravel/homestead=~2.0"

The installation was not successful because the. composer directory was not found in/home/waterchan. When composer installs homestead, it will install it to the vender directory under the. composer directory.
I would like to ask you how to install the downloaded homestead.

The installation of composer is not automatically created ~ /. Composer directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.