This commit is contained in:
hehaoyang 2024-04-29 22:22:30 +08:00
parent e8083a14d8
commit 1a7f9097f5
30 changed files with 61 additions and 47 deletions

View File

@ -1,3 +1,3 @@
# 启动文件的选择 ### 启动文件的选择
![RCU](../../.image/c08ec715-6e8a-45fc-86ff-187265b0e861.png) ![RCU](../../.image/c08ec715-6e8a-45fc-86ff-187265b0e861.png)

View File

@ -1,4 +1,4 @@
# 仓库迁移 ### 仓库迁移
* 从原仓库地址克隆一份裸版本库 * 从原仓库地址克隆一份裸版本库

View File

@ -1,4 +1,4 @@
# 创建项目(qmake) ### 创建项目(qmake)
* 生成 .pro 工程文件 * 生成 .pro 工程文件

View File

@ -1,4 +1,4 @@
# 打包项目 ### 打包项目
``` ```
sudo apt install patchelf sudo apt install patchelf

View File

@ -1,4 +1,4 @@
# RKMPP库编译 ### RKMPP库编译
#### 环境搭建和编译 #### 环境搭建和编译

View File

@ -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 apt install gtk-doc-tools libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev -y
tar xvf gst-rtsp-server-1.16.3.tar.xz tar xvf gst-rtsp-server-1.16.3.tar.xz
@ -11,4 +12,5 @@ cd gst-rtsp-server
make -j4 && make install make -j4 && make install
gcc rtsp-server.c -o rtsp-server $(pkg-config --cflags --libs gstreamer-rtsp-server-1.0 gstreamer-1.0) 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) g++ rtsp-server.cpp -o rtsp-server $(pkg-config --cflags --libs gstreamer-rtsp-server-1.0 gstreamer-1.0)
```

View File

@ -1,4 +1,4 @@
# 开机启动 ### 开机启动
#### 复制程序到 /opt 目录下 #### 复制程序到 /opt 目录下

View File

@ -1,4 +1,4 @@
# 安装 .NET 7 ### 安装 .NET 7
* 下载脚本 * 下载脚本

View File

@ -1,4 +1,4 @@
# 系统环境配置(NPU) ### 系统环境配置(NPU)
NPU 文件包含了如下文件: NPU 文件包含了如下文件:

View File

@ -1,4 +1,4 @@
# 系统环境配置(SSH) ### 系统环境配置(SSH)
- [允许root账户远程SSH登陆](#允许root账户远程SSH登陆) - [允许root账户远程SSH登陆](#允许root账户远程SSH登陆)
- [更新软件](#更新软件) - [更新软件](#更新软件)

View File

@ -1,3 +1,5 @@
### 系统环境配置(安装QT)
``` ```
apt-get install qt5-default qtcreator -y apt-get install qt5-default qtcreator -y
apt --fix-broken install -y apt --fix-broken install -y

View File

@ -1,4 +1,4 @@
# 系统环境配置(编译FFmpeg) ### 系统环境配置(编译FFmpeg)
#### 编译环境配置 #### 编译环境配置

View File

@ -1,4 +1,4 @@
# 系统环境配置(编译OpenCV) ### 系统环境配置(编译OpenCV)
* 安装 software-properties-common * 安装 software-properties-common

View File

@ -1,4 +1,4 @@
# 编译固件 ### 编译固件
- [环境准备](#环境准备) - [环境准备](#环境准备)
- [创建、进入容器](#创建、进入容器) - [创建、进入容器](#创建、进入容器)

View File

@ -1,4 +1,4 @@
# 开机启动 ### 开机启动
#### 复制程序到 /opt 目录下 #### 复制程序到 /opt 目录下

View File

@ -1,4 +1,4 @@
# 系统环境配置(NPU) ### 系统环境配置(NPU)
* 复制对应的文件 * 复制对应的文件
``` ```

View File

@ -1,3 +1,5 @@
### 系统环境配置(安装QT)
``` ```
sudo apt-get install qt5-default qtcreator -y sudo apt-get install qt5-default qtcreator -y
sudo apt-get install qtmultimedia5-dev -y sudo apt-get install qtmultimedia5-dev -y

View File

@ -1,4 +1,4 @@
# 系统环境配置(编译OpenCV) ### 系统环境配置(编译OpenCV)
* 安装 software-properties-common * 安装 software-properties-common

View File

@ -1,3 +1,5 @@
### 编译项目
* 拷贝 "testcase.cpp" 文件到 /root/works/testcase/ 目录下 * 拷贝 "testcase.cpp" 文件到 /root/works/testcase/ 目录下
``` ```

View File

@ -1,6 +1,5 @@
### BT下载 ### BT下载
``` ```
sudo apt install aria2 sudo apt install aria2
aria2c *.torrent aria2c *.torrent

View File

@ -1,14 +1,19 @@
1、下载最新的libcurl源代码。 ### curl静态库编译
#### 下载最新的libcurl源代码
```
wget https://curl.se/download/curl-8.5.0.tar.gz wget https://curl.se/download/curl-8.5.0.tar.gz
tar -zxvf ./curl-8.5.0.tar.gz tar -zxvf ./curl-8.5.0.tar.gz
cd curl-8.5.0/ cd curl-8.5.0/
./configure --without-zlib --without-ssl --disable-shared ./configure --without-zlib --without-ssl --disable-shared
make -j4 make -j4
```
#### 测试代码
测试代码: ```
#include <stdio.h> #include <stdio.h>
#include "curl/curl.h" #include "curl/curl.h"
@ -35,6 +40,10 @@ int main(void)
} }
return 0; return 0;
} }
```
编译: #### 编译
gcc test_curl.c libcurl.a -DCURL_STATICLIB -lpthread -o test_curl
```
gcc test_curl.c libcurl.a -DCURL_STATICLIB -lpthread -o test_curl
```

View File

@ -1,6 +1,5 @@
### tar ### tar
#### 压缩 #### 压缩
* 将一个文件夹压缩成 tar 格式 * 将一个文件夹压缩成 tar 格式

View File

@ -1,10 +1,10 @@
### 动态查看文件 #### 动态查看文件
``` ```
tail -f 文件名 tail -f 文件名
``` ```
查看特定服务(例如 app_service)的实时日志 #### 查看特定服务(例如 app_service)的实时日志
``` ```
journalctl -u app_service -f journalctl -u app_service -f

View File

@ -1,4 +1,4 @@
# 查找文件大小 #### 查找文件大小
``` ```
du -h --max-depth=1 / du -h --max-depth=1 /

View File

@ -1,6 +1,5 @@
### 清理日志 ### 清理日志
#### 禁用系统日志 #### 禁用系统日志
``` ```

View File

@ -3,9 +3,9 @@
* [环境搭建](/香橙排打印机(orangepi)/环境搭建.md) * [环境搭建](/香橙排打印机(orangepi)/环境搭建.md)
* [添加打印机驱动脚本](/香橙排打印机(orangepi)/添加打印机驱动脚本.md) * [添加打印机驱动脚本](/香橙排打印机(orangepi)/添加打印机驱动脚本.md)
* **ARM** * **ARM**
* [启动文件的选择](/ARM/启动文件的选择.md) * [启动文件的选择](/ARM/GD32/启动文件的选择.md)
* **.Net** * **dotnet**
* [远程调试](/.Net/远程调试.md) * [远程调试](/dotnet/远程调试.md)
* **GIT** * **GIT**
* [仓库迁移](/GIT/仓库迁移.md) * [仓库迁移](/GIT/仓库迁移.md)
* **QT** * **QT**
@ -25,7 +25,7 @@
* [系统环境配置(安装QT)](/RK3568/移远/系统环境配置(安装QT).md) * [系统环境配置(安装QT)](/RK3568/移远/系统环境配置(安装QT).md)
* [系统环境配置(编译ffmpeg)](/RK3568/移远/系统环境配置(编译ffmpeg).md) * [系统环境配置(编译ffmpeg)](/RK3568/移远/系统环境配置(编译ffmpeg).md)
* [系统环境配置(编译Opencv)](/RK3568/移远/系统环境配置(编译Opencv).md) * [系统环境配置(编译Opencv)](/RK3568/移远/系统环境配置(编译Opencv).md)
* [系统环境配置(dotnet)](/RK3568/移远/系统环境配置(dotnet).md) * [系统环境配置(C#)](/RK3568/移远/系统环境配置(.NET%207).md)
* [系统环境配置(NPU)](/RK3568/移远/系统环境配置(NPU).md) * [系统环境配置(NPU)](/RK3568/移远/系统环境配置(NPU).md)
* [系统环境配置(SSH)](/RK3568/移远/系统环境配置(SSH).md) * [系统环境配置(SSH)](/RK3568/移远/系统环境配置(SSH).md)
* [gst-rtsp-server-1.16.3编译](/RK3568/移远/gst-rtsp-server-1.16.3编译.md) * [gst-rtsp-server-1.16.3编译](/RK3568/移远/gst-rtsp-server-1.16.3编译.md)

View File

@ -1,14 +1,14 @@
# .net core 远程调试 ### .net core 远程调试
``` ```
mkdir /root/.vs-debugger mkdir /root/.vs-debugger
curl -sSL -k https://aka.ms/getvsdbgsh -o /root/.vs-debugger/GetVsDbg.sh curl -sSL -k https://aka.ms/getvsdbgsh -o /root/.vs-debugger/GetVsDbg.sh
#没有下载包执行此命令 #没有下载包执行此命令
bash /root/.vs-debugger/GetVsDbg.sh -v latest -l /vsdbg bash /root/.vs-debugger/GetVsDbg.sh -v latest -l /vsdbg
#下载过安装包执行此命令 #下载过安装包执行此命令
bash /root/.vs-debugger/GetVsDbg.sh -v latest -l /vsdbg -e /root/.vs-debugger/vsdbg-linux-arm64.tar.gz -u bash /root/.vs-debugger/GetVsDbg.sh -v latest -l /vsdbg -e /root/.vs-debugger/vsdbg-linux-arm64.tar.gz -u
``` ```

View File

@ -1,4 +1,4 @@
# 打印脚本 ### 打印脚本
* printer.sh * printer.sh

View File

@ -1,4 +1,4 @@
# 添加打印机驱动脚本 ### 添加打印机驱动脚本
* 需要进行[环境搭建](./环境搭建.md), 脚本文件如下: * 需要进行[环境搭建](./环境搭建.md), 脚本文件如下:

View File

@ -1,4 +1,4 @@
# 环境搭建 ### 环境搭建
#### 找回剩余容量 #### 找回剩余容量