![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
闲后美梦
这个作者很懒,什么都没留下…
展开
-
类似switchhost 的简单host切换工具
本人的Ubuntu20.04 环境switchhosts 切换不了,可能是程序bug,又着急用,于是写了个脚本# 安装到 ~/bin 下mkdir -p ~/bin/hostlistecho "export PATH=$PATH:$HOME/bin" >> ~/.bash_profilesource ~/.bash_profiletouch ~/bin/chhostchmod +x ~/bin/chhost# 备份系统hostscat /etc/hosts > ~/bin/原创 2020-07-27 11:51:49 · 754 阅读 · 1 评论 -
安装Ubuntu后常用的配置和软件
ubuntu 安装完成后的工作1. 更换源为国内源2. 基础工具sudo apt-get update ;sudo apt-get upgrade ;sudo apt-get install -y vim tmux curl zsh;sudo apt-get install aptitude ;sudo aptitude install qt5-default qtcreator qml-module-qtquick-controls2 ;sudo aptitude install fci原创 2020-07-19 14:00:49 · 443 阅读 · 0 评论 -
Ubuntu20 fcitx 无法切换回英文输入
原本可以输入英文的![在这里插入图片描述](https://img-blog.csdnimg.cn/20200523200632394.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3UwMTQ3NDk5MDU=,size_16,color_FFFFFF,t_70新安装了百度输入法 想着只用 百度输入法 ,就把其他的都删除,于是, 按住 shi原创 2020-05-23 20:17:15 · 2358 阅读 · 0 评论 -
个人用户配置设置保持ssh连接远程服务器
本地的ssh 命令连接远端服务器时候过段时间无操作, 连接断开远端服务器为共用的, 不可更改查询网上的解决方案本地配置文件 /etc/ssh/ssh_config 增加配置ServerAliveInterval 60ServerAliveCountMax 60客户端会在终端无操作之后 ServerAliveInterval 秒时请求服务器要求服务器响应,如果服务器在 ServerAliveCountMax 次之后都没有响应,则断开连接并退出但是, 本人不想该这个配置文件, 只想对本地用原创 2020-05-17 01:54:43 · 584 阅读 · 0 评论