SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Vagrant and SQL Server 2017 on Linux


Vagrant and SQL Server 2017 on Linux

Author
Message
Dave Poole
Dave Poole
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29633 Visits: 3602
Comments posted to this topic are about the item Vagrant and SQL Server 2017 on Linux

LinkedIn Profile
www.simple-talk.com
mark_matten
mark_matten
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 22
Great stuff.

We’ve done something similar on the DbFit project, but using Chef to pull the installer package from the MS package repo, and install it. On the Vageant VM.

It’s here if you’re interested:

https://github.com/dbfit/dbfit/pull/577
Dave Poole
Dave Poole
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29633 Visits: 3602
That's great. I'll have a look to see if I can get DbFit working with Vertica

LinkedIn Profile
www.simple-talk.com
mark_matten
mark_matten
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 22
Awesome. We’re always open to contributions!
Solomon Rutzky
Solomon Rutzky
SSCertifiable
SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)

Group: General Forum Members
Points: 5981 Visits: 3084
Awesome article (as usual Smile ), Dave. Thanks for sharing the info. Two questions:


  • In the network config section, you first show a commented-out line of:
    # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1"


    and the next line shows the "configured" value being:
    host_ip: "127,0,0,1"


    Are the commas instead of periods in the IP address a typo?

  • For getting VirtualBox images, do you have to get them from the Vagrant site, or will Vagrant work with images taken from sites such as OSBoxes: http://www.osboxes.org/ubuntu/ ??



P.S. I am also a huge fan / supporter of DbFit. I even wrote an article about it years ago, here on SQL Server Central (probably obsolete now): Easy and Repeatable Testing of DB Code (Stored Procs, etc.) with DbFit

SQL# - https://SQLsharp.com/
Sql Quantum Lift - https://SqlQuantumLift.com/
Dave Poole
Dave Poole
One Orange Chip
One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)One Orange Chip (29K reputation)

Group: General Forum Members
Points: 29633 Visits: 3602
Hi Solomon, I've no idea where the commas came from so it's a typo.
When you get a Virtual Box image it puts the template for the image in your Windows profile somewhere. If the box exists on the Hashicorp site it will detect if the template version differs from the one on the site and recommend that you run Vagrant box update.
If you get your box instance from another site you can tell Vagrant to package it up as a template so you can run Vagrant up.
I have had virtual boxes from many sources, not just the one mentioned in the article. I've not always been successful when trying to package them up as Vagrant boxes though. It's theoretically possible, I just don't know enough to do it reliably every time

LinkedIn Profile
www.simple-talk.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search