Tagged articles
162 articles
Page 2 of 2
Liangxu Linux
Liangxu Linux
Nov 15, 2021 · Operations

Spice Up Your Linux Terminal with Fun ASCII Games and Visuals

This guide shows Linux system operators how to install and run a collection of entertaining terminal utilities—such as asciiview, oneko, cmatrix, a custom pipe screensaver, sl, and ninvaders—complete with commands, code snippets, and sample output images to brighten up long‑hour work sessions.

ASCII artLinuxfun utilities
0 likes · 9 min read
Spice Up Your Linux Terminal with Fun ASCII Games and Visuals
Top Architect
Top Architect
Sep 2, 2021 · Backend Development

Spring Boot Packaging with Maven and Shell Deployment Script Guide

This article explains how to package a Spring Boot application using Maven profiles and the maven‑assembly‑plugin, generate a zip deployment package, and manage the deployment with a custom shell script that supports unzip, start, stop, and restart operations across different environments.

mavenpackagingshell script
0 likes · 13 min read
Spring Boot Packaging with Maven and Shell Deployment Script Guide
Open Source Linux
Open Source Linux
Aug 26, 2021 · Operations

Automate Linux Daily System Checks with a Comprehensive Bash Script

This article presents a ready‑to‑use Bash script that performs daily Linux system inspections—including disk, memory, CPU, process, file changes, and user login checks—generates a detailed report, saves it under a log directory, and emails the results for easy monitoring.

Linuxshell script
0 likes · 10 min read
Automate Linux Daily System Checks with a Comprehensive Bash Script
IT Xianyu
IT Xianyu
May 28, 2021 · Backend Development

Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool

This article explains how to use Maven profiles to manage multiple Spring Boot environments, configure the maven‑assembly‑plugin to create a zip release containing the jar, configuration files and a custom shell script, and then deploy and control the application on Linux using the provided shenniu_publish.sh tool.

Assembly pluginDeploymentLinux
0 likes · 15 min read
Spring Boot Packaging with Maven Profiles and a Shell Deployment Tool
Liangxu Linux
Liangxu Linux
May 11, 2021 · Fundamentals

Master Base64 Encoding and Decoding on the Command Line

This guide explains what Base64 encoding is, why it’s needed for transmitting binary data as text, and provides step‑by‑step command‑line examples for encoding and decoding strings, files, and user input with practical Bash scripts.

Base64Linuxdecoding
0 likes · 8 min read
Master Base64 Encoding and Decoding on the Command Line
ZhiKe AI
ZhiKe AI
Apr 30, 2021 · Operations

Automatically Tag Commits on Git Push with a Shell Script

This article provides a shell script and step‑by‑step instructions for configuring a Git pre‑push hook that automatically generates and pushes a new semantic version tag each time code is pushed to the remote repository.

GitVersion Controlautomatic tagging
0 likes · 3 min read
Automatically Tag Commits on Git Push with a Shell Script
Liangxu Linux
Liangxu Linux
Dec 27, 2020 · Operations

Automate Linux File Sync with inotify and rsync

Learn how to use Linux's inotify-tools to monitor directory changes and automatically synchronize modified files with rsync, covering installation, command options, example output, an event‑handling shell script, and running the script in the background with nohup.

File MonitoringLinuxautomation
0 likes · 5 min read
Automate Linux File Sync with inotify and rsync
Liangxu Linux
Liangxu Linux
Dec 6, 2020 · Fundamentals

Build a Linux Clipboard Translator with C, xclip, and translate-shell

This guide walks through creating a Linux word‑and‑phrase translation tool that captures selected text via the X clipboard, translates it with translate‑shell, and displays the result in the terminal, using only a few command‑line utilities and a small C program.

Linuxc++clipboard
0 likes · 10 min read
Build a Linux Clipboard Translator with C, xclip, and translate-shell
Java Backend Technology
Java Backend Technology
Nov 17, 2020 · Operations

Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide

This article walks you through setting up Jenkins to clone a Spring Boot project from Gitee, configure JDK, Git, and Maven tools, create a freestyle job with parameterized builds, write shell scripts for stopping and starting the application, and troubleshoot common issues for a fully automated CI/CD pipeline.

GitJenkinsSpring Boot
0 likes · 7 min read
Automate Spring Boot Deployment with Jenkins: A Step‑by‑Step Guide
Top Architect
Top Architect
Nov 2, 2020 · Backend Development

Spring Boot Packaging with Maven Profiles and Shell Deployment Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin to create a zip deployment package, and employ a custom shell script (shenniu_publish.sh) to unzip, start, stop, and restart a Spring Boot jar on Linux, streamlining the build‑and‑deploy workflow.

Assembly pluginBackendDeployment
0 likes · 13 min read
Spring Boot Packaging with Maven Profiles and Shell Deployment Script
Programmer DD
Programmer DD
Oct 26, 2020 · Operations

Master Logrotate: Complete Guide to Linux Log Rotation and Custom Scripts

This article provides a comprehensive walkthrough of Logrotate on Linux, covering its purpose, default configuration files, key directives, practical examples for Nginx, PHP, Tomcat, and system logs, as well as custom shell and Python scripts for advanced log rotation and troubleshooting.

Log ManagementSystem Administrationcron
0 likes · 22 min read
Master Logrotate: Complete Guide to Linux Log Rotation and Custom Scripts
ITPUB
ITPUB
Oct 10, 2020 · Operations

Master Logrotate: Complete Guide to Linux Log Rotation, Configuration, and Custom Scripts

This article provides a thorough walkthrough of Linux logrotate, covering its default configuration files, essential command‑line options, key parameters, practical examples for services like nginx, php, and tomcat, custom rotation scripts, cron scheduling, and troubleshooting tips for reliable log management.

LinuxLog ManagementNginx
0 likes · 24 min read
Master Logrotate: Complete Guide to Linux Log Rotation, Configuration, and Custom Scripts
dbaplus Community
dbaplus Community
Aug 11, 2020 · Operations

7 Real-World Production Failures and Fast Diagnosis Techniques

The article shares seven authentic production incident cases—from JVM Full GC spikes and memory leaks to cache avalanches, disk I/O blocks, database deadlocks, DNS hijacking, and bandwidth exhaustion—detailing root causes, step‑by‑step troubleshooting methods, code snippets, and practical mitigation strategies for engineers.

DNS hijackingDatabase DeadlockJVM
0 likes · 17 min read
7 Real-World Production Failures and Fast Diagnosis Techniques
DevOps Engineer
DevOps Engineer
May 25, 2020 · Operations

How to Lint Jenkins Declarative Pipelines Using REST API and VS Code Plugin

This article explains two practical methods—using a custom linter.sh script that calls Jenkins's REST API and employing the Jenkins Pipeline Linter Connector VS Code extension—to validate declarative pipeline syntax before committing, reducing repeated build failures caused by syntax errors.

JenkinsPipelineREST API
0 likes · 4 min read
How to Lint Jenkins Declarative Pipelines Using REST API and VS Code Plugin
Open Source Linux
Open Source Linux
Feb 24, 2020 · Databases

Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide

This guide explains how to create a Bash script that daily backs up multiple MySQL databases, compresses them with gzip, transfers them via rsync to a remote server, retains backups for two months, and schedules the process with cron, including necessary commands and permissions.

Bashmysqlrsync
0 likes · 4 min read
Automate MySQL Backups with Bash: Script, Rsync, and Cron Guide
Open Source Linux
Open Source Linux
Feb 13, 2020 · Operations

Create a Linux Recycle Bin with a Simple Shell Script

Learn how to build a custom recycle bin on Linux using a Bash script that moves deleted files to a timestamped folder, includes user confirmation, sets proper permissions, schedules automatic cleanup with cron, and can even replace the rm command via an alias.

LinuxRecycle Binfile deletion
0 likes · 4 min read
Create a Linux Recycle Bin with a Simple Shell Script
Liangxu Linux
Liangxu Linux
Sep 4, 2019 · Operations

Automate Linux Memory & Swap Monitoring with Email Alerts

This guide walks through installing the msmtp email client, configuring mutt, using the free command to capture memory and swap statistics, writing Bash scripts to log and email the data, and scheduling the tasks with cron so alerts are sent when swap usage exceeds 80 %.

EmailSystem Administrationmonitoring
0 likes · 8 min read
Automate Linux Memory & Swap Monitoring with Email Alerts
ITPUB
ITPUB
Jul 12, 2019 · Operations

Automate Linux Memory & Swap Monitoring with msmtp, mutt, and Cron

This guide walks you through installing the msmtp mail client, configuring mutt to send emails, using the free command to gather memory statistics, writing Bash scripts to log and email those metrics, setting up swap‑usage alerts, and scheduling everything with cron for continuous Linux system monitoring.

LinuxMemory Monitoringcron
0 likes · 8 min read
Automate Linux Memory & Swap Monitoring with msmtp, mutt, and Cron
Liangxu Linux
Liangxu Linux
Dec 3, 2018 · Operations

Automate MySQL Backups with Bash Scripts and Cron Jobs

This guide explains why database backups are essential, walks through preparing storage, creating a Bash script to dump and compress MySQL data, granting execution rights, scheduling the script with crontab, and verifying successful automated backups on Linux systems.

mysqlshell script
0 likes · 6 min read
Automate MySQL Backups with Bash Scripts and Cron Jobs
Java Captain
Java Captain
Oct 4, 2018 · Operations

Automated Git Shell Script for Cloning, Branch Creation, and Remote Push

This article introduces a shell script that automates the typical Git workflow of cloning a repository, creating a new development branch from master, pushing the branch to the remote server, and establishing upstream tracking, allowing developers to focus solely on code changes.

GitVersion Controlautomation
0 likes · 5 min read
Automated Git Shell Script for Cloning, Branch Creation, and Remote Push
ITPUB
ITPUB
Jan 23, 2018 · Operations

Validate IP Addresses in Bash: Two Reliable Shell Scripts

This article explains why validating IP addresses is essential in shell scripting, then presents two Bash methods—using awk/grep and regular‑expression matching—followed by a looped version that repeatedly prompts for input until a correct IP is entered, complete with example commands.

BashIP validationSysadmin
0 likes · 6 min read
Validate IP Addresses in Bash: Two Reliable Shell Scripts
21CTO
21CTO
Jan 9, 2018 · Operations

Simplify macOS Time Machine Cleanup with the Interactive tm-cleanup.sh Script

This article introduces tm-cleanup.sh, a shell script that automates Time Machine backup removal on macOS, now featuring an interactive, dialog‑based interface that lets users browse and delete snapshots without needing command‑line expertise.

automationbackup cleanupinteractive
0 likes · 3 min read
Simplify macOS Time Machine Cleanup with the Interactive tm-cleanup.sh Script
ITPUB
ITPUB
Aug 25, 2017 · Operations

Automate MySQL Database Backups with Bash and Cron

This guide explains how to create a reliable MySQL backup solution by checking disk space, setting up a backup directory, writing a shell script for mysqldump (with optional compression), granting execution rights, scheduling the script with crontab, and verifying the job, while also covering crontab syntax and examples.

Backupcrondatabase
0 likes · 8 min read
Automate MySQL Database Backups with Bash and Cron
ITPUB
ITPUB
Aug 15, 2017 · Operations

Automate MySQL Database Backups on Linux with Bash and Cron

This guide explains why database backups are essential, walks through checking disk space, creating a backup directory, writing a Bash script to dump and compress MySQL data, granting execution rights, and scheduling the script with crontab to ensure reliable, automated backups.

Backupcrondatabase
0 likes · 8 min read
Automate MySQL Database Backups on Linux with Bash and Cron
MaGe Linux Operations
MaGe Linux Operations
Mar 28, 2017 · Operations

Master Linux Data Backup: Tar, Gzip, and Cron Automation Guide

This guide explains how to use the Linux tar command for manual and compressed backups, create shell scripts for automated backups with cron, and apply these techniques to back up and restore Foxmail Server data, covering command syntax, scheduling, and recovery steps.

Data Recoverycronshell script
0 likes · 11 min read
Master Linux Data Backup: Tar, Gzip, and Cron Automation Guide
Tencent Cloud Developer
Tencent Cloud Developer
Feb 13, 2017 · Databases

Practical Experience Migrating Over 130 MySQL Instances to Tencent Cloud CDB

Tencent Cloud’s migration team successfully moved over 130 on‑premise MySQL instances totaling 20 TB to CDB by rigorously testing the migration tool, configuring master‑slave replication, handling high‑concurrency binlog sync, and resolving timestamp, stored‑procedure, and DDL issues, ensuring seamless production deployment.

CDBPerformance TestingTencent Cloud
0 likes · 12 min read
Practical Experience Migrating Over 130 MySQL Instances to Tencent Cloud CDB
dbaplus Community
dbaplus Community
Oct 18, 2016 · Databases

How to Build and Manage a Large‑Scale MongoDB Replica Set with Incremental Backups

This guide details a production‑grade MongoDB replica‑set deployment, covering hardware specs, configuration files, replica‑set initialization, user creation, incremental backup with mongobackup scripts, primary node switching, cold backup procedures, troubleshooting authentication errors, and test data generation for performance validation.

Database AdministrationIncremental BackupMongoDB
0 likes · 14 min read
How to Build and Manage a Large‑Scale MongoDB Replica Set with Incremental Backups
360 Quality & Efficiency
360 Quality & Efficiency
Sep 18, 2016 · Mobile Development

Performance Testing Metrics and Sampling Strategy for Android Apps

The article outlines a comprehensive set of Android app performance metrics, device coverage, a non‑root sampling strategy using dumpsys commands, shell‑based data collection, and Python‑driven HTML reporting, providing practical guidance and reference implementations for mobile developers.

AndroidPerformance TestingSampling
0 likes · 4 min read
Performance Testing Metrics and Sampling Strategy for Android Apps
dbaplus Community
dbaplus Community
Sep 12, 2016 · Big Data

Apache Flume Quickstart: Log Collection and Kafka Integration

This article introduces Apache Flume, explains its design goals of reliability, scalability, manageability and extensibility, outlines core concepts and architecture, provides step‑by‑step configuration using the first mode, demonstrates integration with Zookeeper, Kafka and a shell script, and shows how to launch and verify the agent.

Apache FlumeBig DataKafka Integration
0 likes · 7 min read
Apache Flume Quickstart: Log Collection and Kafka Integration
ITPUB
ITPUB
Apr 22, 2016 · Databases

Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive

This article explains how the Oracle oerr utility works as a shell script, shows how it maps facilities to components, locates the appropriate message files, and demonstrates using sed and awk to extract detailed error descriptions, causes, and actions for any ORA code.

Error HandlingOracledatabases
0 likes · 7 min read
Unlock Oracle Error Codes with the oerr Shell Script: A Deep Dive
ITPUB
ITPUB
Apr 22, 2016 · Operations

Master Linux File Cleanup: Automate Deletion with find and cron

This guide explains how to use the Linux find command to locate old files, create a shell script for batch deletion, and schedule the script with crontab, including detailed syntax, examples, and common cron expression patterns for reliable automated cleanup.

Linuxautomationcrontab
0 likes · 8 min read
Master Linux File Cleanup: Automate Deletion with find and cron
21CTO
21CTO
Apr 12, 2016 · Backend Development

How to Build a PHP cURL Spider to Scrape Zhihu User Data and Visualize It

This article walks through using PHP's cURL extension to crawl tens of thousands of Zhihu user profiles, parse the HTML with regular expressions, store the extracted data efficiently, and present the results with responsive charts and dashboards.

Web ScrapingcURLmysql
0 likes · 9 min read
How to Build a PHP cURL Spider to Scrape Zhihu User Data and Visualize It
MaGe Linux Operations
MaGe Linux Operations
Apr 4, 2016 · Operations

Master Jenkins CI: Step-by-Step Setup, Plugins, and Automated Deployment

This guide walks through setting up a Jenkins CI server—including environment preparation, installation, essential plugins, system and project configuration, security hardening, and a custom shell script for automated deployment—providing a practical roadmap for reliable continuous integration and delivery in Java projects.

DevOpsGitJenkins
0 likes · 7 min read
Master Jenkins CI: Step-by-Step Setup, Plugins, and Automated Deployment
ITPUB
ITPUB
Mar 14, 2016 · Information Security

How to Diagnose and Remove Hidden Malware Causing Network Flood on a Linux Server

A step‑by‑step guide shows how to identify abnormal NIC traffic, locate malicious init scripts and hidden processes, use simple shell scripts and netstat to pinpoint the offending connection, and clean a compromised Linux server to restore normal network performance.

LinuxSystem Hardeningmalware
0 likes · 10 min read
How to Diagnose and Remove Hidden Malware Causing Network Flood on a Linux Server
Aotu Lab
Aotu Lab
Jan 13, 2016 · Operations

Automate Website Deployment with GitHub Webhooks and Shell Scripts

This guide explains how to use GitHub Webhooks together with a shell deployment script, a Node.js listener, and Nginx reverse proxy to achieve fully automated website deployment, covering setup, code examples, and practical considerations.

GitHubNginxNode.js
0 likes · 8 min read
Automate Website Deployment with GitHub Webhooks and Shell Scripts
dbaplus Community
dbaplus Community
Sep 29, 2015 · Databases

Deploy Oracle 11gR2 RAC on Bare Metal Using PXE: A Step‑by‑Step Guide

This article details how to use PXE to automatically provision three‑node Oracle 11gR2 RAC clusters on bare‑metal servers, covering network planning, PXE server setup with a one‑click installer, required software download, MAC address collection, shared‑disk and node configuration, virtual tape library setup, time synchronization, and user creation.

Database DeploymentLinuxOracle
0 likes · 13 min read
Deploy Oracle 11gR2 RAC on Bare Metal Using PXE: A Step‑by‑Step Guide