Linux Basic Notes 4 | Essential Basic Commands

Absolute path: take the root directory as a reference, start from the root directory, and enter the directory level by level Relative path: use the current directory as a reference to search for the directory 1.1 Directory operations ls show the contents of the directory # View the information under the /etc/passwd file/folder ls -l / ...

Posted by ibanez270dx on Sun, 29 Jan 2023 20:41:10 +0300

linux installs tesseract to support tess4j image recognition

Introduction Because the company needs to identify the relevant information in the uploaded pictures, tees4j was chosen to implement relevant functions. It is not very good to directly identify through tess4j, so after processing the pictures through java code, use tess4j to identify them, and then deploy them to the linux server tesseract nee ...

Posted by dakkonz on Wed, 18 Jan 2023 11:38:01 +0300

Solve the 302 redirection problem that occurs after the front-end and back-end separate Vue projects are deployed to the server

Problem Description Recently, I found that the front-end and back-end separation project of vue developed by myself uses the spring security security framework. Even if some normal interfaces are called after successful login authentication, there will always be inexplicable 302 redirection problems, resulting in interface data not coming ...

Posted by nineseveninteractive on Mon, 16 Jan 2023 01:57:39 +0300

Centos7 upgrade openssl-1.1.1s and openssh-9.1p1 (with script)

The main reason is that there was a vulnerability in openssl last month, so the server needs to be upgraded. It is recommended not to upgrade if there is no problem. The main steps are 2, and the script content also contains only the upgrade. 1 and 3 are to enable and disable telnet, it is not recommended to use telnet. 1 Install and start ...

Posted by Tranquilraven on Mon, 19 Dec 2022 19:51:50 +0300

Summary of IPV6 Address Processing

1. Address translation 1. Network address conversion functions inet_pton and inet_ntop These two functions are functions that appear with IPv6, and are applicable to both IPv4 addresses and IPv6 addresses. In the functions, p and n represent expression (presentation) and value (numeric) respectively. The expression format of the address is usu ...

Posted by CG-Sodar on Sat, 17 Dec 2022 00:51:48 +0300

Common UOS server firewall settings common commands

Table of contents 1. Firewall supported by UOS 2. Firewall Settings 3. Firewall script 4. Close the firewall (clear all rules, delete scripts, close and restart) 5. Configure black and white list 1. Firewall supported by UOS What is the difference between iptables ufw firewalld Netfilter? iptables ufw firewall is front-end manageme ...

Posted by 87dave87 on Sun, 11 Dec 2022 20:48:16 +0300

Virtual platform, distributed storage, high-availability k8s cluster environment construction of micro-service architecture series

1. Construction of physical machine virtual platform 1. Architecture conversion diagram from practical to required (each physical machine requires two hard disks for distributed storage and system disks, mine is an old machine 10 years ago and there is no big requirement):   2. System installation to Official website download Proxmox VE ...

Posted by chapm4 on Sun, 11 Dec 2022 10:51:34 +0300

[Akka] Akka concurrent programming design

1 Overview Reprinted: Akka concurrent programming design 2. Responsive system design Akka is known to be a reactive platform, more specifically, it is part of the Typesafe reactive platform. The Reactive Manifesto contains 4 principles or design goals: agility, scalability, fault tolerance, and event-driven design. Sensitivity Applicatio ...

Posted by MBK on Sun, 13 Nov 2022 12:52:20 +0300

Network programming 06-server programming non-blocking IO, multiplexing

Table of contents 1. Four high-performance IO models in server programming 1. Block IO 2. Non-blocking IO 3. Multiplexing 4. Signal drive 2. Blocking IO 3. Non-blocking IO 1. The difference between blocking IO and non-blocking IO 2. How to set the non-blocking attribute to the file descriptor----fcntl() ----- man 2 fcntl 4. Multiple ...

Posted by vornn on Wed, 09 Nov 2022 03:11:14 +0300

Install and configure Apache under Linux

lab environment: Linux 5.19.13-arch1-1 konsole 22.08.2 apache 2.4.54-2 I. Overview Apache HTTP Server (Apache for short) is an open source Web server of the Apache Software Foundation and the world's number one Web server software. It can run on almost all widely used computer platforms and is one of the most popular Web server-side sof ...

Posted by X74SY on Fri, 04 Nov 2022 02:52:58 +0300