首页 > 代码库 > Ubuntu Common Commands

Ubuntu Common Commands

# change password for root

sudo passwd 

 

# install and configure open ssh server

apt-get install openssh-server # install open ssh servervi /etc/ssh/sshd_config # PermitRootLogin yes/etc/init.d/ssh restart

 

# copy files from another machine

rsync -av root@ub14x64s-c1:/root/mysql-tarballs .

 

Ubuntu Common Commands