摘要: 1、设置root账户 sudo passwd root 2、ssh远程登陆拒绝访问:修改SSH配置文件 sudo vim /etc/ssh/sshd_config 找到并用#注释掉这行:PermitRootLogin prohibit-password // 允许root登录,但是禁止root用密码登录(默认值在文件中是被注释掉的) 新建一行 添加:PermitRootLogin yes //允许root登录,设为yes。 阅读全文
posted @ 2018-12-06 10:37 z挑灯看剑 阅读(3437) 评论(1) 推荐(0) 编辑
摘要: 图标变成了白板 @echo off taskkill /f /im explorer.exe CD /d %userprofile%\AppData\Local DEL IconCache.db /a start explorer.exe cho 执行完成 阅读全文
posted @ 2018-12-04 09:10 z挑灯看剑 阅读(133) 评论(0) 推荐(0) 编辑
摘要: ubuntu18.04:配置/etc/network/interfaces已无用,需修改/etc/netplan/50-cloud-init.yaml 阅读全文
posted @ 2018-08-27 11:27 z挑灯看剑 阅读(8833) 评论(0) 推荐(0) 编辑
摘要: 安装Ubuntu 18.04后,使用国外源太慢了,修改为国内源会快很多。 修改阿里源为Ubuntu 18.04默认的源 备份/etc/apt/sources.list #备份 cp /etc/apt/sources.list /etc/apt/sources.list.bak 在/etc/apt/s 阅读全文
posted @ 2018-08-25 10:48 z挑灯看剑 阅读(1622) 评论(0) 推荐(0) 编辑
摘要: 解决: 1、可以用 sudo ./eclipse -vm /home/username/jdk_path/bin/java 启动但是启动后仍有显示问题。 2、 修改 eclipse.ini 在 --launcher.appendVmargs 下添加 --launcher.GTK_version 阅读全文
posted @ 2018-08-23 10:26 z挑灯看剑 阅读(660) 评论(0) 推荐(0) 编辑