美文网首页
linux随想

linux随想

作者: 你若安好便是晴天_5c50 | 来源:发表于2019-04-19 21:29 被阅读0次

1.ssh配置文件位置:(需要以管理员身份运行)

/etc/ssh/sshd_config

2.允许root用户登录:

PermitRootLogin yes

3.运行空密码:

PermitEmptyPaswords yes

4.重启

service sshd restart

5.配置密钥访问:

ssh-keygen

cat  公钥  >> authorized_keys

6.linux源码一般放在/usr/local/src下面

7.visudo

root   ALL=(ALL)     ALL

8.源码安装位置:

/usr/src:系统级别的程序,c:/windows

/usr/local/src:用户级别的程序,c:/Programes file

/opt:  d:/software

9.ln  -s  软连接    

ln 源   目标     硬链接

相关文章

网友评论

      本文标题:linux随想

      本文链接:https://www.haomeiwen.com/subject/mfzcgqtx.html