Update README.md
This commit is contained in:
parent
a19b4d4c47
commit
f47c9e6f13
21
README.md
21
README.md
|
|
@ -942,23 +942,24 @@ fbterm
|
||||||
Install RealVNC
|
Install RealVNC
|
||||||
|
|
||||||
```
|
```
|
||||||
|
vnc_pkg='VNC-Server-6.6.0-Linux-ARM.deb' ; \
|
||||||
sudo \
|
sudo \
|
||||||
sed -i '/deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ sid main non-free contrib/d' \
|
sed -i '/deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ sid main non-free contrib/d' \
|
||||||
/etc/apt/sources.list ; \
|
/etc/apt/sources.list ; \
|
||||||
apt clean all ; \
|
sudo apt clean all ; \
|
||||||
echo 'deb http://mirrors.tuna.tsinghua.edu.cn/debian/ sid main non-free contrib' \
|
sudo echo 'deb http://mirrors.tuna.tsinghua.edu.cn/debian/ sid main non-free contrib' \
|
||||||
>>/etc/apt/sources.list ; \
|
>>/etc/apt/sources.list ; \
|
||||||
dpkg --add-architecture armhf ; apt update \
|
sudo dpkg --add-architecture armhf ; sudo apt update ; \
|
||||||
cd ~ ; wget https://www.realvnc.com/download/file/vnc.files/VNC-Server-6.6.0-Linux-ARM.deb \
|
cd ~ ; wget https://www.realvnc.com/download/file/vnc.files/$vnc_pkg ; \
|
||||||
apt install ./VNC-Server-6.6.0-Linux-ARM.deb \
|
sudo apt install ./$vnc_pkg ; \
|
||||||
rm -rf ./VNC-Server-6.6.0-Linux-ARM.deb \
|
rm -rf ./$vnc_pkg ; \
|
||||||
dpkg --remove-architecture armhf ; apt update \
|
sudo dpkg --remove-architecture armhf ; sudo apt update ; \
|
||||||
systemctl enable vncserver-x11-serviced.service ; \
|
sudo systemctl enable vncserver-x11-serviced.service ; \
|
||||||
systemctl start vncserver-x11-serviced.service ; \
|
sudo systemctl start vncserver-x11-serviced.service ; \
|
||||||
sudo \
|
sudo \
|
||||||
sed -i '/deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ sid main non-free contrib/d' \
|
sed -i '/deb http:\/\/mirrors.tuna.tsinghua.edu.cn\/debian\/ sid main non-free contrib/d' \
|
||||||
/etc/apt/sources.list ; \
|
/etc/apt/sources.list ; \
|
||||||
apt clean all ; apt update
|
sudo apt clean all ; sudo apt update
|
||||||
```
|
```
|
||||||
|
|
||||||
**Attention please!!**
|
**Attention please!!**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue