个人Linux配置笔记

来源:互联网 发布:充油卡便宜的软件 编辑:程序博客网 时间:2024/04/30 06:14

与其叫笔记,不如叫常用工具记录。

shell

个人喜欢用zsh ,然后配合上https://github.com/robbyrussell/oh-my-zsh/。
配置/etc/sudoers 添加su权限。

SSH

常用Xshell作SSH Client,考虑安全一般关掉密码登录。Xshell复制配置为ctrl shift c,粘贴是ctrl shift v ,查找是ctrl f ,注意配置复制SSH的快捷键([连接]复制SSH渠道),个人用ctrl n

X

/etc/ssh/sshd_config上配置X11转发,Xshell配上Xming。

在CentOS上转发X11可能遇到xauth timeout 的问题。这时候注意考察SELinux的问题,egrep -e '^SELINUX=' /etc/selinux/config ,如果结果是enforcing,那么很有可能context有误。参考http://froebe.net/blog/2015/01/20/linux-selinux-xauth-timeout-in-locking-authority-file-xauthority-solved/comment-page-1/,解决方法是先ls -aslZ /home/ 确定context是否有问题,然后restorecon /home/user

常用软件

htop
python
pip

其他插件

gdb-peda

https://github.com/longld/peda

fasd

https://github.com/clvv/fasd

  • 主要配置 z和v
0 0
原创粉丝点击