Removed mklink for git

This commit is contained in:
2024-11-06 12:39:13 -07:00
parent a6071a4073
commit 11bb8c848c
263 changed files with 19951 additions and 1508 deletions

View File

@ -1,11 +1,13 @@
---
type: "note"
created: "2024-01-14T02:28:59.264Z"
updated: "2024-04-22T19:10:51.301Z"
created: 2024-01-14T02:28:59.264Z
type: note
updated: 2024-07-18T19:05:24.641Z
---
# ISCN5CG3256CPS
## OpenSSH
```PowerShell Administrator
Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*'
# Install the OpenSSH Client
@ -34,6 +36,8 @@ icacls.exe "C:\ProgramData\ssh\administrators_authorized_keys" /inheritance:r /g
code-insiders "C:\ProgramData\ssh"
```
## PowerShell Modules
```PowerShell
Save-Module -Name PSWindowsUpdate -Path "D:\Downloads\2024" -Repository PSGallery
mkdir "C:\Test\Modules\PowerShellGet\"
@ -44,6 +48,8 @@ Install-WindowsUpdate AcceptAll
Install-WindowsUpdate AcceptAll IgnoreReboot
```
## NGINX Conf
```bash Sat Jan 13 2024 19:37:23 GMT-0700 (Mountain Standard Time)
mkdir "C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps"
powershell -command "Expand-Archive C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps\nssm-2.24.zip C:\Windows\System32\Config\SystemProfile\AppData\Local\IFXApps"
@ -91,10 +97,14 @@ sc stop nginx
sc start nginx
```
## OpenSSL
```bash openssl crt
"C:\Users\phares\AppData\Local\Programs\Git\usr\bin\openssl" req -x509 -nodes -days 365 -newkey rsa:2048 -keyout "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.key" -out "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.crt" -config "L:\DevOps\Mesa_FI\NGINX-Conf\conf\includes\iscn5cg3256cps.conf"
```
## VSCode Settings
```bash
git clone https://tfs.intra.infineon.com/tfs/ManufacturingIT/Mesa_FI/_git/VS-Code-Settings-Phares "L:\DevOps\Mesa_FI\VS-Code-Settings-Phares"
mkdir "C:\Users\Phares\.omnisharp"
@ -143,3 +153,67 @@ REM
- [ ] Move Files from old laptop
- [ ] TFS Agent
- [ ] [build-tools](build-tools.md)
## WSL
```bash Wed Jul 17 2024 10:22:04 GMT-0700 (Mountain Standard Time)
wsl --unregister ubuntu
## Ubuntu
```
```bash Wed Jul 17 2024 10:22:06 GMT-0700 (Mountain Standard Time)
sudo -i
apt-get update
apt-get upgrade -y
timedatectl set-timezone America/Phoenix
apt-get install links unzip git nano ncdu -y
exit
```
```bash Wed Jul 17 2024 10:28:33 GMT-0700 (Mountain Standard Time)
wsl --export Ubuntu "L:\Ubuntu\Ubuntu-Docker-001.tar"
wsl --unregister Ubuntu
wsl --import Ubuntu-Docker Ubuntu-Docker "L:\Ubuntu\Ubuntu-Docker-001.tar"
```
```yaml Wed Jul 17 2024 10:28:36 GMT-0700 (Mountain Standard Time)
Name: Ubuntu-Docker
Command Line: wsl.exe -d Ubuntu-Docker
Tab Title: Ubuntu-Docker
```
```bash Wed Jul 17 2024 12:02:56 GMT-0700 (Mountain Standard Time)
su phares
cd /tmp
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# dockerd-rootless-setuptool.sh install
# https://docs.docker.com/go/rootless/
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
docker ps -a
docker rm df
mkdir /opt/uptime-kuma
nano /opt/uptime-kuma/compose.yaml
```
```yaml Wed Jul 17 2024 13:33:16 GMT-0700 (Mountain Standard Time)
services:
uptime-kuma:
image: louislam/uptime-kuma:1
volumes:
- ./data:/app/data
ports:
# <Host Port>:<Container Port>
- 3010:3001
restart: unless-stopped
```
```bash Wed Jul 17 2024 13:33:24 GMT-0700 (Mountain Standard Time)
docker compose up -d
systemctl status docker
docker ps -a
docker logs -f --tail 50 uptime-kuma-uptime-kuma-1
exit
```