https://github.com/matsuu/wsl-private-isu
private-isu環境をWSL2上で構築するためのスクリプト
https://github.com/matsuu/wsl-private-isu
isucon
Last synced: 23 days ago
JSON representation
private-isu環境をWSL2上で構築するためのスクリプト
- Host: GitHub
- URL: https://github.com/matsuu/wsl-private-isu
- Owner: matsuu
- License: mit
- Created: 2023-09-08T23:00:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-08T23:15:17.000Z (about 2 years ago)
- Last Synced: 2025-03-30T15:34:18.545Z (6 months ago)
- Topics: isucon
- Language: PowerShell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wsl-private-isu
## これはなに
WSL2上にprivate-isuの環境を構築するスクリプトです。
## 事前準備
WSL2上でsystemdを動作させるためWSLのバージョン0.67.6以降を用意してください。
## 構築
PowerShell上で以下を実行します。
```
# ダウンロード
git clone https://github.com/matsuu/wsl-private-isu.git# ディレクトリに移動
cd wsl-private-isu# 一時的にPowerShell実行を許可
Set-ExecutionPolicy RemoteSigned -Scope Process# 構築スクリプト実行(引数はDistro名、インストールパス)
.\build.ps1 private-isu .\private-isu
```## 実行
```
wsl.exe ~ -d private-isu /bin/bash -l
```### サイト表示確認
http://localhost/
### ベンチマーク実行
```
cd ~/private_isu/benchmarker
bin/benchmarker -u userdata -t http://127.0.0.1
```## 関連
* [catatsuy/private-isu](https://github.com/catatsuy/private-isu)
## TODO
* エラー制御
* 二重実行の防止
* `/etc/resolv.conf` 周りの調整
* PowerShellなんもわからん