Eigene Skills vom MacBook (9 Skills)
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
---
|
||||
name: strato-server-management
|
||||
description: Manage Strato server tasks and infrastructure via SSH.
|
||||
version: 0.1.0
|
||||
author: Hermes
|
||||
platforms: [macos]
|
||||
metadata:
|
||||
hermes:
|
||||
tags:
|
||||
- Strato
|
||||
- Server
|
||||
- Management
|
||||
- Devops
|
||||
---
|
||||
# strato-server-management
|
||||
|
||||
This umbrella skill covers task execution on Strato servers (haslach2025/mindboost infrastructure). Related skills include strato-server-tasks for post-breach tasklists.
|
||||
|
||||
## When to Use
|
||||
- User requests task execution on Strato server 85.215.56.185
|
||||
- Tasks involve Docker containers, Traefik, Nextcloud, invoiceninja, Laravel, or PHP version management
|
||||
- SSH key management and server access patterns
|
||||
|
||||
## Prerequisites
|
||||
- ssh-agent running with appropriate private key loaded
|
||||
- Server `85.215.56.185` reachable as `root`
|
||||
- Docker and docker-compose installed
|
||||
- Access to `/opt/containers/` directory tree
|
||||
|
||||
## Quick Reference
|
||||
- SSH connection: `ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@85.215.56.185`
|
||||
- Docker compose: `cd <dir> && docker compose up -d <service>`
|
||||
- Traefik version upgrades via env vars and docker compose
|
||||
- dynamic_conf.yml cleanup for router/middleware removal
|
||||
|
||||
- msmtp Workaround: When /var/log/msmtp.log is inaccessible (Permission denied without sudo), create user-level config at ~/.msmtprc with logfile ~/.msmtp.log. Touch the log file and set chmod 644: `touch ~/.msmtp.log && chmod 644 ~/.msmtp.log`. Avoid sudo for log management when possible.
|
||||
|
||||
## Related Skills
|
||||
- `strato-server-tasks`: Execute post-breach tasklist on Strato server haslach2025
|
||||
|
||||
---
|
||||
*Class-level umbrella for Strato server management workflows. Supports the strato-server-tasks skill with shared patterns and references.*
|
||||
@@ -0,0 +1,44 @@
|
||||
# Strato Server Setup Reference
|
||||
|
||||
## SSH Key Setup
|
||||
- Private key: `~/Documents/Zertifikate/haslach_privat`
|
||||
- Must be loaded into `ssh-agent` before executing tasks
|
||||
- Passphrase provided by user at connection time
|
||||
|
||||
## Server Access
|
||||
- Host: `85.215.56.185`
|
||||
- User: `root`
|
||||
- Access method: SSH with `StrictHostKeyChecking=no` and `UserKnownHostsFile=/dev/null`
|
||||
|
||||
## Directory Structure
|
||||
- Main containers under: `/opt/containers/`
|
||||
- Traefik config: `/var/log/traefik/dynamic_conf.yml`
|
||||
- Traefik backup: `/var/log/traefik/dynamic_conf.yml.bak-20261022`
|
||||
|
||||
## Container Directories
|
||||
- Nextcloud: `/opt/containers/nextcloud_mindboost`
|
||||
- invoiceninja: `/opt/containers/invoiceninja`
|
||||
- Laravel: `/opt/containers/Repositories`
|
||||
- lichterei-web: `/opt/containers/lichtereiweb`
|
||||
- Traefik with CrowdSec: `/opt/containers/traefik-crowdsec-stack`
|
||||
|
||||
## Docker Compose Commands
|
||||
- Standard pattern: `cd <directory> && docker compose up -d`
|
||||
- Pull before up: `docker compose pull && docker compose up -d`
|
||||
|
||||
## Traefik Version Upgrade
|
||||
- Target version: v2.11.60
|
||||
- Set env var: `export SERVICES_TRAEFIK_IMAGE_VERSION=v2.11.60`
|
||||
- In `.env` file in traefik-crowdsec-stack directory
|
||||
|
||||
## PHP Version Expectations
|
||||
- Docker containers: 8.2.35 or 8.3.36
|
||||
- Ubuntu package: 8.3.6-0ubuntu0.24.04.13
|
||||
|
||||
## Cleanup Task 7
|
||||
- Remove `php2shell-*` routers from dynamic_conf.yml
|
||||
- Remove `body-limit-*` middlewares from dynamic_conf.yml
|
||||
- Backup already exists at `.bak-20261022`
|
||||
|
||||
---
|
||||
*Reference captured during Hermes Agent session on Strato server task execution. Session-specific details and command patterns.*
|
||||
Reference in New Issue
Block a user