ubuntu常见问题

来源:互联网 发布:linux 监控tomcat日志 编辑:程序博客网 时间:2024/05/19 04:02

1,新安装的系统无法切换至root

需为root设置密码才可以,方法:

sudo passwd root [sudo] password for you :---> 输入你的密码,不回显 Enter new UNIX password: --- > 设置root 密码 Retype new UNIX password: --> 重复 

2,无法使用winscp登录

(1)检查是否安装了openssh-server:

ssh locathost

若提示 Connection Refused, 则说明未安装。

或者

 netstat -nplt

查看sshd是否启动

(2)安装openssh-server:

apt-get install openssh-server

3,查看内核版本

file /bin/ls

4,查看发行版本

cat /etc/issue


0 0
原创粉丝点击