栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Linux基本环境配置

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Linux基本环境配置

参考资料

双系统: https://blog.csdn.net/weixin_40787712/article/details/89944144

换源: https://blog.csdn.net/weixin_43876206/article/details/100924378

输入法:

    https://blog.csdn.net/haohaodea1/article/details/79417153https://blog.csdn.net/a805607966/article/details/105874756

SSH连接:https://blog.csdn.net/qq_43534244/article/details/122146690

换源
    备份源列表
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
    命令行打开sources.list文件
sudo gedit /etc/apt/sources.list
    修改sources.list文件, 更改为中科大源
#  中科大镜像源
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
    更新并升级
sudo apt-get update && sudo apt-get upgrade
添加中文输入法

点击设置,管理已安装的语言

出现以下问题

解决方法

sudo apt-get remove gnome-user-docs
sudo apt-get install gnome-user-docs
sudo apt-get remove thunderbird
sudo apt-get install thunderbird

补充相关依赖

sudo apt-get install -f

安装google拼音

sudo apt-get install fcitx-googlepinyin

将键盘输入法系统改为fcitx,然后应用到整个系统

将谷歌拼音拉至第一个输入法

重启系统

sudo reboot

谷歌输入法配置完成。可以点击右上角状态栏的键盘图片切换到谷歌输入法,切换输入法的快捷键是ctrl+space

SSH 连接

开启SSH连接服务

sudo apt install openssh-server		//自动开启
sudo systemctl status ssh			//检查状态是否激活
sudo ufw enable						//开启防火墙
sudo ufw allow 22					//开启22号端口

安装net-tools

sudo apt install net-tools

可以通过ifconfig命令查询 ip 地址,可以在同一局域网下进行ssh连接

Vim
sudo apt-get install vim
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/705774.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号