一、查看Linux系統版本信息
1、查看Linux內核版本命令
a、第一種
cat /proc/version
b、第二種
uname -a
2、查看Linux系統版本的命令
a、第一種
lsb_release -a
b、第二種
cat /etc/issue
二、設置遠程終端登錄
1、在Linux上安裝ssh服務軟件
sudo apt-get install openssh-server openssh-client
2、修改ssh配置文件(可選)
sudo vi /etc/ssh/ssh_config
去掉這三項的注釋:PasswordAuthentication yes 、Port 22 、Protocol 2,1
3、windows系統上有Xshell或其他遠程終端登錄工具,使用時輸入Linux的IP、用戶、密碼即可
查看Linux的IP命令: ifconfig
yexiangyang
moyyexy@gmail.com
