notes; new windows yml
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
|||||||
.aider*
|
.aider*
|
||||||
AI/MCP/*
|
AI/MCP/*
|
||||||
|
.fuse_hidde*
|
||||||
|
|||||||
2
AI/cursor.md
Normal file
2
AI/cursor.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
rules not valid on linux:
|
||||||
|
We are on Windows 11 host with PS as default shell. We have full administrative control. Do not try to use linux commands like 'tail' or other unix specific.
|
||||||
47
MINE/xmr/notes.md
Normal file
47
MINE/xmr/notes.md
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j
|
||||||
|
|
||||||
|
|
||||||
|
cd ~/Downloads
|
||||||
|
wget https://github.com/xmrig/xmrig/releases/download/v6.21.0/xmrig-6.21.0-linux-x64.tar.gz
|
||||||
|
tar -xzf xmrig-6.21.0-linux-x64.tar.gz
|
||||||
|
cd xmrig-6.21.0
|
||||||
|
|
||||||
|
~/Downloads/xmrig-6.21.0$ ./xmrig -o pool.supportxmr.com:443 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p NUC --tls -t 28
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
To run this as a service (keep mining in background):
|
||||||
|
|
||||||
|
Stop current mining (Ctrl+C)
|
||||||
|
|
||||||
|
Create a systemd service:
|
||||||
|
|
||||||
|
bash
|
||||||
|
|
||||||
|
Copy
|
||||||
|
sudo nano /etc/systemd/system/xmrig.service
|
||||||
|
Add this content:
|
||||||
|
ini
|
||||||
|
|
||||||
|
Copy
|
||||||
|
[Unit]
|
||||||
|
Description=XMRig Monero Miner
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=db
|
||||||
|
WorkingDirectory=/home/db/Downloads/xmrig-6.21.0
|
||||||
|
ExecStart=/home/db/Downloads/xmrig-6.21.0/xmrig -o pool.supportxmr.com:443 -u bc1qjn4m6rmrveuxhk02a5qhe4r6kdcsvvt3vhdn9j -p NUC --tls
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Enable and start the service:
|
||||||
|
bash
|
||||||
|
|
||||||
|
Copy
|
||||||
|
sudo systemctl enable xmrig
|
||||||
|
sudo systemctl start xmrig
|
||||||
|
sudo systemctl status xmrig
|
||||||
21
portainer-compose-stacks/windows/windows.yml
Normal file
21
portainer-compose-stacks/windows/windows.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
services:
|
||||||
|
windows: # https://github.com/dockur/windows
|
||||||
|
image: dockurr/windows
|
||||||
|
container_name: win
|
||||||
|
privileged: true
|
||||||
|
environment:
|
||||||
|
VERSION: "11"
|
||||||
|
MANUAL: "Y" # Allow manual installation flow per README
|
||||||
|
devices:
|
||||||
|
- /dev/kvm
|
||||||
|
- /dev/net/tun
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
ports:
|
||||||
|
- 8006:8006
|
||||||
|
- 3389:3389/tcp
|
||||||
|
- 3389:3389/udp
|
||||||
|
volumes:
|
||||||
|
- ./windows:/storage
|
||||||
|
restart: always
|
||||||
|
stop_grace_period: 2m
|
||||||
Reference in New Issue
Block a user