### Optimize Package Installation Feedback Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Refines the package installation process by skipping prompts for already installed software, ensuring a smoother and more continuous script execution. ```Shell # Optimization for package installation feedback. ``` -------------------------------- ### Install KeJiLion.SH Toolbox Source: https://context7.com/kejilion/sh/llms.txt Commands to download and execute the KeJiLion.SH installation script. Supports language selection via command-line arguments. ```bash # Install Chinese version (default) bash <(curl -sL kejilion.sh) # Install English version bash <(curl -sL kejilion.sh) en ``` -------------------------------- ### Install 1Panel Management Panel Source: https://context7.com/kejilion/sh/llms.txt Installs the 1Panel management panel. Users are prompted to set a port and credentials. The panel can be accessed via a web browser. It supports installation, updates, uninstallation, domain binding with SSL, port customization, and data persistence. ```bash k app 1panel # Follow prompts to set port and credentials # Access via http://IP:port ``` -------------------------------- ### Install Kejilion.sh Script Tool Source: https://github.com/kejilion/sh/blob/main/README.ru.md This command installs the Kejilion.sh script tool using curl to download and execute the installation script. It supports specifying a language code for localization, such as 'ru' for Russian. ```bash bash <(curl -sL kejilion.sh) ru ``` -------------------------------- ### Install dpanel Container Management Panel Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Provides a script to install and use the dpanel container management panel. This is available through the application market. ```Shell # Installation and usage instructions would be detailed here, likely involving commands from the application market. ``` -------------------------------- ### LDNMP Web Server Deployment Source: https://context7.com/kejilion/sh/llms.txt Scripts for deploying and managing the LDNMP stack (Linux, Nginx, MySQL, PHP, Redis). Features include automated SSL, WordPress installation, reverse proxy, load balancing, and stream proxy setup. Dependencies include the 'k' command-line tool. ```bash # Install LDNMP environment via menu option 10 # 通过菜单选项10安装LDNMP环境 # Quick WordPress installation 快速安装WordPress k wp # Interactive mode k wp example.com # Direct domain specification # Reverse proxy setup 反向代理设置 k fd # Interactive mode k fd example.com 127.0.0.1 8080 # Direct specification (domain, IP, port) # Load balancer setup 负载均衡设置 k loadbalance # Configure multiple backend servers # Layer 4 (TCP/UDP) proxy 四层代理 k stream # Stream proxy for databases, game servers, etc. # SSL Certificate management SSL证书管理 k ssl example.com # Apply Let's Encrypt certificate k ssl ps # Check certificate expiration dates # Example: Complete site deployment workflow # 示例:完整建站工作流 # 1. Point domain DNS to server IP # 2. Run: k wp example.com # 3. Script handles: SSL cert, nginx config, MySQL database, WordPress setup # 4. Access https://example.com to complete WordPress wizard # Directory structure 目录结构 # /home/web/html/ - Website files 网站文件 # /home/web/certs/ - SSL certificates SSL证书 # /home/web/conf.d/ - Nginx site configs Nginx站点配置 # /home/web/mysql/ - MySQL data MySQL数据 # /home/web/docker-compose.yml - Docker compose file ``` -------------------------------- ### Quick Start FRP Intranet Penetration with k Command Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces quick start commands for FRP intranet penetration using 'k'. 'k frps' opens the server menu, and 'k frpc' opens the client menu. ```Shell k frps ``` ```Shell k frpc ``` -------------------------------- ### Application Marketplace Deployment Source: https://context7.com/kejilion/sh/llms.txt Provides a marketplace for one-click deployment of over 100 popular applications, including web panels, monitoring tools, media servers, and AI services. Users can install applications directly via the 'k app' command. ```bash # Open application marketplace 打开应用市场 k app # Direct app installation 直接安装应用 k app 1panel # Install 1Panel k app portainer # Install Portainer k app nezha # Install Nezha monitoring k app qb # Install qBittorrent k app nginx # Install standalone Nginx # Popular applications available: # - 1Panel, Portainer, Nginx Proxy Manager (Panels) # - Nezha, Prometheus+Grafana, Uptime Kuma (Monitoring) ``` -------------------------------- ### Add Disk Space Detection for Application Installation Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Integrates disk space detection before application installation in the application market, ensuring sufficient space is available based on each application's requirements. ```Shell # Disk space detection added to application installation process. ``` -------------------------------- ### Optimize Package Installation and Removal Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Optimizes the processes for installing and uninstalling packages, improving code efficiency and user experience. ```Shell # Optimization applied to package management functions. ``` -------------------------------- ### Install Kejilion Script Source: https://github.com/kejilion/sh/blob/main/README.tw.md This command downloads and executes the Kejilion shell script using curl. It is the primary entry point for installing the toolkit on supported Linux distributions. ```bash bash <(curl -sL kejilion.sh) tw ``` -------------------------------- ### Optimize Docker Environment Image Sources Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Includes more image sources for installations within a domestic Docker environment to improve reliability and speed. ```Shell # Docker image source configuration. ``` -------------------------------- ### Install and Manage AMH Panel Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds the AMH panel to the application market for installation and management, expanding the range of supported control panels. ```Shell # AMH panel installation and management via application market. ``` -------------------------------- ### FRP Intranet Penetration Setup Source: https://context7.com/kejilion/sh/llms.txt Sets up FRP server and client for exposing internal services through NAT/firewall. The server is configured on a public server, and the client on an internal machine. Supports TCP, UDP, HTTP, HTTPS tunneling and stream proxy for databases/game servers. ```bash # FRP Server setup (on public server) k frps # Configure: listening port, authentication token # Supports: TCP, UDP, HTTP, HTTPS tunneling ``` ```bash # FRP Client setup (on internal machine) k frpc # Configure: server address, token, local service mapping # Example mapping: local port 80 -> public port 8080 ``` ```bash # Stream proxy for databases/game servers k stream # Example: Expose internal MySQL (10.0.0.5:3306) on public port 3307 # Protocol support: TCP and UDP ``` -------------------------------- ### Deploy Deepseek R1 Model Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds the latest Deepseek R1 model for installation and management in the application market, noted for its excellent performance. ```Shell # Deepseek R1 model deployment via application market. ``` -------------------------------- ### Install New Red Hat Kernel Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Fixes an issue with installing new kernels on newer Red Hat-based systems. This functionality is part of the System Tools. ```Shell # Functionality available under System Tools -> Red Hat Kernel. ``` -------------------------------- ### Adjust Deepseek and Llama Model Sizes for Low-Spec Machines Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Optimizes the installation of Deepseek R1 and Llama 3.2 models by using smaller distilled versions (1.5b and 1b respectively) suitable for low-configuration machines. ```Shell # Model size adjustments for Deepseek R1 and Llama 3.2. ``` -------------------------------- ### Universal Package Management Source: https://context7.com/kejilion/sh/llms.txt A unified command-line interface for managing software packages across various Linux distributions and FreeBSD. It auto-detects the system's native package manager (apt, yum, dnf, apk, pacman, zypper, opkg, pkg) for installation, removal, updates, and system cleaning. ```bash # Install packages 安装软件包 k install nano wget curl git htop # The install function automatically detects and uses: # - apt (Ubuntu/Debian) # - yum/dnf (CentOS/RHEL/Fedora/Rocky/Alma) # - apk (Alpine) # - pacman (Arch/Manjaro) # - zypper (openSUSE) # - opkg (OpenWrt) # - pkg (FreeBSD) # Remove packages 卸载软件包 k remove nano wget # Update system 更新系统 k update # Clean system 清理系统 k clean # Internal function usage (for scripting) install() { for package in "$@"; do if ! command -v "$package" &>/dev/null; then # Auto-detects package manager and installs fi done } ``` -------------------------------- ### Update Reminders for Installed Applications and Environments Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces update reminders for applications installed via the application market and components within the LDNMP environment. This feature notifies users of new versions. ```Shell # Functionality is integrated into the application market and LDNMP environment update checks. ``` -------------------------------- ### Cluster Management for Multiple VPS Source: https://context7.com/kejilion/sh/llms.txt Enables management of multiple VPS servers from a single control point using SSH-based communication. Features include adding/removing servers, executing commands across all servers, batch software installation, synchronized configuration, and backup/migration. It does not require special agent software on target servers. ```bash # Access cluster control via menu option 14 # Through menu option 14, access cluster control ``` -------------------------------- ### Docker Image Operations Source: https://context7.com/kejilion/sh/llms.txt Commands for managing Docker images, including listing, pulling, and removing images. Assumes Docker is installed and configured. ```bash docker image ls # List images docker pull nginx:alpine # Pull image docker rmi -f image_name # Delete image ``` -------------------------------- ### Add CentOS and FeiniuOS Reinstall Options Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Expands the one-click reinstall function in System Tools to include CentOS 10, CentOS 9, and FeiniuOS, utilizing scripts from 'jianbing'大佬. ```Shell # One-click reinstall for CentOS 10, CentOS 9, and FeiniuOS. ``` -------------------------------- ### Execute KeJiLion.SH Shortcut Commands Source: https://context7.com/kejilion/sh/llms.txt Commonly used 'k' shortcut commands for system operations, package management, network performance, Docker, and web server administration. ```bash k # Launch main menu k info # Display system information k update # Update system packages k bbr3 # BBRv3 acceleration panel k docker install # Install Docker environment k web # LDNMP site management k wp example.com # Install WordPress k dkdk 8080 # Open port 8080 ``` -------------------------------- ### System Tools Management Source: https://context7.com/kejilion/sh/llms.txt Offers a suite of system administration utilities. Includes SSH key management for secure authentication, timezone and hostname configuration, system backup, remote synchronization with rsync, disk management, and scheduled tasks via cron. Also supports system reinstallation (DD) for various operating systems. ```bash # SSH key-based authentication k sshkey # SSH key management panel k sshkey github username # Import from GitHub k sshkey https://url/key # Import from URL ``` ```bash # Timezone management k time Asia/Shanghai # Set to Shanghai timezone k time UTC # Set to UTC ``` ```bash # System backup k backup ``` ```bash # Remote sync with rsync k rsync ``` ```bash # Disk management k disk ``` ```bash # System reinstall (DD) k dd # Supports: Debian, Ubuntu, CentOS, Alpine, Rocky, Alma, # Fedora, Arch, Kali, Windows, and more ``` -------------------------------- ### System Backup and Restore Functionality Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds system backup and restore capabilities to the System Tools section, allowing users to safeguard and recover their system configurations. ```Shell # Backup and restore functions are available in System Tools. ``` -------------------------------- ### Manage Firewall Ports and IPs with k Command Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces 'k' commands for managing firewall rules, including opening/closing ports and allowing/blocking IPs. Supports multiple ports and IPs separated by spaces. ```Shell k fhq | k 防火墙 ``` ```Shell k dkdk 8080 | k 打开端口 8080 ``` ```Shell k gbdk 7800 | k 关闭端口 7800 ``` ```Shell k fxip 127.0.0.0/8 | k 放行IP 127.0.0.0/8 ``` ```Shell k zzip 177.5.25.36 | k 阻止IP 177.5.25.36 ``` ```Shell k dkdk 8080 8089 8053 | k 打开端口 8080 8089 8053 ``` ```Shell k gbdk 7800 6443 | k 关闭端口 7800 6443 ``` ```Shell k fxip 127.0.0.0/8 192.168.0.9 | k 放行IP 127.0.0.0/8 192.168.0.9 ``` ```Shell k zzip 177.5.25.36 192.168.0.9 | k 阻止IP 177.5.25.36 192.168.0.9 ``` -------------------------------- ### Adapt Script for FreeBSD and Other Systems Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Improves script compatibility for FreeBSD systems, including package management. Also provides preliminary adaptation for iStoreOS and ImmortalWrt in the cron job module. ```Shell # Adaptations for FreeBSD, iStoreOS, and ImmortalWrt. ``` -------------------------------- ### Deploy AI Painting Prompt Generator with LDNMP Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds the capability to deploy an AI painting prompt generator website within the LDNMP environment. This is an expansion of the LDNMP menu options. ```Shell # Deployment commands would be available under the LDNMP menu. ``` -------------------------------- ### Network Optimization Tools Source: https://context7.com/kejilion/sh/llms.txt Provides tools for network performance optimization, including kernel parameter tuning and BBRv3 acceleration. The optimization script detects network speed, measures latency, checks packet loss, classifies bandwidth, and applies appropriate sysctl settings. Supports auto, web server, livestream, and game server modes. ```bash # Kernel optimization panel k nhyh ``` ```bash # BBRv3 acceleration k bbr3 ``` -------------------------------- ### Site Protection and Backup Source: https://context7.com/kejilion/sh/llms.txt Provides integrated security features and backup capabilities for websites. Includes fail2ban for brute-force protection, rate limiting, WAF mode, Cloudflare integration for high load, and IP blacklist management. Offers full site backups (files, databases, certificates), remote backups, and automated scheduled backups. ```bash # Site defense panel (via LDNMP menu option 35) # Site defense panel (via LDNMP menu option 35) # Features include: # - fail2ban for brute-force protection # - Rate limiting (429 attacks) # - WAF mode toggle # - Cloudflare 5-second shield auto-trigger on high load # - IP blacklist management # Backup operations # Full site backup: includes files, databases, certificates # Remote backup: sync to another server # Automated scheduled backups via cron # Example: Enable site protection # Example: Enable site protection # 1. Navigate to LDNMP menu (option 10) # 2. Select site management (option 35) # 3. Enable fail2ban, WAF, rate limiting ``` -------------------------------- ### Add Rsync Remote Sync Tool Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces the Rsync remote synchronization tool in System Tools, supporting incremental synchronization between remote directories. Also adds a quick launch command. ```Shell k rsync | k 远程同步 ``` -------------------------------- ### Manage Docker Containers Source: https://context7.com/kejilion/sh/llms.txt Standard Docker CLI commands for managing container lifecycles, viewing status, and inspecting logs within the KeJiLion environment. ```bash docker ps -a --format "table {{.ID}}\t{{.Names}}\t{{.Status}}\t{{.Ports}}" docker start container_name docker stop container_name docker restart container_name docker rm -f container_name docker exec -it container_name /bin/sh docker logs container_name docker stats --no-stream ``` -------------------------------- ### Deploy Dify Large Model Knowledge Base Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enables the deployment and management of the Dify large model knowledge base, facilitating the creation of private data training and generation systems. ```Shell # Dify knowledge base deployment via application market. ``` -------------------------------- ### Execute OpenClaw Memory Menu Smoke Test from Any Directory Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Provides an alternative method to run the OpenClaw memory menu smoke test by specifying the full path to the script. This allows execution from any working directory. ```bash /path/to/repo/tests/openclaw/tests_openclaw_memory_menu_smoke.sh ``` -------------------------------- ### Firewall and Security Management Source: https://context7.com/kejilion/sh/llms.txt Tools for managing server firewall rules using iptables. Includes port control, IP whitelisting/blacklisting, DDoS protection, and fail2ban integration for SSH brute-force protection. Requires the 'k' command-line tool. ```bash # Open firewall panel 打开防火墙面板 k fhq # Port management 端口管理 k dkdk 80 443 8080 # Open multiple ports 开放多个端口 k gbdk 22 3306 # Close multiple ports 关闭多个端口 # IP management IP管理 k fxip 192.168.1.0/24 10.0.0.0/8 # Allow IP ranges 放行IP段 k zzip 123.45.67.89 98.76.54.32 # Block IPs 阻止IP # Enable DDoS defense 开启DDoS防御 # Limits: TCP SYN 500/s, UDP 3000/s # Via menu: Firewall panel > option 13 # Country-based IP blocking 基于国家的IP封锁 # Block specific countries 阻止特定国家 # manage_country_rules block CN US JP # Allow only specific countries 仅允许特定国家 # manage_country_rules allow CN # SSH brute-force protection with fail2ban # SSH暴力破解防护(使用fail2ban) k f2b # Fail2ban management panel # Example: Secure a new server # 示例:保护新服务器 k fhq # Open firewall panel # 1. Close all ports except SSH # 2. Allow only your IP in whitelist # 3. Enable DDoS defense # 4. Configure fail2ban for SSH protection ``` -------------------------------- ### Adjust Virtual Memory with k Command Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt This feature allows users to adjust the virtual memory size using a simple command-line interface. The 'k swap' command takes the desired memory size in MB as an argument. ```Shell k swap 1024 ``` -------------------------------- ### Firewall Rule Optimization for FRP and Docker Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Optimizes firewall rules to better accommodate FRP intranet penetration scenarios and Docker environments, resolving issues with devices behind firewalls. ```Shell # Firewall rule adjustments for FRP and Docker. ``` -------------------------------- ### Optimize SSH and Website Defense Programs Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Refines the SSH defense and website defense programs for better adherence to script design standards and improved user experience. ```Shell # UI and design standard improvements for defense programs. ``` -------------------------------- ### Switch to UTC Time Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds an option in System Tools to switch the system time to UTC (Coordinated Universal Time), providing a global standard time reference. ```Shell # UTC time switching option in System Tools. ``` -------------------------------- ### Manage FRP Service Status and Deployment Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds functionality to refresh FRP service status and supports ARM architecture for FRP deployment. Also includes fixes for missing tar dependencies and adds a Bilibili tutorial link. ```Shell # Enhancements for FRP management in the application market. ``` -------------------------------- ### Swap Memory Management Source: https://context7.com/kejilion/sh/llms.txt Utility for managing swap memory space. It allows setting the swap file size (e.g., 1GB, 2GB, 4GB) and ensures persistence across system reboots by automatically creating, configuring, and adding the swap file to /etc/fstab. It also handles specific configurations for Alpine Linux. ```bash # Set swap via shortcut 通过快捷键设置 k swap 1024 # Set to 1GB k swap 2048 # Set to 2GB k swap 4096 # Set to 4GB # Internal function creates swapfile at /swapfile # Automatically: # - Removes old swap partitions # - Creates new swap file with fallocate # - Sets correct permissions (600) # - Adds to /etc/fstab for persistence # - Handles Alpine Linux specifically # Example output: # 虚拟内存大小已调整为2048M ``` -------------------------------- ### Import Existing SSH Keys Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enhances the private key login feature by adding the ability to import existing SSH keys, simplifying secure access. ```Shell # Functionality for importing SSH keys is integrated into the private key login feature. ``` -------------------------------- ### Fix Script Shortcut Key Not Working Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Addresses a bug where setting script shortcut keys in System Tools was not effective. ```Shell # Fix applied to the script shortcut key functionality. ``` -------------------------------- ### Deploy Ollama Large Language Model Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enables the deployment of the Ollama large language model through the application market, allowing users to set up a local AI chatbot. ```Shell # Deployment is available via the application market. ``` -------------------------------- ### Add SSH Remote Connection Tool Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Includes an SSH remote connection tool in System Tools, providing a convenient way to establish SSH connections to remote servers. ```Shell # SSH remote connection tool is available in System Tools. ``` -------------------------------- ### Run OpenClaw API Color Align Minimum Test Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Performs a minimal test for OpenClaw's API list display, focusing on color and alignment. This script verifies the basic visual presentation of API information. ```bash bash tests/openclaw/tests_openclaw_api_color_align_min.sh ``` -------------------------------- ### Modularize Application Management Menus Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Refactors application management menus in the application market, modularizing them to remove duplicate code and simplify the architecture. ```Shell # Refactoring of application management menus. ``` -------------------------------- ### Optimize Rate-Limited Shutdown Threshold Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Optimizes the rate-limited shutdown feature by setting a default threshold of 100GB if no value is provided, preventing infinite shutdowns when the threshold is empty. ```Shell # Logic is applied internally to the rate-limited shutdown feature. ``` -------------------------------- ### Run OpenClaw Memory Menu Smoke Test Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Executes a smoke test for OpenClaw's memory menu functionality. This script checks the basic operation and responsiveness of the memory menu interface. ```bash bash tests/openclaw/tests_openclaw_memory_menu_smoke.sh ``` -------------------------------- ### Command Line History Query Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds a command-line history query function to System Tools, allowing users to search and review past commands. ```Shell # Command history query feature in System Tools. ``` -------------------------------- ### Add Rsync Timed Tasks and Local Sync Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enhances the Rsync tool by adding functionality to create timed tasks for synchronization and to sync from remote to local directories. ```Shell # Rsync timed task creation and remote-to-local sync. ``` -------------------------------- ### Run OpenClaw Plugin Skill Menu Smoke Test Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Executes a smoke test for OpenClaw's plugin and skill menu system. This test ensures that plugins and skills can be accessed and managed correctly through the menu interface. ```bash bash tests/openclaw/tests_openclaw_plugin_skill_menu_smoke.sh ``` -------------------------------- ### Optimize GitHub Acceleration Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Improves the GitHub acceleration feature to resolve issues where GitHub content could not be pulled after acceleration. ```Shell # Optimization applied to the GitHub acceleration feature. ``` -------------------------------- ### Enable Automatic Script Updates Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces an automatic update feature for the script. Users can opt-in to have the script update automatically every day at 2 AM. ```Shell # Automatic update can be enabled in the script settings. ``` -------------------------------- ### Optimize Automatic Update CPU Usage Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Addresses an issue where automatic script updates caused high CPU usage on some models. Also improves the user interface for managing automatic updates. ```Shell # Optimizations for automatic update process and UI. ``` -------------------------------- ### FRP Server Page Optimization Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enhances the FRP server page by displaying the external IP and port, as well as the proxied domain, for easier access and management. ```Shell # UI improvements for the FRP server page. ``` -------------------------------- ### Deploy FRP Intranet Penetration Service Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds the FRP (Fast Reverse Proxy) intranet penetration service to the application market for easy deployment and management. ```Shell # FRP service deployment is available through the application market. ``` -------------------------------- ### Unlock Advanced k Command Usage Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Introduces advanced usage for 'k' commands, accessible through a dedicated menu in System Tools. This unlocks more functionalities of the 'k' shortcut command. ```Shell # Access advanced 'k' commands via System Tools -> k shortcut command advanced usage. ``` -------------------------------- ### Run OpenClaw API Protocol Detection Smoke Test Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Executes a smoke test for OpenClaw's API protocol detection functionality. This script is part of a suite of tests designed to ensure the stability and correctness of OpenClaw's core features. ```bash bash tests/openclaw/tests_openclaw_api_protocol_detect_smoke.sh ``` -------------------------------- ### FRP Client Supports Internal IP Input Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Allows the FRP client to accept internal IP addresses, enabling the exposure of ports from other internal IPs. ```Shell # FRP client configuration allows specifying internal IPs. ``` -------------------------------- ### Run OpenClaw API Sync Diff Smoke Test Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Executes a smoke test for OpenClaw's API synchronization and difference detection. This test verifies that OpenClaw can correctly synchronize and identify differences in API configurations. ```bash bash tests/openclaw/tests_openclaw_api_sync_diff_smoke.sh ``` -------------------------------- ### Run OpenClaw Test with Temporary Directory Preservation Source: https://github.com/kejilion/sh/blob/main/tests/openclaw/README.md Executes an OpenClaw smoke test while preserving the temporary working directory. This is useful for debugging purposes, allowing inspection of the temporary files created during the test. ```bash KEEP_WORKDIR=true bash tests/openclaw/tests_openclaw_memory_menu_smoke.sh ``` -------------------------------- ### Adjust Time Zone with k Command Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adds functionality to quickly adjust the system's time zone using the 'k time' command, followed by the desired time zone identifier (e.g., 'Asia/Shanghai'). ```Shell k time Asia/Shanghai ``` -------------------------------- ### Fix Large Model Image Deletion on Uninstall Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Resolves an issue where Docker images for Deepseek and Llama large models could not be deleted during uninstallation. ```Shell # Fix for deleting Docker images of large models. ``` -------------------------------- ### Advanced Firewall and DDOS Defense Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Enhances the advanced firewall to support more Linux distributions by refactoring iptables management. Adds DDOS defense capabilities to LDNMP site protection and advanced firewall. ```Shell # Firewall and DDOS defense enhancements. ``` -------------------------------- ### Fix Fail2ban Uninstall in LDNMP Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Resolves an issue where uninstalling old fail2ban in a protected LDNMP environment would prevent exiting the page. ```Shell # Fix applied to the fail2ban uninstall process within LDNMP. ``` -------------------------------- ### Optimize Automatic Update Timing Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Adjusts the timing of automatic script updates to occur randomly between 2:00 AM and 2:59 AM, reducing server load. ```Shell # Randomization of automatic update time between 2:00 and 2:59. ``` -------------------------------- ### Optimize SSH Port Modification Reliability Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Improves the reliability of SSH port modification, fixing issues where some distributions could not connect via SSH after changing the port. ```Shell # Reliability improvements for SSH port modification. ``` -------------------------------- ### Optimize Traffic Statistics Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Refines the mechanism for counting incoming and outgoing traffic, specifically ignoring internal communication traffic to provide more accurate external traffic statistics. ```Shell # Optimization of traffic statistics to exclude internal traffic. ``` -------------------------------- ### Fix Port Blocking Affecting External Data Retrieval Source: https://github.com/kejilion/sh/blob/main/kejilion_sh_log.txt Resolves an issue where blocking ports prevented services from retrieving external return data. Outgoing requests will now be allowed to pass through. ```Shell # Fix for port blocking affecting external data retrieval. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.