0%

debian远程环境配置

firefox 安装

1
2
3
4
5
6
7
8
9
sudo install -d -m 0755 /etc/apt/keyrings
wget -q https://packages.mozilla.org/apt/repo-signing-key.gpg -O- | sudo tee /etc/apt/keyrings/packages.mozilla.org.asc > /dev/null
echo "deb [signed-by=/etc/apt/keyrings/packages.mozilla.org.asc] https://packages.mozilla.org/apt mozilla main" | sudo tee -a /etc/apt/sources.list.d/mozilla.list > /dev/null
echo '
Package: *
Pin: origin packages.mozilla.org
Pin-Priority: 1000
' | sudo tee /etc/apt/preferences.d/mozilla
pt-get update && sudo apt-get install firefox

参考链接

不用vnc的chrome

ssh工具: mobaxterm
安装xserver组件

1
2
3
apt install xserver-xorg xserver-xorg-core xserver-xorg-legacy xorg xauth openbox
apt install chromium
chromium --no-sandbox

等待个5秒左右,本地电脑上会弹出一个chromium浏览器的窗口