ubuntu10.10各种服务器搭建
生活随笔
收集整理的這篇文章主要介紹了
ubuntu10.10各种服务器搭建
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
sudo apt-get install openssh-server openssh-client
?
啟動SSH-Server
?
sudo /etc/init.d/ssh start
然后點擊位置-》連接到服務器-》SSH-》輸入ip-》密碼
?
命令登錄:
ssh –l zhoulb 192.168.6.179
把本機的文件拷貝到服務器的/home/zhoulb目錄下:
Scp /work/NXP/*** @192.168.6.179:/home/zhoulb
把遠程文件傳輸給本地系統的一般語法是:
?
Ubuntu10.10安裝samba服務器及配置
sudo apt-get install samba
gedit? /etc/samba/sam.conf
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2007-09-22 [global] ?????????????? workgroup = WORKGROUP ?????????????? printing = cups ?????????????? printcap name = cups ?????????????? printcap cache time = 750 ?????????????? cups options = raw ?????????????? include = /etc/samba/dhcp.conf ?????????????? logon path = \\%L\profiles\.msprofile ?????????????? logon home = \\%L\%U\.9xprofile ?????????????? logon drive = P: #???????????? usershare allow guests = Yes ?????????????? domain logons = Yes ?????????????? domain master = Yes ?????????????? local master = Yes ?????????????? os level = 65 ?????????????? preferred master = Yes ?????????????? null passwords = yes ?????????????? security = share ?????????????? guest ok = yes ?????????????? usershare max shares = 100 ?????????????? security = user ?????????????? encrypt passwords = yes ?????????????? smb password file = /etc/samba/smbpasswd #???????????? root = wangcong ? #[zhoulb] #???????????? comment = zhoulb #???????????? inherit acls = Yes #???????????? path = /home/zhoulb #???????????? read only = No [homes] ??????? comment = Home Directories ??????? browseable = no ??????? writable = yes ??????? valid users = %S ? 重啟 service samba start?
總結
以上是生活随笔為你收集整理的ubuntu10.10各种服务器搭建的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ERROR: This virtual
- 下一篇: ubuntu 11.04下Android