1. ubuntu开启SSH服务?
sudo apt-get install openssh-server
ps -e |grep ssh
sudo /etc/init.d/ssh start
[ssh-serve configloc:/ etc/ssh/sshd_config]
sudo /etc/init.d/ssh stop
ps -e |grep ssh
sudo /etc/init.d/ssh start
[ssh-serve configloc:/ etc/ssh/sshd_config]
sudo /etc/init.d/ssh stop
2.ubuntu root
sudo passwd
sudo gedit /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf
greeter-show-manual-login=true
sudo passwd -l root
?
3.centos mount
rpm -q nfs ? ? ? ? ? ? ? ? ? ? ?
yum install nfs-utils -y
vi /etc/exports ? ? /mnt ? ?@ip(rw,sync)
service rpcbind restart
service nfs start ?
mount @ip:/mnt /mnt/@ip
?
?