サーバの設定をしよう

今回はwindowsサーバを利用します.

  1. サーバへのGoogle Chromeのインストール
  2. AnacondaによるPythonのインストール
  3. PostgreSQLのインストール
  4. Firewallの設定
  5. Anaconda Powershellを用いたoTreeのインストール
  6. Settings.pyでの設定

1. windowsサーバを立ち上げる

2. Google Chromeのインストール

サーバへのGoogle Chromeをインストールする

$Path = $env:TEMP; $Installer = "chrome_installer.exe"; Invoke-WebRequest "<https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D%26browser%3D0%26usagestats%3D1%26appname%3DGoogle%2520Chrome%26needsadmin%3Dprefers%26brand%3DGTPM/update2/installers/ChromeSetup.exe>" -OutFile $Path\\$Installer; Start-Process -FilePath $Path\\$Installer -Args "/silent /install" -Verb RunAs -Wait; Remove-Item $Path\\$Installer

スクリーンショット 2022-01-27 14.45.45.png

3. pythonをインストールする

https://www.python.org/downloads/