Debian9 SSH 允许root以密码方式登录
编辑/etc/ssh/sshd_config文件
搜索PermitRootLogin
将without-password改成yes 保存文档
重启ssh服务即可使用密码登录ssh
编辑/etc/ssh/sshd_config文件
搜索PermitRootLogin
将without-password改成yes 保存文档
重启ssh服务即可使用密码登录ssh
想不到deb9也步了centos7的后尘,net-tools都没有在基本系统中安装了.... 真尴尬
通过下面命令安装net-tools
apt install net-tools
此时....ifconfig和netstat 之类的就能用了
make时候出现DTRACE-NOTFOUND: Command not found
cmake增加 -DENABLE_DTRACE=0
出现 make[2]: *** [libmysqld/examples/mysql_client_test_embedded]
cmake 增加 -DWITH_EMBEDDED_SERVER=0
MYSQL 备份用户权限
需要以下权限:
SELECT, RELOAD, SHOW DATABASES, LOCK TABLES, REPLICATION CLIENT, EVENT
权限列表
1.SELECT 读取
2.SHOW DATABASES 允许访问完整的数据库列表
4.LOCK TABLES 允许锁定表
5.RELOAD 允许载入和刷新服务器缓存
6.REPLICATION CLIENT 允许用户询问从属服务器或主服务器的地址
7.EVENT 允许执行事务
因为在软件源中要用到HTTPS进行传输,所以,首先安装apt-transport-https,否则会出现:
E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?
使用下面命令安装apt的ssl支持
apt-get install apt-transport-https
顺便分享几个SSL的源站
https://mirrors.ustc.edu.cn/
https://mirrors.aliyun.com/
https://mirrors.tuna.tsinghua.edu.cn/ 似乎限速.... 不推荐用