Skip to content

Refactor server management scripts and update documentation - #31

Open
gpas45 wants to merge 1 commit into
mainfrom
claude/repository-cleanup-biil2r
Open

Refactor server management scripts and update documentation#31
gpas45 wants to merge 1 commit into
mainfrom
claude/repository-cleanup-biil2r

Conversation

@gpas45

@gpas45 gpas45 commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

This PR consolidates and refactors server management tooling across PostgreSQL and 1C platforms, replacing multiple specialized scripts with unified interactive managers. Documentation is updated to reflect these changes and new additions.

Key Changes

PostgreSQL/Postgres Pro (pgsql/)

  • Replaced pg_setup.sh with new pg-server-manager.sh: A comprehensive interactive TUI (whiptail/dialog) manager for Postgres Pro 1C on Debian/Ubuntu that handles:

    • OS-level configuration (locales, timezone, console)
    • Multi-version installation/removal (1c-16/1c-17/1c-18 in parallel)
    • Multi-instance cluster management (create/delete/start/stop/status)
    • Port, password, external access, IPv6, and MOTD configuration
  • Added INSTALL-pgpro-1c.md: Manual step-by-step installation guide for Postgres Pro 1C in LXC (Debian 13) as a command-by-command equivalent to the automated manager

  • Removed from pgpro/README.md:

    • pgpro-setup.sh (consolidated into parent-level manager)
    • pg_add_cluster.sh (functionality integrated into manager)
    • References to cluster addition in maintenance documentation

1C:Enterprise (linux/)

  • Replaced two separate scripts (1c_full_upgrade.sh and 1c_web_apache.sh) with unified 1c-server-manager.sh: An interactive TUI manager for 1C:Enterprise 8.3 on Linux (Debian/Ubuntu/Astra/Mint) providing:
    • Platform installation/update/removal (8.3.21+)
    • Multi-instance management via systemd templates
    • Debug mode toggling
    • Web module (ws) + Apache integration and database publishing

Windows (windows/)

  • Added cert.ps1: Self-signed SSL certificate generation (RSA 2048) and RDP assignment via WMI
  • Added fips.ps1: FIPS policy verification with commented disable/reboot commands

Implementation Details

  • All new managers follow a consistent interactive TUI pattern with fallback to console
  • Consolidation reduces script duplication while maintaining feature parity
  • Documentation updated to reflect the new unified approach to server management
  • Manual installation guides provided as alternatives to automated tooling

https://claude.ai/code/session_01F9GFmjdGpXmCFfCiMW1uwg

- pgsql: удалён отсутствующий pg_setup.sh, добавлены pg-server-manager.sh
  и INSTALL-pgpro-1c.md
- pgsql/pgpro: убраны удалённые pgpro-setup.sh и pg_add_cluster.sh
- linux: устаревшие 1c_full_upgrade.sh/1c_web_apache.sh заменены на
  реальный 1c/1c-server-manager.sh
- windows: добавлены cert.ps1 и fips.ps1

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F9GFmjdGpXmCFfCiMW1uwg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants