一、设置中文界面 1、更换中文:sudo dpkg-reconfigure locales 2、选择zh_CN.GBK、zh_CN.UTF-8 (用空格选定) 3、tab键切换到ok,回车确定 4、接着选择字符: zh_CN.UTF-8 5、重启reboot 补充:解决编码错误显示问题,终端输入: sudo apt-get install ttf-wqy-microhei ttf-wqy-zenhei xfonts-wqy 重启reboot 二、安装中文输入法 1、sudo apt-get update 2、sudo apt install fcitx fcitx-googlepinyin 3、输入y然后回车 4、reboot 5、点击左上角应用程序图标,在搜索框搜索:fcitx,选择并点击"fcitx配置 6、选择谷歌输入法 7、如果没有谷歌点击左下角+号,添加就好了 三、桌面正常,字体太小 1、点击左上角搜索输入hidpi 四、开启ssh服务 1.打开配置文件 sudo vim /etc/ssh/sshd_config 2.修改配置文件 删掉PasswordAuthentication前面的#号 在PermitRootLogin prohibit-password修改为PermitRootLogin yes(删除#) 3.启动ssh sudo systemctl start ssh 4.相关命令 sudo systemctl status ssh //查看ssh状态 sudo systemctl enable ssh //设置ssh开机自启 注释:PasswordAuthentication //允许使用密码验证登录PermitRootLogin yes //允许root用户登录PermitRootLogin prohibit-password //禁止root用户使用密码登录
五、开启root sudo passwd root 直接设置新密码 |