Hoshiumi
星海日和
= 代码落在地上,故事落在星海 =
跨越星轨的客
技术 · 生活 · 番剧 · 音乐
Pinned Posts
This document describes the deployment and use process of Flink in Hadoop and Zookeeper environments. First, you need to deploy and start Hadoop and Zookeeper in advance, then download Flink and configure environment variables and Hadoop paths, then create a directory on HDFS, finally start and submit the Flink job in Per-Job or Application mode through YARN, and verify the running status of the task through YARN Web UI and Flink Web UI.
Posts
The article describes the author's disappointment with the actual operation of the laboratory. He believed that most of the projects were outdated, AI-generated and lacked practical applications, so he chose to quit. At the same time, the author developed his own IP testing website based on open source projects, and built overseas nodes by purchasing low-cost servers, realizing the autonomy and implementation of personal technical practice.
This article introduces the core functions and architecture of the Apache Shiro security framework, focusing on the complete process of combining JWT to achieve stateless authentication in the front-end separation project. Through custom Tokens, filters, Realm and global configurations, Shiro can complete user authentication and authority verification without relying on server sessions, and supports annotated authorization to achieve flexible and lightweight security control. At the same time, it is pointed out that real projects need to load user information from the database to avoid storage of plaintext passwords, and need to be combined with a token invalidation mechanism to ensure security.
This article introduces a set of one-click deployment scripts for Hadoop ecological clusters, which simplifies the installation, distribution and launch of ZooKeeper, Hadoop HA, Spark, HBase, Hive, Kafka, Flume, Mahout, Flink and other components by unifying configuration files and automated processes. The script supports a three-node high-availability architecture, automatically completes configuration generation, SSH secret-free distribution, service startup and health check, and provides visual logging and operation and maintenance menus, significantly reducing deployment difficulty and error risk.
This article systematically organizes common Linux commands, classified according to daily use scenarios, covering environment viewing, file operations, rights management, process control, network configuration, software package management, system monitoring and troubleshooting. Emphasis is placed on the safe use of commands, pre-operation confirmation steps, and common troubleshooting processes to help users manage Linux systems efficiently and safely.
This article details the entire process of installing and using MySQL 8.4.11 LTS on Windows 10/11, including downloading the installation package, completing installation and initialization configuration through graphical wizards, setting root passwords and Windows services, using Navicat Premium 17 to connect to databases, creating databases and tables, performing additions, deletions, and changes, and logging in and managing MySQL through the PowerShell command line. The tutorial emphasizes service running status checking, security password setting and troubleshooting common problems, and provides a complete operating process, which is suitable for beginners to master the basic use of MySQL.
This article mainly introduces the core concepts and implementation mechanisms of the Spring Security 6 enterprise-level security framework, focusing on the process of authentication and authorization, as well as the security processing architecture based on the filter chain. The content covers username and password authentication, JWT Token mode, CSRF and XSS protection, the working mechanism of SecurityFilterChain, the collaboration relationship between AuthenticationManager and AuthenticationProvider, and how to achieve stateless authentication through JWT in the front-end separation scenario, and emphasizes the importance of security configuration, cryptographic encoding specifications and context management in the production environment.
JWT (JSON Web Token) is a compact, URL-secure token format used to pass identity and authorization information between systems. It supports signature and encryption and is often used for identity authentication, rights control, and inter-system communication. Its structure consists of three parts: header, payload and signature. It is transmitted through Base64URL encoding. The signature ensures the integrity of the data and the trustworthiness of the source. However, the content of the payload is not encrypted, posing a risk of information leakage. JWT has advantages such as cross-language and distributed verification, but it has problems such as difficulty in revoking tokens and expiration of permissions. When using it, it is necessary to strictly verify the signature, validity period and algorithm, and combine HTTPS, secure storage and refresh mechanisms to improve security.
The Coze platform provides both cloud and open source forms. The cloud version is suitable for rapid experience and teaching, and the open source version supports privatization deployment and secondary development. The platform is built based on five capability layers, covering application interaction, intelligent decision-making, capability expansion, knowledge data and development release. The core components include large language models, agents, workflows, plug-ins, knowledge bases and long-term memory. Through visualization tools, users can easily build agents and AI applications, which are suitable for customer service, knowledge Q & A, content generation, sales recommendations and other scenarios. The advantages of the platform are low development threshold, flexible processes, strong plug-ins expansibility, support for enterprise knowledge access and long-term memory, and provide debugging and multi-system integration capabilities to meet diverse needs from prototype verification to enterprise implementation.
This article details the complete process of building and deploying a forum system (Cloud Patrol Forum) based on Java and front-end frameworks in a Windows environment, including the installation and configuration of tools such as Java, Maven, Git, Docker, Node.js, etc., preparation of front-end project environment, starting and packaging back-end services, and the steps of uploading application files to the Ubuntu server and running them. Finally, it provides the forum access address and key configuration instructions.