J1900 building centos home server

J1900 building centos home nas server These days, I installed a small server with some slag accessories at home and put it at home. The effect is still very good. I post some commands for my installation here. I hope it can provide some ideas to those in need. The system uses CentOS 7. This pagoda panel can install python project manager. Then ...

Posted by lisa3711 on Wed, 26 Jan 2022 14:29:13 +0100

Revisit Oath2 Configuration of 0

preparation Firstly, the UserDetailsService interface needs to be implemented to complete the loading of users; Note that the password here needs to be encrypted. If the database is plaintext, it needs to be encrypted and set later Furthermore, a UserDetails interface needs to be implemented to complete the external output of user informa ...

Posted by edawg on Tue, 25 Jan 2022 12:13:41 +0100

Linux system programming - (pthread) thread communication (spin lock)

1. Introduction to spin lock Spin lock will be used in both kernel programming and application layer programming; Spinlock is similar to mutex. Instead of blocking the process through sleep, it is always in a busy state (also known as spin) before obtaining the lock. Spin locks can be used when the lock is held for a short time and the thread ...

Posted by jasonok6 on Tue, 25 Jan 2022 09:30:50 +0100

page fault of linux (AMD64 Architecture)

The application or kernel runs in the virtual memory space. After kernel {startup, if a virtual address wants to access the physical memory, it needs to perform address translation through the CPU MMU hardware. The logical process of accessing the physical memory by the whole virtual address is as follows: After kernel # startup, the appli ...

Posted by Alanmoss on Tue, 25 Jan 2022 09:22:43 +0100

Qunhui installs frp to achieve intranet penetration (2022)

1, Environment ECS (lightweight application server)Heiqunhui DSM 6.2-23739frp version 0.38.0 2, ECS frps configuration The ECS uses Tencent cloud. It's slow to download GitHub directly with wget, and it's still stuck in the end. First download it and copy it to the server. FinalShell is recommended here. It comes with file management. It's t ...

Posted by Randomizer on Tue, 25 Jan 2022 07:56:24 +0100

Functional programming

1, Functional programming idea 1.1 concept Object oriented thinking needs to focus on what objects are used to accomplish what. The idea of functional programming is similar to the function in our mathematics. It mainly focuses on what to do with the data. Functional programming only focuses on the specific method body and parameter list, an ...

Posted by ngubie on Mon, 24 Jan 2022 11:14:31 +0100

Use Shell script to monitor ports and set Redis to turn off automatic startup

Click Redis installation Make the file have miscellaneous attributes chmod a+x /etc/init.d/redis Crond service related commands( reference resources) crond service To install crontab: yum install crontabs Service operation instructions: /sbin/service crond start //Start service /sbin/service crond stop //Shut down service /sbin/se ...

Posted by jnewing on Mon, 24 Jan 2022 08:32:02 +0100

RH358 accessing block based networked storage - automated configuration of iSCSI initiator

RH358 accessing block based networked storage – automated configuration of iSCSI initiator This section describes how to use Ansible to connect iSCSI storage and management. RH358 column address: https://blog.csdn.net/qq_41765918/category_11532281.html 1. Use Ansible to connect iSCSI Targets Use ansible open_ The iSCSI m ...

Posted by titangf on Mon, 24 Jan 2022 07:35:26 +0100

node.js: create a Web server using Express

Express is a node based JS developed specifically to create a Web server framework. Its function is similar to that of node JS is similar to the built-in http module, or it is based on node JS is developed with built-in http module. Its relationship with http module is similar to that between Jquery and web API, but it is more efficient and pow ...

Posted by Hyperjase on Mon, 24 Jan 2022 06:34:54 +0100

Linux debugging smart card environment, including Linux dynamic library

Some of the resources required below have been uploaded to CSDN resources 1, Download the offline installation package for CentOS (note that you can't download only after installation) CentOS downloads the rpm package using yum and installs it offline 1. Install the rpm package online and prepare the downloaded package #yum install --downlo ...

Posted by le007 on Mon, 24 Jan 2022 01:40:52 +0100