j143 / systemds

An opensource ML system for end-to-end data science lifecycle
Apache License 2.0
0 stars 1 forks source link

Install SystemDS powershell script #47

Open j143 opened 3 years ago

j143 commented 3 years ago

For example, https://github.com/actions/virtual-environments/blob/main/images/win/scripts/Installers/Install-Chrome.ps1

# Download and install latest Chrome browser
$ChromeInstallerFile = "chrome_installer.exe"
$ChromeInstallerUrl = "https://dl.google.com/chrome/install/375.126/${ChromeInstallerFile}"
Install-Binary -Url $ChromeInstallerUrl -Name $ChromeInstallerFile -ArgumentList ("/silent", "/install")

# Prepare firewall rules
Write-Host "Adding the firewall rule for Google update blocking..."
New-NetFirewallRule -DisplayName "BlockGoogleUpdate" -Direction Outbound -Action Block -Program "C:\Program Files (x86)\Google\Update\GoogleUpdate.exe"

$GoogleSvcs = ('gupdate','gupdatem')
$GoogleSvcs | Stop-SvcWithErrHandling -StopOnError
$GoogleSvcs | Set-SvcWithErrHandling -Arguments @{StartupType = "Disabled"}

...
j143 commented 2 years ago

https://github.com/j143/notebooks/blob/main/Install-SystemDS.ps1