initial commit: copy publishable information out of private installation notes repo
This commit is contained in:
27
windows10/gitea_runner.md
Normal file
27
windows10/gitea_runner.md
Normal file
@@ -0,0 +1,27 @@
|
||||
# Gitea Runner on Windows 10
|
||||
|
||||
## Setup
|
||||
1. Download `.exe` from https://gitea.com/gitea/act_runner/releases
|
||||
2. Register runner
|
||||
3. Move `.exe` and `.runner` to `C:\Program Files\gitea\`
|
||||
4. Add `C:\Program Files\gitea\runner.bat`
|
||||
```bat
|
||||
cd "C:\Program Files\gitea"
|
||||
act_runner-0.2.6-windows-amd64.exe daemon
|
||||
```
|
||||
5. Add startup task with task scheduler.
|
||||
Program: `C:\Windows\System32\cmd.exe`
|
||||
Arguments: `/k "C:\Program Files\gitea\runner.bat"`
|
||||
- Disable auto-stop after 3 days
|
||||
- Run whether user is logged in or not
|
||||
6. From admin powershell change the execution policy
|
||||
`Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine`
|
||||
7. Download `nvm-setup.exe` from https://github.com/coreybutler/nvm-windows/releases and install
|
||||
- Verify installation with `nvm ls` which should say `No installations recognized.`
|
||||
8. `nvm list available` to determine the latest LTS version
|
||||
9. Install the latest LTS version `nvm install 20.11.1` (replace version)
|
||||
10. `nvm use 20.11.1` to select what was just installed
|
||||
11. Download and install git (64b) from https://git-scm.com/download/win (default settings are fine)
|
||||
|
||||
## Updating
|
||||
Just download a new `.exe` and update the path in `runner.bat`
|
81
windows10/windows10.md
Normal file
81
windows10/windows10.md
Normal file
@@ -0,0 +1,81 @@
|
||||
# Windows 10
|
||||
|
||||
## Virtual Machine
|
||||
|
||||
- virtio drivers are required during the installation process. They can be found here: https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md
|
||||
- Enable remote desktop
|
||||
- Hide all the random crap in the start menu and taskbar (weather, news, giant grid of apps)
|
||||
|
||||
### To do
|
||||
- [ ] Fix shutdown command from PVE
|
||||
|
||||
## Guest agent
|
||||
https://pve.proxmox.com/wiki/Qemu-guest-agent
|
||||
|
||||
> First you have to download the virtio-win driver iso (see Windows VirtIO Drivers).
|
||||
>
|
||||
> Then install the virtio-serial driver:
|
||||
> - Attach the ISO to your windows VM (virtio-*.iso)
|
||||
> - Go to the windows Device Manager
|
||||
> - Look for "PCI Simple Communications Controller"
|
||||
> - Right Click -> Update Driver and select on the mounted iso in DRIVE:\vioserial\<OSVERSION>\ where <OSVERSION> is your Windows Version (e.g. 2k12R2 for Windows 2012 R2)
|
||||
>
|
||||
> After that, you have to install the qemu-guest-agent:
|
||||
> - Go to the mounted ISO in explorer
|
||||
> - The guest agent installer is in the directory guest-agent
|
||||
> - Execute the installer with double click (either qemu-ga-x86_64.msi (64-bit) or qemu-ga-i386.msi (32-bit)
|
||||
|
||||
## Basic software
|
||||
|
||||
### Terminal
|
||||
|
||||
You can try doing it through the windows store but that was giving me issues if I didn't log into a microsoft account.
|
||||
Instead just use this command from powershell
|
||||
|
||||
```powershell
|
||||
winget install --id Microsoft.WindowsTerminal -e
|
||||
```
|
||||
|
||||
### Downloads
|
||||
|
||||
- [Chrome](https://www.google.com/chrome/index.html)
|
||||
- [Firefox](https://www.mozilla.org/en-US/firefox/download/thanks/)
|
||||
- [7-zip](https://www.7-zip.org/)
|
||||
- [git](https://git-scm.com/download/win)
|
||||
- [Tortoise Git](https://tortoisegit.org/download/)
|
||||
- [WinDirStat](https://windirstat.net/download.html)
|
||||
- [Greenshot](https://getgreenshot.org/downloads/)
|
||||
- [Python](https://www.python.org/downloads/)
|
||||
|
||||
### Resize Boot Disk
|
||||
|
||||
The boot disk includes a recovery partion after the `C:` partition so increasing the partition size after resizing the virtual disk is problematic.
|
||||
|
||||
From admin powershell:
|
||||
|
||||
```powershell
|
||||
reagentc /info
|
||||
reagentc /disable
|
||||
reagentc /info
|
||||
```
|
||||
|
||||
This should now report `Disabled`
|
||||
|
||||
Now it's time to remove the recovery partition
|
||||
|
||||
```powershell
|
||||
diskpart
|
||||
```
|
||||
|
||||
From within `diskpart` run the following (changing the disk and partition numbers of course)
|
||||
|
||||
```
|
||||
list disk
|
||||
select disk 0
|
||||
list partition
|
||||
select partition 3
|
||||
delete partition override
|
||||
exit
|
||||
```
|
||||
|
||||
Then from the disk management GUI, extend the `C:` partition to fill the disk.
|
Reference in New Issue
Block a user