欢迎来到天天文库
浏览记录
ID:13182152
大小:57.87 KB
页数:5页
时间:2018-07-21
《openwrt入门-安装软件》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Openwrt安装软件目录简介1telnet或ssh1页面安装5简介Openwrt是个很自由的开源路由器系统,软件包支持几千个,功能很强大!安装的方法主要有两种,telnet或者ssh连接后台安装和页面安装。下面的所有步骤的前提是当前的路由器已经联网!telnet或ssh原始的openwrt默认是没有密码的,只开启了telnet没有开启ssh,当第一次配置完用户名和密码后,关闭了telnet开启了ssh,用户可以随时连上路由器,下面我用ssh连接的。Openwrt管理软件包的命令是opkg,下面是命令的帮助root@Jack:/tmp/opkg-li
2、sts#opkg--helpopkg:unrecognizedoption`--help'opkgmusthaveonesub-commandargumentusage:opkg[options...]sub-command[arguments...]wheresub-commandisoneof:PackageManipulation:update升级Updatelistofavailablepackagesupgrade升级某一个软件Upgradepackagesinstall安装某一个软件Installpackage(s
3、)configure配置某一个软件Configureunpackedpackage(s)remove4、regexp>删除软件Removepackage(s)flagFlagpackage(s)=hold5、noprune6、user7、ok8、installed9、unpacked(oneperinvocation)InformationalCommands:list列出openwrt所有支持的软件包Listavailablepackageslist-installed列出本机已经安装的软件包Listi10、nstalledpackageslist-upgradable列出可以升级的软件包istinstalledandupgradablepackageslist-changed-conffilesListusermodifiedconfigurationfilesfilesListfilesbelongingtosearch11、regexp>ListpackageprovidingfindListpackageswhosenameordescriptionmatchesinfo[pk12、g13、regexp]显示软件包的信息Displayallinfoforstatus[pkg14、regexp]显示软件包的状态Displayallstatusfordownload下载一个软件包到当前目录Downloadtocurrentdirectorycompare-versionscompareversionsusing<=<>>==<<>>print-architectureListinstallablepackagearchitecturesdepends[-A][pkgname15、p16、at]+whatdepends[-A][pkgname17、pat]+whatdependsrec[-A][pkgname18、pat]+whatrecommends[-A][pkgname19、pat]+whatsuggests[-A][pkgname20、pat]+whatprovides[-A][pkgname21、pat]+whatconflicts[-A][pkgname22、pat]+whatreplaces[-A][pkgname23、pat]+Options:-AQueryallpackagesnotjustthoseinstalled-V[]Se24、tverbositylevelto.--verbosity[=]Verbositylevels:0errorsonly1normalmessages(default)2informativemessages3debug4debuglevel2-fUseastheopkgconfigurationfile--conf--cacheUseapackagecache-dUseasthetheroot25、directoryfor--destpackageinstallation,remov
4、regexp>删除软件Removepackage(s)flagFlagpackage(s)=hold
5、noprune
6、user
7、ok
8、installed
9、unpacked(oneperinvocation)InformationalCommands:list列出openwrt所有支持的软件包Listavailablepackageslist-installed列出本机已经安装的软件包Listi
10、nstalledpackageslist-upgradable列出可以升级的软件包istinstalledandupgradablepackageslist-changed-conffilesListusermodifiedconfigurationfilesfilesListfilesbelongingtosearch11、regexp>ListpackageprovidingfindListpackageswhosenameordescriptionmatchesinfo[pk12、g13、regexp]显示软件包的信息Displayallinfoforstatus[pkg14、regexp]显示软件包的状态Displayallstatusfordownload下载一个软件包到当前目录Downloadtocurrentdirectorycompare-versionscompareversionsusing<=<>>==<<>>print-architectureListinstallablepackagearchitecturesdepends[-A][pkgname15、p16、at]+whatdepends[-A][pkgname17、pat]+whatdependsrec[-A][pkgname18、pat]+whatrecommends[-A][pkgname19、pat]+whatsuggests[-A][pkgname20、pat]+whatprovides[-A][pkgname21、pat]+whatconflicts[-A][pkgname22、pat]+whatreplaces[-A][pkgname23、pat]+Options:-AQueryallpackagesnotjustthoseinstalled-V[]Se24、tverbositylevelto.--verbosity[=]Verbositylevels:0errorsonly1normalmessages(default)2informativemessages3debug4debuglevel2-fUseastheopkgconfigurationfile--conf--cacheUseapackagecache-dUseasthetheroot25、directoryfor--destpackageinstallation,remov
11、regexp>ListpackageprovidingfindListpackageswhosenameordescriptionmatchesinfo[pk
12、g
13、regexp]显示软件包的信息Displayallinfoforstatus[pkg
14、regexp]显示软件包的状态Displayallstatusfordownload下载一个软件包到当前目录Downloadtocurrentdirectorycompare-versionscompareversionsusing<=<>>==<<>>print-architectureListinstallablepackagearchitecturesdepends[-A][pkgname
15、p
16、at]+whatdepends[-A][pkgname
17、pat]+whatdependsrec[-A][pkgname
18、pat]+whatrecommends[-A][pkgname
19、pat]+whatsuggests[-A][pkgname
20、pat]+whatprovides[-A][pkgname
21、pat]+whatconflicts[-A][pkgname
22、pat]+whatreplaces[-A][pkgname
23、pat]+Options:-AQueryallpackagesnotjustthoseinstalled-V[]Se
24、tverbositylevelto.--verbosity[=]Verbositylevels:0errorsonly1normalmessages(default)2informativemessages3debug4debuglevel2-fUseastheopkgconfigurationfile--conf--cacheUseapackagecache-dUseasthetheroot
25、directoryfor--destpackageinstallation,remov
此文档下载收益归作者所有