/*nice*/
顯示具有 Network 標籤的文章。 顯示所有文章
顯示具有 Network 標籤的文章。 顯示所有文章

2009年2月19日 星期四

/etc/network/interface

/etc/network/interface

#for debian/Ubuntu

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

address x.x.x.x
netmask y.y.y.y
gateway z.z.z.z

重新開機後,ifconfig檢查一下設定是否成功

2009年2月15日 星期日

指令 : scp

scp (secure copy)

環境: xubuntu810下,以qemu又模擬出一個xubuntu810

目的: target_host(client)端要COPY host(server)端的一個目錄

Host:
1. $ ssh 登入user@hostIP
2. 輸入pw

Target_host:
1. scp -r host_user hostIP:/Host path /target_host path
(-r copy整個目錄的資料)
/*nice*/