Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save svpernova09/5ae487fad2a97b3d494aa1c3fc7ed046 to your computer and use it in GitHub Desktop.
Save svpernova09/5ae487fad2a97b3d494aa1c3fc7ed046 to your computer and use it in GitHub Desktop.
Windows10 Virtualbox Composer Create
C:\Users\media\Code\homestead (master)
λ vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '8.0.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
homestead: 80 (guest) => 8000 (host) (adapter 1)
homestead: 443 (guest) => 44300 (host) (adapter 1)
homestead: 3306 (guest) => 33060 (host) (adapter 1)
homestead: 4040 (guest) => 4040 (host) (adapter 1)
homestead: 5432 (guest) => 54320 (host) (adapter 1)
homestead: 8025 (guest) => 8025 (host) (adapter 1)
homestead: 9600 (guest) => 9600 (host) (adapter 1)
homestead: 27017 (guest) => 27017 (host) (adapter 1)
homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
homestead: SSH address: 127.0.0.1:2222
homestead: SSH username: vagrant
homestead: SSH auth method: private key
homestead: Warning: Connection reset. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Remote connection disconnect. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Connection reset. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Connection reset. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Remote connection disconnect. Retrying...
homestead: Warning: Connection reset. Retrying...
homestead:
homestead: Vagrant insecure key detected. Vagrant will automatically replace
homestead: this with a newly generated keypair for better security.
homestead:
homestead: Inserting generated public key within guest...
homestead: Removing insecure key from the guest if it's present...
homestead: Key inserted! Disconnecting and reconnecting using new SSH key...
==> homestead: Machine booted and ready!
==> homestead: Checking for guest additions in VM...
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
homestead: /vagrant => C:/Users/media/Code/homestead
homestead: /home/vagrant/qs => C:/Users/media/Downloads/quickstart-5.5
==> homestead: Running provisioner: file...
homestead: C:/Users/media/Code/homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead:
homestead: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgKBB9IYFd2kLvwlaha4RP4XGKupgN663V1qvEsbK/GtuQr2/9R9gC315XoTJZKxDc0dusmOnDcUUBS+kX/u1N5Vm8blg+cl9Y+1R/Vlrw2J89TV/IUkQB2srOdHxlurarCBPCbU8KotTKvyDB7MQBOuqUhHmfQ7RxdxAEzJrf3BPNKn7jKwBvpcr+hecJVrxebL4FAL+Fs8bqHTytvmXGfu4BNwm8jOjuGjxZavXFn25C4K/DndPBn8M2BAohHVc5MCuMg1zMY6pll6RAheKml89l0mwCmjMfO1HdY+R2YNxkM6FsBaGGHectfOgOlnWOaaBmN2iIQ8mM6JKiG0hZ media@mediabox
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: mariadb because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: ohmyzsh because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: webdriver because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/media/AppData/Local/Temp/vagrant-shell20190707-11744-1yv21it.sh
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/media/AppData/Local/Temp/vagrant-shell20190707-11744-cptw9y.sh
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Certificate: homestead.test
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Site: homestead.test
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/media/AppData/Local/Temp/vagrant-shell20190707-11744-188v8yb.sh
==> homestead: Running provisioner: shell...
homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: shell...
homestead: Running: script: Clear Variables
==> homestead: Running provisioner: shell...
homestead: Running: script: Restarting Cron
==> homestead: Running provisioner: shell...
homestead: Running: script: Restarting Nginx
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating MySQL Database: homestead
==> homestead: Running provisioner: shell...
homestead: Running: script: Creating Postgres Database: homestead
==> homestead: Running provisioner: shell...
homestead: Running: script: Update Composer
homestead: You are already using composer version 1.8.6 (stable channel).
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/media/AppData/Local/Temp/vagrant-shell20190707-11744-rqv91g.sh
==> homestead: Running provisioner: shell...
homestead: Running: script: Update motd
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/media/AppData/Local/Temp/vagrant-shell20190707-11744-27nuzm.sh
C:\Users\media\Code\homestead (master)
λ vagrant ssh
Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-54-generic x86_64)
Thanks for using
_ _ _
| | | | | |
| |__ ___ _ __ ___ ___ ___| |_ ___ __ _ __| |
| '_ \ / _ \| '_ ` _ \ / _ \/ __| __/ _ \/ _` |/ _` |
| | | | (_) | | | | | | __/\__ \ || __/ (_| | (_| |
|_| |_|\___/|_| |_| |_|\___||___/\__\___|\__,_|\__,_|
* Homestead v9.0.0 released
* Settler v8.0.0 released
0 packages can be updated.
0 updates are security updates.
vagrant@homestead:~$ composer create-project symfony/website-skeleton symfony4
1/11: http://repo.packagist.org/p/provider-archived$2edb7b4fbca3e9f5a61bfdda69582a5e3843b748dd030acf2ec34104f65c6d17.json
2/11: http://repo.packagist.org/p/provider-2013$2ba73e84ca5e9f441de3d6fcee945a5b6d50707cf0b9c3a41b3ebec9ab65c003.json
3/11: http://repo.packagist.org/p/provider-latest$9f9fe2d5c0e8c75dd3bb43c38b72f2e8edce24ffdb54dd722ee205b13c8d656d.json
4/11: http://repo.packagist.org/p/provider-2018-10$49d4beb034440a04a6daeca33e98ada83bebae552c445d8cb42f95f6b4332712.json
5/11: http://repo.packagist.org/p/provider-2014$0a5ce8b24ddb8417ea7288cb02cf77a82ca7f2f4103fff9065cbe8d22747bad0.json
6/11: http://repo.packagist.org/p/provider-2019-01$d27e9d04d5e0feed22a26e1d0ceec2325beac70c1790b93dffc0c8f50b1c0cf0.json
7/11: http://repo.packagist.org/p/provider-2016$28477866dd472d6c78abff5076d1e73211bbf8150067bc4f38ff85b131558ce7.json
8/11: http://repo.packagist.org/p/provider-2015$de58705c5592f435e0b3492a6b5f3bbf4ae52bb6f66f7b3aaf1576e2848019d9.json
9/11: http://repo.packagist.org/p/provider-2019-04$9bc41de1d81ae97bfac5c29fbeeda8dbb39a1af91710af1527ac6d7170fac316.json
10/11: http://repo.packagist.org/p/provider-2017$6d6d8e003bc38b171476a2077b6b3e477a6b729f8950fb80435c76ab12873e31.json
11/11: http://repo.packagist.org/p/provider-2018$056352cfb52dedffc801567dae90c25308e67c5d6690f49389876abe9c256e47.json
Finished: success: 11, skipped: 0, failure: 0, total: 11
1/11: http://repo.packagist.org/p/provider-archived$2edb7b4fbca3e9f5a61bfdda69582a5e3843b748dd030acf2ec34104f65c6d17.json
2/11: http://repo.packagist.org/p/provider-2014$0a5ce8b24ddb8417ea7288cb02cf77a82ca7f2f4103fff9065cbe8d22747bad0.json
3/11: http://repo.packagist.org/p/provider-2013$2ba73e84ca5e9f441de3d6fcee945a5b6d50707cf0b9c3a41b3ebec9ab65c003.json
4/11: http://repo.packagist.org/p/provider-2018-10$49d4beb034440a04a6daeca33e98ada83bebae552c445d8cb42f95f6b4332712.json
5/11: http://repo.packagist.org/p/provider-2019-01$d27e9d04d5e0feed22a26e1d0ceec2325beac70c1790b93dffc0c8f50b1c0cf0.json
6/11: http://repo.packagist.org/p/provider-latest$9f9fe2d5c0e8c75dd3bb43c38b72f2e8edce24ffdb54dd722ee205b13c8d656d.json
7/11: http://repo.packagist.org/p/provider-2015$de58705c5592f435e0b3492a6b5f3bbf4ae52bb6f66f7b3aaf1576e2848019d9.json
8/11: http://repo.packagist.org/p/provider-2018$056352cfb52dedffc801567dae90c25308e67c5d6690f49389876abe9c256e47.json
9/11: http://repo.packagist.org/p/provider-2019-04$9bc41de1d81ae97bfac5c29fbeeda8dbb39a1af91710af1527ac6d7170fac316.json
10/11: http://repo.packagist.org/p/provider-2016$28477866dd472d6c78abff5076d1e73211bbf8150067bc4f38ff85b131558ce7.json
11/11: http://repo.packagist.org/p/provider-2017$6d6d8e003bc38b171476a2077b6b3e477a6b729f8950fb80435c76ab12873e31.json
Finished: success: 11, skipped: 0, failure: 0, total: 11
Installing symfony/website-skeleton (v4.3.99)
- Installing symfony/website-skeleton (v4.3.99): Downloading (100%)
Created project in symfony4
Loading composer repositories with package information
Updating dependencies (including require-dev)
1/1: https://codeload.github.com/symfony/flex/legacy.zip/a388cacccf6e3c5e5a395e020c5aa05849ea4ccc
Finished: success: 1, skipped: 0, failure: 0, total: 1
Package operations: 1 install, 0 updates, 0 removals
- Installing symfony/flex (v1.4.1): Loading from cache
Symfony operations: 1 recipe (b7a1a60da00f43fed57ce81eb5128c5d)
- Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.3.*"
Prefetching 92 packages �� ��
- Downloading (100%)
Package operations: 103 installs, 0 updates, 0 removals
- Installing ocramius/package-versions (1.4.0): Loading from cache
- Installing doctrine/lexer (1.0.2): Loading from cache
- Installing doctrine/annotations (v1.6.1): Loading from cache
- Installing doctrine/reflection (v1.0.0): Loading from cache
- Installing doctrine/event-manager (v1.0.0): Loading from cache
- Installing doctrine/collections (v1.6.2): Loading from cache
- Installing doctrine/cache (v1.8.0): Loading from cache
- Installing doctrine/persistence (1.1.1): Loading from cache
- Installing psr/log (1.1.0): Loading from cache
- Installing symfony/polyfill-php73 (v1.11.0): Loading from cache
- Installing symfony/debug (v4.3.2): Loading from cache
- Installing symfony/polyfill-mbstring (v1.11.0): Loading from cache
- Installing symfony/polyfill-php72 (v1.11.0): Loading from cache
- Installing symfony/polyfill-intl-idn (v1.11.0): Loading from cache
- Installing symfony/mime (v4.3.2): Loading from cache
- Installing symfony/http-foundation (v4.3.2): Loading from cache
- Installing symfony/event-dispatcher-contracts (v1.1.5): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing symfony/event-dispatcher (v4.3.2): Loading from cache
- Installing symfony/http-kernel (v4.3.2): Loading from cache
- Installing symfony/service-contracts (v1.1.5): Loading from cache
- Installing symfony/dependency-injection (v4.3.2): Loading from cache
- Installing symfony/routing (v4.3.2): Loading from cache
- Installing symfony/finder (v4.3.2): Loading from cache
- Installing symfony/filesystem (v4.3.2): Loading from cache
- Installing symfony/config (v4.3.2): Loading from cache
- Installing symfony/var-exporter (v4.3.2): Loading from cache
- Installing symfony/cache-contracts (v1.1.5): Loading from cache
- Installing symfony/cache (v4.3.2): Loading from cache
- Installing symfony/framework-bundle (v4.3.2): Loading from cache
- Installing sensio/framework-extra-bundle (v5.4.0): Loading from cache
- Installing symfony/asset (v4.3.2): Loading from cache
- Installing symfony/dotenv (v4.3.2): Loading from cache
- Installing symfony/expression-language (v4.3.2): Loading from cache
- Installing symfony/inflector (v4.3.2): Loading from cache
- Installing symfony/property-access (v4.3.2): Loading from cache
- Installing symfony/options-resolver (v4.3.2): Loading from cache
- Installing symfony/intl (v4.3.2): Loading from cache
- Installing symfony/polyfill-intl-icu (v1.11.0): Loading from cache
- Installing symfony/form (v4.3.2): Loading from cache
- Installing symfony/http-client-contracts (v1.1.5): Loading from cache
- Installing symfony/http-client (v4.3.2): Loading from cache
- Installing symfony/stopwatch (v4.3.2): Loading from cache
- Installing symfony/console (v4.3.2): Loading from cache
- Installing zendframework/zend-eventmanager (3.2.1): Loading from cache
- Installing zendframework/zend-code (3.3.1): Loading from cache
- Installing ocramius/proxy-manager (2.2.2): Loading from cache
- Installing doctrine/dbal (v2.9.2): Loading from cache
- Installing doctrine/migrations (v2.1.0): Loading from cache
- Installing doctrine/inflector (v1.3.0): Loading from cache
- Installing doctrine/common (v2.10.0): Loading from cache
- Installing symfony/doctrine-bridge (v4.3.2): Loading from cache
- Installing doctrine/doctrine-cache-bundle (1.3.5): Loading from cache
- Installing symfony/security-core (v4.3.2): Loading from cache
- Installing jdorn/sql-formatter (v1.2.17): Loading from cache
- Installing doctrine/doctrine-bundle (1.11.2): Loading from cache
- Installing doctrine/doctrine-migrations-bundle (v2.0.0): Loading from cache
- Installing symfony/yaml (v4.3.2): Loading from cache
- Installing doctrine/instantiator (1.2.0): Loading from cache
- Installing doctrine/orm (v2.6.3): Loading from cache
- Installing symfony/orm-pack (v1.0.6): Loading from cache
- Installing symfony/security-http (v4.3.2): Loading from cache
- Installing symfony/security-guard (v4.3.2): Loading from cache
- Installing symfony/security-csrf (v4.3.2): Loading from cache
- Installing symfony/security-bundle (v4.3.2): Loading from cache
- Installing symfony/serializer (v4.3.2): Loading from cache
- Installing symfony/property-info (v4.3.2): Loading from cache
- Installing webmozart/assert (1.4.0): Loading from cache
- Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
- Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
- Installing phpdocumentor/reflection-docblock (4.3.1): Loading from cache
- Installing symfony/serializer-pack (v1.0.2): Loading from cache
- Installing egulias/email-validator (2.1.9): Loading from cache
- Installing swiftmailer/swiftmailer (v6.2.1): Loading from cache
- Installing symfony/swiftmailer-bundle (v3.2.8): Loading from cache
- Installing symfony/translation-contracts (v1.1.5): Loading from cache
- Installing symfony/translation (v4.3.2): Loading from cache
- Installing symfony/validator (v4.3.2): Loading from cache
- Installing psr/link (1.0.0): Loading from cache
- Installing fig/link-util (1.0.0): Loading from cache
- Installing symfony/web-link (v4.3.2): Loading from cache
- Installing symfony/var-dumper (v4.3.2): Loading from cache
- Installing twig/twig (v2.11.3): Loading from cache
- Installing symfony/twig-bridge (v4.3.2): Loading from cache
- Installing symfony/twig-bundle (v4.3.2): Loading from cache
- Installing symfony/web-profiler-bundle (v4.3.2): Loading from cache
- Installing symfony/profiler-pack (v1.0.4): Loading from cache
- Installing monolog/monolog (1.24.0): Loading from cache
- Installing easycorp/easy-log-handler (v1.0.7): Loading from cache
- Installing symfony/monolog-bridge (v4.3.2): Loading from cache
- Installing symfony/monolog-bundle (v3.4.0): Loading from cache
- Installing symfony/debug-bundle (v4.3.2): Loading from cache
- Installing symfony/debug-pack (v1.0.7): Loading from cache
- Installing nikic/php-parser (v4.2.2): Loading from cache
- Installing symfony/maker-bundle (v1.11.6): Loading from cache
- Installing symfony/phpunit-bridge (v4.3.2): Loading from cache
- Installing symfony/css-selector (v4.3.2): Loading from cache
- Installing symfony/dom-crawler (v4.3.2): Loading from cache
- Installing symfony/browser-kit (v4.3.2): Loading from cache
- Installing symfony/test-pack (v1.0.6): Loading from cache
- Installing symfony/process (v4.3.2): Loading from cache
- Installing symfony/web-server-bundle (v4.3.2): Loading from cache
Writing lock file
Generating autoload files
Symfony operations: 20 recipes (7961a91b324807cf284bcb8e9647f94d)
- Configuring symfony/framework-bundle (>=4.2): From github.com/symfony/recipes:master
- Configuring doctrine/annotations (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/routing (>=4.2): From github.com/symfony/recipes:master
- Configuring sensio/framework-extra-bundle (>=5.2): From github.com/symfony/recipes:master
- Configuring symfony/console (>=3.3): From github.com/symfony/recipes:master
- Configuring doctrine/doctrine-cache-bundle (>=1.3.5): From auto-generated recipe
- Configuring doctrine/doctrine-bundle (>=1.6): From github.com/symfony/recipes:master
- Configuring doctrine/doctrine-migrations-bundle (>=1.2): From github.com/symfony/recipes:master
- Configuring symfony/security-bundle (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/swiftmailer-bundle (>=2.5): From github.com/symfony/recipes:master
- Configuring symfony/translation (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/validator (>=4.3): From github.com/symfony/recipes:master
- Configuring symfony/twig-bundle (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/web-profiler-bundle (>=3.3): From github.com/symfony/recipes:master
- Configuring easycorp/easy-log-handler (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/monolog-bundle (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/debug-bundle (>=4.1): From github.com/symfony/recipes:master
- Configuring symfony/maker-bundle (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/phpunit-bridge (>=4.3): From github.com/symfony/recipes:master
- Configuring symfony/web-server-bundle (>=3.3): From github.com/symfony/recipes:master
ocramius/package-versions: Generating version class...
ocramius/package-versions: ...done generating version class
Executing script cache:clear [OK]
Executing script assets:install public [OK]
Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.
What's next?
* Run your application:
1. Go to the project directory
2. Create your code repository with the git init command
3. Download the Symfony CLI at https://symfony.com/download to install a development web server
* Read the documentation at https://symfony.com/doc
Database Configuration
* Modify your DATABASE_URL config in .env
* Configure the driver (mysql) and
server_version (5.7) in config/packages/doctrine.yaml
How to test?
* Write test cases in the tests/ folder
* Run php bin/phpunit
vagrant@homestead:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment