#1 2009-07-07 13:10:01
[Optware] Midnight Commander
通常, 我們習慣在Windows下, 經由網路上芳鄰, 管理區域網路內其他電腦所分享的檔案. 若要由遠端管理, 可能經由VNC, 連接到區網內的電腦. 但視窗介面在傳輸過程中, 含有大量圖形資料. 若區網的上傳頻寬不夠, 遠端操控電腦在操作上, 感覺遲鈍過慢.
若改用SSH或Telnet, 下達文字操控命令, 這是最佳方式. 但是, 命令參數那麼多, 有沒有比較直覺的介面, 讓我們可以簡單管理檔案. 有的, Midnight Commander.
Midnight Commander是在shell環境下的檔案管理程式, 支援FTP, Samba等. 遠端操控電腦可使用滑鼠點選命令(真好, 命令都不需要背)
Midnight Commander屬於Optware的套件之一. 所以, 同樣適用於DD-WRT, Oleg, OpenWrt等環境. 以下使用QNAP TS-109 Optware操作, 其他環境, 請心領神會之後, 自行安裝, 我就不贅述了.
1. 查詢套件
# ipkg-opt list | grep "Midnight Commander"
mc - 4.6.2-1 - Midnight Commander File Manager
# ipkg-opt info mc
Package: mc
Version: 4.6.2-1
Depends: glib, slang, e2fslibs
Status: unknown ok not-installed
Section: utilities
Architecture: arm
maintainer: NSLU2 Linux
MD5Sum: e701be9b49e6cb2fef60e84e72ecefcc
Size: 509408
Filename: mc_4.6.2-1_arm.ipk
Source: http://www.midnight-commander.org/downloads/mc-4.6.2.tar.gz
Description: Midnight Commander File Manager
2. 安裝並檢查裝在何處
# ipkg-opt install mc
# ipkg-opt files mc
3. 查閱說明
# more /opt/share/mc/extfs/README
# man mc
4. 執行
# mc
若使用過Norton Commander, 會有似曾相識的感覺. 左右二視窗可分別對映不同的目錄, 可直接使用滑鼠點選命令, 或使用快速鍵操作.
若複製搬移大檔案, 可與screen配合使用.
中文檔名與locale設定有關, 還沒研究出來.
同步更新wiki
最後修改: hippo (2009-07-22 09:49:00)
離線
#8 2011-11-28 16:08:21
Re: [Optware] Midnight Commander
請問一下
主機nas01sg
參考大作[IB-NAS4220-B] 安裝 Optware(vt4), BusyBox
有下載至nas-4220.org下載.
我選用optware.tgz: original packet. Including mc, openssh, rtorrent 8.04, busybox 1.10.3, screen, coreutils
解壓加連接指向opt後,我就參考 [Optware] Midnight Commander
之後安裝出現的訊息如下
# ipkg-opt install mc
Package mc (4.6.1-3) installed in root is up to date.
Nothing to be done
Successfully terminated.
# ipkg-opt files mc
Package mc (4.6.1-3) is installed on root and has the following files:
/opt/share/mc/syntax/lisp.syntax
/opt/share/mc/extfs/lslR
/opt/share/mc/extfs/uha
/opt/share/mc/syntax/lsm.syntax
/opt/share/mc/extfs/deba
/opt/share/mc/syntax/dos.syntax
/opt/share/mc/syntax/perl.syntax
/opt/share/mc/extfs/debd
/opt/share/mc/bin/mc-wrapper.sh
/opt/share/mc/extfs/rpms
/opt/share/mc/syntax/m4.syntax
/opt/share/mc/extfs/audio
/opt/share/mc/extfs/uar
/opt/share/mc/bin/mc-wrapper.csh
/opt/share/mc/syntax/python.syntax
/opt/man/man1/mcview.1
/opt/share/mc/extfs/sfs.ini
/opt/share/mc/extfs/apt
/opt/share/mc/extfs/README
/opt/man/man1/mc.1
/opt/share/mc/syntax/nroff.syntax
/opt/share/mc/extfs/mailfs
/opt/bin/mc
/opt/share/mc/extfs/dpkg
/opt/share/mc/extfs/trpm
/opt/share/mc/syntax/texinfo.syntax
/opt/share/mc/edit.spell.rc
/opt/share/mc/bin/mc.csh
/opt/share/mc/mc.hlp
/opt/share/mc/syntax/java.syntax
/opt/share/mc/syntax/assembler.syntax
/opt/share/mc/syntax/fortran.syntax
/opt/share/mc/syntax/html.syntax
/opt/share/mc/extfs/uarj
/opt/share/mc/extfs/uzip
/opt/share/mc/extfs/extfs.ini
/opt/share/mc/syntax/diff.syntax
/opt/share/mc/mc.ext
/opt/share/mc/extfs/uzoo
/opt/share/mc/syntax/octave.syntax
/opt/share/mc/syntax/povray.syntax
/opt/share/mc/extfs/patchfs
/opt/share/mc/bin/mc.sh
/opt/share/mc/syntax/eiffel.syntax
/opt/share/mc/extfs/rpm
/opt/share/mc/syntax/po.syntax
/opt/bin/mcmfmt
/opt/share/mc/extfs/deb
/opt/share/mc/syntax/makefile.syntax
/opt/share/mc/syntax/cs.syntax
/opt/share/mc/mc.menu
/opt/share/mc/syntax/js.syntax
/opt/share/mc/extfs/ulha
/opt/share/mc/mc.menu.sr
/opt/man/man1/mcedit.1
/opt/share/mc/syntax/idl.syntax
/opt/share/mc/syntax/slang.syntax
/opt/share/mc/cedit.menu
/opt/share/mc/extfs/bpp
/opt/share/mc/mc.hint.cs
/opt/share/mc/syntax/unknown.syntax
/opt/share/mc/mc.charsets
/opt/share/mc/extfs/hp48
/opt/share/mc/mc.hint.es
/opt/share/mc/edit.indent.rc
/opt/share/mc/mc.hint
/opt/share/mc/mc.hint.it
/opt/share/mc/syntax/latex.syntax
/opt/bin/mcview
/opt/share/mc/mc.hint.hu
/opt/share/mc/mc.hint.nl
/opt/bin/mcedit
/opt/share/mc/syntax/xml.syntax
/opt/share/mc/extfs/a
/opt/share/mc/syntax/spec.syntax
/opt/share/mc/syntax/swig.syntax
/opt/share/mc/syntax/php.syntax
/opt/share/mc/mc.hint.sr
/opt/share/mc/mc.hint.ru
/opt/share/mc/syntax/tcl.syntax
/opt/share/mc/mc.hint.pl
/opt/share/mc/syntax/ruby.syntax
/opt/lib/mc/cons.saver
/opt/share/mc/syntax/syntax.syntax
/opt/share/mc/extfs/urar
/opt/share/mc/syntax/sh.syntax
/opt/share/mc/mc.hint.uk
/opt/share/mc/syntax/sql.syntax
/opt/share/mc/mc.hint.zh
/opt/share/mc/syntax/ada95.syntax
/opt/share/mc/syntax/pascal.syntax
/opt/share/mc/syntax/changelog.syntax
/opt/share/mc/mc.lib
/opt/share/mc/syntax/ml.syntax
/opt/share/mc/syntax/Syntax
/opt/share/mc/syntax/c.syntax
/opt/share/mc/extfs/iso9660
/opt/share/mc/syntax/aspx.syntax
/opt/share/mc/syntax/lua.syntax
/opt/share/mc/syntax/smalltalk.syntax
/opt/share/mc/syntax/mail.syntax
Successfully terminated.
# mc
mc: error while loading shared libraries: libm.so.6: cannot open shared object f
ile: No such file or directory
#
請問是那兒出錯了呢?
離線
相關討論主題
主題 | 回覆 | 點閱 | 最後發表 |
---|---|---|---|
|
21 | 108457 | 2019-07-19 21:40:01 作者 hemmis |
ASUS RT-N18U 安裝 optware 的後遺症 作者 kuolung
|
0 | 7221 | 2016-05-18 12:08:38 作者 kuolung |
ASUS RT-N18U 如何安裝 optware 作者 kuolung
|
2 | 11273 | 2016-05-08 17:51:07 作者 kuolung |
Optware 套件搜尋 作者 hippo
|
1 | 10555 | 2015-11-18 11:42:23 作者 rv2231 |
|
13 | 40887 | 2015-06-19 14:57:17 作者 kuochihchun |