



免费预览已结束,剩余1页可下载查看
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Openwrt安装软件目录简介1telnet或ssh1页面安装5简介Openwrt是个很自由的开源路由器系统,软件包支持几千个,功能很强大!安装的方法主要有两种,telnet或者ssh连接后台安装 和 页面安装。下面的所有步骤的前提是当前的路由器已经联网!telnet或ssh原始的openwrt默认是没有密码的,只开启了telnet没有开启ssh,当第一次配置完用户名和密码后,关闭了telnet开启了ssh,用户可以随时连上路由器,下面我用ssh连接的。Openwrt管理软件包的命令是opkg,下面是命令的帮助rootJack:/tmp/opkg-lists# opkg -helpopkg: unrecognized option -helpopkg must have one sub-command argumentusage: opkg options. sub-command arguments.where sub-command is one of:Package Manipulation: update 升级 Update list of available packages upgrade 升级某一个软件 Upgrade packages install 安装某一个软件 Install package(s) configure 配置某一个软件 Configure unpacked package(s) remove 删除软件 Remove package(s) flag Flag package(s) =hold|noprune|user|ok|installed|unpacked (one per invocation)Informational Commands: list 列出openwrt所有支持的软件包 List available packages list-installed 列出本机已经安装的软件包 List installed packages list-upgradable 列出可以升级的软件包 ist installed and upgradable packages list-changed-conffiles List user modified configuration files files List files belonging to search List package providing find List packages whose name or description matches info pkg|regexp 显示软件包的信息 Display all info for status pkg|regexp 显示软件包的状态 Display all status for download 下载一个软件包到当前目录 Download to current directory compare-versions compare versions using = = = print-architecture List installable package architectures depends -A pkgname|pat+ whatdepends -A pkgname|pat+ whatdependsrec -A pkgname|pat+ whatrecommends-A pkgname|pat+ whatsuggests-A pkgname|pat+ whatprovides -A pkgname|pat+ whatconflicts -A pkgname|pat+ whatreplaces -A pkgname|pat+Options: -A Query all packages not just those installed -V Set verbosity level to . -verbosity= Verbosity levels: 0 errors only 1 normal messages (default) 2 informative messages 3 debug 4 debug level 2 -f Use as the opkg configuration file -conf -cache Use a package cache -d Use as the the root directory for -dest package installation, removal, upgrading. should be a defined dest name from the configuration file, (but can also be a directory name in a pinch). -o Use as the root directory for -offline-root offline installation of packages. -add-arch : Register architecture with given priority -add-dest : Register destination with given pathForce Options: -force-depends Install/remove despite failed dependencies -force-maintainer Overwrite preexisting config files -force-reinstall Reinstall package(s) -force-overwrite Overwrite files from other package(s) -force-downgrade Allow opkg to downgrade packages -force-space Disable free space checks -force-postinstall Run postinstall scripts even in offline mode -force-remove Remove package even if prerm script fails -noaction No action - test only -download-only No action - download only -nodeps Do not follow dependencies -nocase Perform case insensitive pattern matching -force-removal-of-dependent-packages Remove package and all dependencies -autoremove Remove packages that were installed automatically to satisfy dependencies -t Specify tmp-dir. -tmp-dir Specify tmp-dir. regexp could be something like pkgname* *file* or similar e.g. opkg info libstd* or opkg search *libop* or opkg remove libncur*rootJack:/tmp/opkg-lists#如果你想要安装一个软件,但是不知道什么具体的名字,可以用命令获取到软件包的名字(opkg list |grep 软件名),然后安装,比如我想要安装tftprootJack:/tmp/opkg-lists# opkg list |grep tftpatftp - 0.7-1 - TFTP clientatftpd - 0.7-1 - TFTP servererlang-inets - 5.8 - Erlang/OTP is a general-purpose programming language and runtime environment. Erlang has built-in support for concurrency, distribution and fault tolerance. . This Erlang/OTP package provides a container for Internet clients and servers. Currently a FTP client, a HTTP client and server, and a tftp client and server have been incorporated in Inets.iputils-tftpd - 20101006-1 - Program tftpd from iputils Trivial File Transfer Protocol server.kmod-ipt-nathelper - 3.7.10-1 - Default Netfilter (IPv4) Conntrack and NAT helpers Includes: - ftp - irc - tftptftp-hpa - 0.48-3 - An enhanced version of the BSD TFTP clienttftpd-hpa - 0.48-3 - An enhanced version of the BSD TFTP server通过上面的命令我找到我想要的tftp服务器的名字为tftpd-hpa,这样就可以先用#opkg download tftpd-hpa下载软件包,然后用#opkg inst
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 神仙元宵活动方案
- 组织班级植树活动方案
- 电信外场活动方案
- 策划一则公关活动方案
- 社工唱歌活动方案
- 端午党课活动方案
- 电子办税活动方案
- 电影放映员公益活动方案
- 线下购机活动方案
- 组织科室活动方案
- 专项安全施工方案监理
- 股东出资协议书合同
- 2025劳动合同书(示范文本)
- GB/T 27060-2025合格评定良好实践指南
- DB45∕T 2789-2023 壮医药线点灸治疗护理技术操作规范
- 分子诊断技术在感染性疾病中的应用-深度研究
- 行测5000题电子版2025
- 《规训与惩罚》课件
- 【MOOC】声乐作品赏析与演唱-扬州大学 中国大学慕课MOOC答案
- 2024年版机电产品国际招标标准招标文件
- 糖尿病高血压健康教育
评论
0/150
提交评论