Control WS2812 Christmas tree lighting with raspberry pie
By Stack Thomas Translator: Crescent Moon Produced by | CSDN (ID: CSDNnews)
Note: home network security is not considered in this project. You should use a password and make sure the network is inaccessible.
I don't have any experience in IT, but after studying for some time, I successfully completed the project, which is due to several op ...
Added by rgriffin3838 on Fri, 24 Dec 2021 06:40:07 +0200
SSH Remote Connection & file transfer
SSH
Common remote connection software
Putty: putty is an open source software with only more than 500 k, small and lightweight, but single function SecureCRT: SecureCRT is a terminal emulator that supports SSH(SSH1 and SSH2). In short, it is the software that logs in to the UNIX or Linux server host under Windows. The disadvantage is that t ...
Added by magicmoose on Sat, 18 Dec 2021 23:45:38 +0200
Git generates SSH key link code cloud, and GitHub also uses the same principle
Generate SSH public key As mentioned earlier, many Git servers use ssh public keys for authentication. In order to provide the Git server with the ssh public key, if a system user does not already have the key, a copy must be generated in advance. This process is similar on all operating systems. First, you need to confirm whether you already h ...
Added by dank on Sat, 18 Dec 2021 18:40:05 +0200
Simulated deployment k8s production environment
k8s environmental preparation
Prepare a linux computer
Install kvm and initialize k8s cluster nodes
sudo apt-get install virt-manager
Install os
Configure kvm network segment
sudo vi /etc/libvirt/qemu/networks/default.xml
# After configuration, restart the network
sudo systemctl restart network-manager
Get through ssh tunnel ...
Added by nielsene on Sat, 18 Dec 2021 16:02:53 +0200
Configure Docker environment of ROS
Configure Docker environment of ROS
target
Configure two independent Docker environments, ROS1 and ROS2 GUI applications in the ros docker container on the local display server, such as rqt, rviz, etc From the local, you can directly ssh log in to the ROS container of the server Mount a directory of the server into the container to facil ...
Added by K3nnnn on Fri, 17 Dec 2021 12:20:43 +0200
No.8 CA certificate and SSH service
1. Create a private CA and apply for a certificate.
1.1 create CA related directories and files
[22:05:51 root@centos8 data]#mkdir -pv /etc/pki/CA/{certs,crl,newcerts,private}
mkdir: created directory '/etc/pki/CA'
mkdir: created directory '/etc/pki/CA/certs'
mkdir: created directory '/etc/pki/CA/crl'
mkdir: created directory '/etc/pki/CA/new ...
Added by jprazen on Wed, 15 Dec 2021 10:24:00 +0200
[Euler openEuler 21.03 (arrch64 Architecture) ssh installation, configuration and remote control]
1. Check whether SSH is installed: it is generally installed by default
[changairjb@localhost ~]$ rpm -qa | grep ssh
libssh-0.9.5-1.oe1.aarch64
openssh-8.2p1-13.oe1.aarch64
openssh-server-8.2p1-13.oe1.aarch64 //Server
libssh2-1.9.0-6.oe1.aarch64
openssh-clients-8.2p1-13.oe1.aarch64 //client
2. If not installed: enter the following com ...
Added by trevHCS on Tue, 14 Dec 2021 07:40:01 +0200
21-11-29 structure and document operation
How to define a structure type?
struct Student
{
int num;
char name[2];
int age;
}**;**
The first letter is capitalized, and the structure name must reflect the function of the structure (self annotation) Function cannot be saved in structure: Solution: save function pointer example:
struct Student
{
int num;
char name[2];
int age;
void ( ...
Added by gnu2php on Wed, 01 Dec 2021 10:36:45 +0200
[Hadoop] build a fully distributed cluster based on Docker
reference material: http://dblab.xmu.edu.cn/blog/1233/
Note: the experiment of this blog requires a Docker image with Hadoop cluster environment.
Operating environment
Ubuntu20.04
Hadoop3.3.1
JDK8
1. Open three containers with Docker
Node introduction of this test
Node nameeffectmasterMaster nodeslave1Secondary nodeslave2Secondary ...
Added by yendor on Wed, 13 Oct 2021 04:32:50 +0300
rsync synchronization service
1. Introduction to Rsync
rsync is a data image backup tool under linux system. Using the fast incremental backup tool Remote Sync, you can synchronize remotely, support local replication, or synchronize with other SSH and rsync hosts.
2. rsync features
rsync supports many features:
1. The entire directory tree and file system can be mir ...
Added by outpost on Tue, 12 Oct 2021 10:03:57 +0300