修正错误。
This commit is contained in:
parent
8a05836460
commit
71dc34d5f9
|
@ -178,8 +178,8 @@ sudo systemctl unmask getty@tty1.service
|
||||||
|
|
||||||
su root
|
su root
|
||||||
tar -xvf go1.22.4.linux-arm64.tar.gz
|
tar -xvf go1.22.4.linux-arm64.tar.gz
|
||||||
mkdir ~/go
|
|
||||||
mv go /
|
mv go /
|
||||||
|
mkdir ~/go
|
||||||
go env -w GO111MODULE=on
|
go env -w GO111MODULE=on
|
||||||
go env -w GOPROXY=https://goproxy.cn
|
go env -w GOPROXY=https://goproxy.cn
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ go install golang.org/x/tools/cmd/goimports@latest
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt install qt5-qmake qtbase5-dev qtbase5-dev-tools qt5dxcb-plugin qtchooser qtltools qtdeclarative5-dev qtdeclarative5-dev-tools qtdeclarative5-doc qtmultimedia5-doc qtconnectivity5-dev qtconnectivity5-doc qtgstreamer-plugins-qt5 qtgstreamer-doc qtlocation5-dev qtlocation5-doc qtquickcontrols2-5-dev qtquickcontrols2-5-doc qtscript5-dev qtscript5-doc qtvirtualkeyboard-plugin libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5multimediawidgets5 libqt5multimediaquick5 libqt5multimedia5 libqt5quick5 libqt5qml5 libqt5printsupport5 libqt5quickcontrols2-5 libqt5quickwidgets5 libqt5serialport5-dev libqt5serialport5 libqt5serialbus5-plugins libqt5serialbus5-bin libqt5serialbus5 libqt5serialbus5-dev qtmultimedia5-dev qml-module-qtmultimedia libqt5xdg-dev libqt5xml5 libqt5xmlpatterns5-dev libqt5core5a libqt5network5 libqt5gui5 libqt5quickparticles5 libqt53dquickextras5 libqt53dquickinput5 libqt5positioningquick5 libqt53dquickrender5 libqt53dquickscene2d5 libqt5virtualkeyboard5 libqt5virtualkeyboard5-dev qml-module-qtquick-virtualkeyboard qml-module-qtquick-window2 qml-module-qtquick-shapes qml-module-qtquick-scene2d qml-module-qtquick-privatewidgets qml-module-qtquick-localstorage qml-module-qtquick-extras qml-module-qtquick-dialogs qml-module-qtquick-controls2 qml-module-qtquick-controls qml-module-qt-labs-calendar qml-module-qt-labs-folderlistmodel qml-module-gsettings1.0 qml-module-qmltermwidget qml-module-qt-labs-folderlistmodel qml-module-qt-labs-location qml-module-qt-labs-platform qml-module-qt-labs-qmlmodels qml-module-qt-labs-settings qml-module-qt-labs-sharedimage qml-module-qtcharts qml-module-qtmultimedia qml-module-qtlocation qml-module-qtpositioning qml-module-qtqml-statemachine libssl-dev libprotobuf-c-dev libprotobuf-c1 protobuf-c-compiler protobuf-compiler git cmake libasound2-dev libqt5waylandclient5 libqt5waylandclient5-dev libqt5waylandcompositor5 libqt5waylandcompositor5-dev qtwayland5 qtwayland5-dev-tools qtwayland5-private-dev gstreamer1.0-plugins-base-apps gstreamer1.0-libav libgstreamer-plugins-bad1.0-0 gstreamer1.0-qt5 gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good gstreamer1.0-plugins-bad libasound2 libasound2-data libasound2-dev libasound2-plugin-equal libasound2-plugins libasound2-plugins-extra alsaplayer-alsa alsa-tools alsa-topology-conf alsa-utils alsa-firmware-loaders alsa-base gstreamer1.0-alsa libgstreamermm-1.0-dev libgstreamermm-1.0-1 libgstreamer1.0-dev libgstreamer1.0-0 gstreamer1.0-tools gstreamer1.0-gl
|
sudo apt install qt5-qmake qtbase5-dev qtbase5-dev-tools qt5dxcb-plugin qtchooser qtltools qtdeclarative5-dev qtdeclarative5-dev-tools qtdeclarative5-doc qtmultimedia5-doc qtconnectivity5-dev qtconnectivity5-doc qtgstreamer-plugins-qt5 qtgstreamer-doc qtlocation5-dev qtlocation5-doc qtquickcontrols2-5-dev qtquickcontrols2-5-doc qtscript5-dev qtscript5-doc qtvirtualkeyboard-plugin libqt5multimedia5-plugins libqt5multimediagsttools5 libqt5gstreamer-1.0-0 libqt5gstreamer-dev libqt5gstreamerquick-1.0-0 libqt5gstreamerui-1.0-0 libqt5gstreamerutils-1.0-0 libqt5multimediawidgets5 libqt5multimediaquick5 libqt5multimedia5 libqt5quick5 libqt5qml5 libqt5printsupport5 libqt5quickcontrols2-5 libqt5quickwidgets5 libqt5serialport5-dev libqt5serialport5 libqt5serialbus5-plugins libqt5serialbus5-bin libqt5serialbus5 libqt5serialbus5-dev qtmultimedia5-dev qml-module-qtmultimedia libqt5xdg-dev libqt5xml5 libqt5xmlpatterns5-dev libqt5core5a libqt5network5 libqt5gui5 libqt5quickparticles5 libqt53dquickextras5 libqt53dquickinput5 libqt5positioningquick5 libqt53dquickrender5 libqt53dquickscene2d5 libqt5virtualkeyboard5 libqt5virtualkeyboard5-dev qml-module-qtquick-virtualkeyboard qml-module-qtquick-window2 qml-module-qtquick-shapes qml-module-qtquick-scene2d qml-module-qtquick-privatewidgets qml-module-qtquick-localstorage qml-module-qtquick-extras qml-module-qtquick-dialogs qml-module-qtquick-controls2 qml-module-qtquick-controls qml-module-qt-labs-calendar qml-module-qt-labs-folderlistmodel qml-module-gsettings1.0 qml-module-qmltermwidget qml-module-qt-labs-folderlistmodel qml-module-qt-labs-location qml-module-qt-labs-platform qml-module-qt-labs-qmlmodels qml-module-qt-labs-settings qml-module-qt-labs-sharedimage qml-module-qtcharts qml-module-qtmultimedia qml-module-qtlocation qml-module-qtpositioning qml-module-qtqml-statemachine libssl-dev libprotobuf-c-dev libprotobuf-c1 protobuf-c-compiler protobuf-compiler git cmake libasound2-dev libqt5waylandclient5 libqt5waylandclient5-dev libqt5waylandcompositor5 libqt5waylandcompositor5-dev qtwayland5 qtwayland5-dev-tools qtwayland5-private-dev gstreamer1.0-plugins-base-apps gstreamer1.0-libav libgstreamer-plugins-bad1.0-0 gstreamer1.0-qt5 gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good gstreamer1.0-plugins-bad libasound2 libasound2-data libasound2-dev libasound2-plugin-equal libasound2-plugins libasound2-plugins-extra alsaplayer-alsa alsa-tools alsa-topology-conf alsa-utils alsa-firmware-loaders alsa-base gstreamer1.0-alsa libgstreamermm-1.0-dev libgstreamermm-1.0-1 libgstreamer1.0-dev libgstreamer1.0-0 gstreamer1.0-tools gstreamer1.0-gl qtbase5-private-dev
|
||||||
|
|
||||||
sudo dpkg -i gstreamer1.0-rockchip1_1.14-4_arm64.deb
|
sudo dpkg -i gstreamer1.0-rockchip1_1.14-4_arm64.deb
|
||||||
```
|
```
|
||||||
|
@ -209,7 +209,7 @@ sudo dpkg -i gstreamer1.0-rockchip1_1.14-4_arm64.deb
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /usr/share/fonts
|
cd /usr/share/fonts
|
||||||
mkdir haoan
|
sudo mkdir haoan
|
||||||
cd haoan
|
cd haoan
|
||||||
|
|
||||||
sudo cp HARMONYOS_SANS_SC_* /usr/share/fonts/haoan
|
sudo cp HARMONYOS_SANS_SC_* /usr/share/fonts/haoan
|
||||||
|
|
|
@ -4,7 +4,21 @@ Ngrok 可实现内网穿透。
|
||||||
|
|
||||||
官网和下载地址:<https://dashboard.ngrok.com>
|
官网和下载地址:<https://dashboard.ngrok.com>
|
||||||
|
|
||||||
配置文件参考 cpolar
|
配置文件参考 cpolar,基本格式如下:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
authtoken: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
||||||
|
log_level: info
|
||||||
|
log: /path/to/ngrok.log
|
||||||
|
update: false
|
||||||
|
update_channel: stable
|
||||||
|
tunnels:
|
||||||
|
tty:
|
||||||
|
proto: tcp
|
||||||
|
addr: 22
|
||||||
|
version: "2"
|
||||||
|
region: us
|
||||||
|
```
|
||||||
|
|
||||||
参考 Systemd 文件:
|
参考 Systemd 文件:
|
||||||
|
|
||||||
|
|
|
@ -35,5 +35,5 @@ if(contains(DEFINES, MY_DEFINE)){
|
||||||
## 3. QMake 命令
|
## 3. QMake 命令
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
qmake CONFIG += debug
|
qmake CONFIG+=debug
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue