On the underlying principle and implementation of dynamic agent and static agent
What is reflection and what is the function of reflection
Java's reflection mechanism refers to that in the running state of the program, you can construct the object of any class, understand the class to which any object belongs, understand the member variables and methods of any class, and call the properties and methods of any object. Th ...
Posted by mania on Sun, 22 May 2022 09:29:53 +0300
Play with Huawei ENSP simulator series | examples of configuring SSH server to support access to other port numbers
Source: Huawei router configuration guide
Organize the test notes while learning and share with you. Infringement is deleted. Thank you for your support!
Attach summary sticker: COCOgsta blog_ CSDN blog - video learning notes, experimental notes, translation bloggers
target
In this example, only legitimate users can establish SSH connectio ...
Posted by Plakhotnik on Sat, 21 May 2022 03:47:33 +0300
Use chroot to restrict SFTP users to the home directory
In this tutorial, we will discuss how to restrict SFTP users to their home directory or specific directory. This means that users can only access their respective home directories, not the entire file system.
It is important to restrict users' home directories, especially in a shared server environment, so that unauthorized users will not pee ...
Posted by wih on Thu, 19 May 2022 14:27:23 +0300
Summary of deep and shallow copy of Java objects
catalogue
Deep copy
1. Manual new
2. clone method
3. java comes with serialization
4. json serialization
performance testing
Deep copy summary
Shallow copy
1. spring BeanUtils(Apache BeanUtils)
2. mapstruct
performance testing
Shallow copy summary
In the process of java development, we often have deep copy requirements, su ...
Posted by fernyburn on Tue, 17 May 2022 16:56:13 +0300
Jenkins deploys SpringBoot application to remote server
Jenkins deploys SpringBoot application to remote server
Using SpringBoot and SpringCloud to write background services also introduces the popular concept of micro services, and there are many modules. Jenkins is used as a continuous integration tool to facilitate early testing and later online deployment and update.
structure
Server structur ...
Posted by redtux on Sun, 08 May 2022 12:17:25 +0300
OpenSSH and OpenSSL upgrade
preface
After upgrading to Centos 7.9.2009, I have to upgrade OpenSSH and OpenSSL. After entering too many pits, I finally found some experience. By the way, I jumped over the pit 1. After upgrading OpenSSH first and then OpenSSL, the ssh -V comes out of the old version, which leads to missing scanning 2. Some articles fail due to missin ...
Posted by alex_lana on Mon, 02 May 2022 17:01:56 +0300
Linux builds SFTP services and CentOS builds SFTP services
https://www.howtoforge.com/tutorial/how-to-setup-an-sftp-server-on-centos/
This tutorial is mainly about how to set up and use SFTP server on CentOS. Using FTP to transfer data is easy to be invaded by anonymous intruders (if TLS is not used), because its port is open to anyone. SFTP can be used as a safer alternative.
SFTP uses SSH file tr ...
Posted by nagasea on Fri, 15 Apr 2022 00:01:16 +0300
Convenient book for measuring and opening common commands
View all port numbers
netstat -anp netstat -anp|grep node
Nuxt start configuration command
npm run start > ../logs/catalina.out 2>&1 &
#pm2 start node_modules/nuxt/bin/nuxt.js --name automated_test_platform_vue > ../logs/catalina.out 2>&1 &
Check whether the port is connected
telnet 59.110.171.91 8080
Configu ...
Posted by sw45acp on Tue, 05 Apr 2022 01:41:35 +0300