debian11安装gnome桌面

$sudo apt update
$sudo apt upgrade
$sudo apt install task-gnome-desktop
$sudo systemctl set-default graphical.target
$sudo reboot

切换成命令行模式
sudo systemctl set-default multi-user.target

debian 网络配置
ip linkip a
sudo vi /etc/network/interfaces
网卡配置示例
allow-hotplug ens33
iface ens33 inet static
address 192.168.6.72
netmask 255.255.255.0
gateway 192.168.6.254
dns-names servers 192.168.6.254 223.5.5.5
配置完成后
sudo systemctl restart networking

posted @ 2022-11-02 14:30  passwd_001  阅读(143)  评论(0编辑  收藏  举报