1.设置允许ssh密码登录:
1 2 3 4 5 | cat /etc/ssh/sshd_config PermitRootLogin yes #允许root登录 PasswordAuthentication yes #允许密码登录 |
2.设置csh下命令补全:
1 2 | cat .cshrc set autolist |
3.设置PS:
1 | set prompt = "%U%n%u@%m:%B%~# " |
4.安装vim替代系统自带vi:
1 2 | pkg_add -r - v vim-lite cp /usr/local/share/vim/vim73/vimrc_example .vim ~/.vimrc |
编辑.cshrc添加或修改:
1 2 3 | cat ~/.cshrc setenv EDITOR vim alias vi vim |
5.设置ports和packages:https://www.haiyun.me/archives/freebsd-packages-ports.html