ubuntu12.04LTS 配置磁盤驅動器

sudo apt-get install rcconf

sudo apt-get install ufw

ufw disable 


使用windows  ping ubuntu主機地址(查看ubuntu主機地址 ifconfig  ; 注意:如果使用虛擬機請使用橋接模式的網絡)

如果ping通了則繼續下面的步驟

sudo apt-get install samba

sudo apt-get install smbfs


sudo apt-get install system-config-samba

sudo /etc/init.d/smbd restart

sudo system-config-samba



ubuntu11.10

如果出現錯誤

(system-config-samba:8324): Gtk-WARNING **: Unable to locate theme engine in

 module_path: "pixmap",

(system-config-samba:8324): Gtk-WARNING **: Unable to locate theme engine in

 module_path: "pixmap",

(system-config-samba:8324): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(system-config-samba:8324): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 44, in <module>


    import mainWindow


  File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module>


    import gtk.glade


ImportError: No module named glade


則執行:sudo apt-get install gtk2-engines-pixbuf

如果出現錯誤

Traceback (most recent call last):
  File "/usr/sbin/system-config-samba", line 44, in <module>
    import mainWindow
  File "/usr/share/system-config-samba/mainWindow.py", line 30, in <module>
    import gtk.glade
ImportError: No module named glade


則執行:sudo apt-get install python-glade2


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章