-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first version of deployment instruction
- Loading branch information
SAPOZHKOV Aleksandr
committed
Nov 26, 2018
1 parent
443d522
commit 1d94f7e
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Requirements | ||
* Hardware | ||
* 12GB free RAM | ||
* 150GB free disk space | ||
* Software | ||
* Vagrant | ||
* Vagrant reload | ||
* Packer | ||
* Oracle VirtualBox | ||
|
||
Run in PowerShell: | ||
```PowerShell | ||
Set-ExecutionPolicy Bypass -Force; | ||
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | ||
choco install -y packer | ||
choco install -y vagrant --version 2.2.0 | ||
``` | ||
Then reboot for finishing insalling Vagrant and continue with the following snippet: | ||
```PowerShell | ||
vagrant plugin install vagrant-reload | ||
``` | ||
|
||
### Removing Hyper-V | ||
``` | ||
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All | ||
``` | ||
|
||
### Installing VirtualBox on Windows | ||
``` | ||
choco install -y virtualbox | ||
``` | ||
|
||
# Creating a development environment | ||
|
||
## PowerShell | ||
`cd` to `images` directory and run `.\preparevmimages.ps1 win2016-ad,win2016-sql2016dbrs,win2016-crm90-code` | ||
`cd` to `stacks/sos-dev-ad-sql2016dbrs-crm20168.1.1` directory or to `dev-ad-sql2016dbrs-dynamics90-code` | ||
|
||
If PowerShell scripts are allowed on the machine, run `..\localdeploy.ps1`. Otherwise run `vagrant up`. | ||
|
||
|
||
Run `vagrant rdp CRM01` or RDP to `127.0.0.1:13392` | ||
account: `sosalarm\_crmadmin` | ||
pass: `c0mp1Expa~~` | ||
|
||
## Resetting SQL and SP machine | ||
|
||
``` | ||
vagrant destroy DB01, CRM01 --force | ||
vagrant up | ||
``` | ||
|
||
`vagrant rdp CRM01` | ||
account: `sosalarm\_crmadmin` | ||
pass: `c0mp1Expa~~` | ||
|
||
# Cleaning up | ||
`cd` to stack directory and run `vagrant destroy --force` | ||
`cd` to `images` directory and run `removevmimages.ps1 win2016-ad,win2016-sql2016dbrs,win2016-crm90-code` | ||
|
||
Consider also removing downloaded ISO files: | ||
|
||
`rm images/packer_cache/*` |