20240429
This commit is contained in:
parent
e8083a14d8
commit
1a7f9097f5
|
@ -1,3 +1,3 @@
|
|||
# 启动文件的选择
|
||||
### 启动文件的选择
|
||||
|
||||
![RCU](../../.image/c08ec715-6e8a-45fc-86ff-187265b0e861.png)
|
|
@ -1,4 +1,4 @@
|
|||
# 仓库迁移
|
||||
### 仓库迁移
|
||||
|
||||
* 从原仓库地址克隆一份裸版本库
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 创建项目(qmake)
|
||||
### 创建项目(qmake)
|
||||
|
||||
* 生成 .pro 工程文件
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 打包项目
|
||||
### 打包项目
|
||||
|
||||
```
|
||||
sudo apt install patchelf
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# RKMPP库编译
|
||||
### RKMPP库编译
|
||||
|
||||
#### 环境搭建和编译
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#### gst-rtsp-server-1.16.3 编译
|
||||
### gst-rtsp-server-1.16.3 编译
|
||||
|
||||
```
|
||||
apt install gtk-doc-tools libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
|
||||
|
||||
tar xvf gst-rtsp-server-1.16.3.tar.xz
|
||||
|
@ -12,3 +13,4 @@ make -j4 && make install
|
|||
|
||||
gcc rtsp-server.c -o rtsp-server $(pkg-config --cflags --libs gstreamer-rtsp-server-1.0 gstreamer-1.0)
|
||||
g++ rtsp-server.cpp -o rtsp-server $(pkg-config --cflags --libs gstreamer-rtsp-server-1.0 gstreamer-1.0)
|
||||
```
|
|
@ -1,4 +1,4 @@
|
|||
# 开机启动
|
||||
### 开机启动
|
||||
|
||||
#### 复制程序到 /opt 目录下
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 安装 .NET 7
|
||||
### 安装 .NET 7
|
||||
|
||||
* 下载脚本
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(NPU)
|
||||
### 系统环境配置(NPU)
|
||||
|
||||
NPU 文件包含了如下文件:
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(SSH)
|
||||
### 系统环境配置(SSH)
|
||||
|
||||
- [允许root账户远程SSH登陆](#允许root账户远程SSH登陆)
|
||||
- [更新软件](#更新软件)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
### 系统环境配置(安装QT)
|
||||
|
||||
```
|
||||
apt-get install qt5-default qtcreator -y
|
||||
apt --fix-broken install -y
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(编译FFmpeg)
|
||||
### 系统环境配置(编译FFmpeg)
|
||||
|
||||
#### 编译环境配置
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(编译OpenCV)
|
||||
### 系统环境配置(编译OpenCV)
|
||||
|
||||
* 安装 software-properties-common
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 编译固件
|
||||
### 编译固件
|
||||
|
||||
- [环境准备](#环境准备)
|
||||
- [创建、进入容器](#创建、进入容器)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 开机启动
|
||||
### 开机启动
|
||||
|
||||
#### 复制程序到 /opt 目录下
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(NPU)
|
||||
### 系统环境配置(NPU)
|
||||
|
||||
* 复制对应的文件
|
||||
```
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
### 系统环境配置(安装QT)
|
||||
|
||||
```
|
||||
sudo apt-get install qt5-default qtcreator -y
|
||||
sudo apt-get install qtmultimedia5-dev -y
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 系统环境配置(编译OpenCV)
|
||||
### 系统环境配置(编译OpenCV)
|
||||
|
||||
* 安装 software-properties-common
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
### 编译项目
|
||||
|
||||
* 拷贝 "testcase.cpp" 文件到 /root/works/testcase/ 目录下
|
||||
|
||||
```
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
### BT下载
|
||||
|
||||
|
||||
```
|
||||
sudo apt install aria2
|
||||
aria2c *.torrent
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
1、下载最新的libcurl源代码。
|
||||
### curl静态库编译
|
||||
|
||||
#### 下载最新的libcurl源代码
|
||||
|
||||
```
|
||||
wget https://curl.se/download/curl-8.5.0.tar.gz
|
||||
|
||||
tar -zxvf ./curl-8.5.0.tar.gz
|
||||
cd curl-8.5.0/
|
||||
./configure --without-zlib --without-ssl --disable-shared
|
||||
make -j4
|
||||
```
|
||||
|
||||
#### 测试代码
|
||||
|
||||
测试代码:
|
||||
```
|
||||
#include <stdio.h>
|
||||
#include "curl/curl.h"
|
||||
|
||||
|
@ -35,6 +40,10 @@ int main(void)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
```
|
||||
|
||||
编译:
|
||||
#### 编译
|
||||
|
||||
```
|
||||
gcc test_curl.c libcurl.a -DCURL_STATICLIB -lpthread -o test_curl
|
||||
```
|
|
@ -1,6 +1,5 @@
|
|||
### tar
|
||||
|
||||
|
||||
#### 压缩
|
||||
|
||||
* 将一个文件夹压缩成 tar 格式
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
### 动态查看文件
|
||||
#### 动态查看文件
|
||||
|
||||
```
|
||||
tail -f 文件名
|
||||
```
|
||||
|
||||
查看特定服务(例如 app_service)的实时日志
|
||||
#### 查看特定服务(例如 app_service)的实时日志
|
||||
|
||||
```
|
||||
journalctl -u app_service -f
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 查找文件大小
|
||||
#### 查找文件大小
|
||||
|
||||
```
|
||||
du -h --max-depth=1 /
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
### 清理日志
|
||||
|
||||
|
||||
#### 禁用系统日志
|
||||
|
||||
```
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
* [环境搭建](/香橙排打印机(orangepi)/环境搭建.md)
|
||||
* [添加打印机驱动脚本](/香橙排打印机(orangepi)/添加打印机驱动脚本.md)
|
||||
* **ARM**
|
||||
* [启动文件的选择](/ARM/启动文件的选择.md)
|
||||
* **.Net**
|
||||
* [远程调试](/.Net/远程调试.md)
|
||||
* [启动文件的选择](/ARM/GD32/启动文件的选择.md)
|
||||
* **dotnet**
|
||||
* [远程调试](/dotnet/远程调试.md)
|
||||
* **GIT**
|
||||
* [仓库迁移](/GIT/仓库迁移.md)
|
||||
* **QT**
|
||||
|
@ -25,7 +25,7 @@
|
|||
* [系统环境配置(安装QT)](/RK3568/移远/系统环境配置(安装QT).md)
|
||||
* [系统环境配置(编译ffmpeg)](/RK3568/移远/系统环境配置(编译ffmpeg).md)
|
||||
* [系统环境配置(编译Opencv)](/RK3568/移远/系统环境配置(编译Opencv).md)
|
||||
* [系统环境配置(dotnet)](/RK3568/移远/系统环境配置(dotnet).md)
|
||||
* [系统环境配置(C#)](/RK3568/移远/系统环境配置(.NET%207).md)
|
||||
* [系统环境配置(NPU)](/RK3568/移远/系统环境配置(NPU).md)
|
||||
* [系统环境配置(SSH)](/RK3568/移远/系统环境配置(SSH).md)
|
||||
* [gst-rtsp-server-1.16.3编译](/RK3568/移远/gst-rtsp-server-1.16.3编译.md)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# .net core 远程调试
|
||||
### .net core 远程调试
|
||||
|
||||
|
||||
```
|
|
@ -1,4 +1,4 @@
|
|||
# 打印脚本
|
||||
### 打印脚本
|
||||
|
||||
* printer.sh
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 添加打印机驱动脚本
|
||||
### 添加打印机驱动脚本
|
||||
|
||||
* 需要进行[环境搭建](./环境搭建.md), 脚本文件如下:
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# 环境搭建
|
||||
### 环境搭建
|
||||
|
||||
#### 找回剩余容量
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user