วันศุกร์ที่ 10 มิถุนายน พ.ศ. 2554

ubuntu

# sudo passwd root
[sudo] password for guest:
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

# su root


# sudo apt-get update
# sudo apt-get install ssh-server
# nano /etc/ssh/ssh_config 
 # Port 22 ;take off  #
# Protocol 2,1
# nano /etc/rc.local 
/etc/init.d/ssh start
 # /etc/init.d/ssh start


# apt-get -y install apache2-doc