找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 14510|回复: 11

小白编译openwrt实现ftp、samba共享、ushare共享、aria2下载、动态域名(一)

  [复制链接]
发表于 2013-4-4 00:02 | 显示全部楼层 |阅读模式
本帖最后由 vsamlee 于 2013-11-20 11:38 编辑

                        
三、https://www.right.com.cn/forum/thread-120759-1-1.html                        

写这篇文章有以下几个目的:

  • 为自己近半月编译openwrt固件的过程做个总结;
  • 查找资料好辛苦,openwrt的门槛真的好高,希望这篇文章能降低小白们的入门难度。Openwrt真的是非常好的固件,好过TTDD之流。
  • 期望更多人来汇总这方面的经验。


发生背景:忍受不了原路由(bcm芯片)刷tomato,做NASusb的龟速,新购置一台buffaloag300h,开始了折腾之路,准备开始操作之前还刷坏了贝尔金f5d8235v2一台。

拟实现功能:a、移动硬盘自动挂载;bftpcsamaba共享;dushare媒体共享;earia2下载;f、动态域名可外网访问。

硬件:
路由:buffalo ag300h
硬盘:西数绿盘2T,分为主分区:sda1,扩展分区sad5sda6sad7sda8,磁盘格式为ext4


做之前,自己十足的小白,啥都不会的。英文差、不会命令,只是尝鲜装过ubantu,却没有用过。

备注:我所写的编译过程只对在我的硬件环境下测试成功。

第一部分:搭建编译环境
1、安装Ubuntu。分了一个40G的空间,用软件删除该分区,根据提示一直安装下去即可。安装成功进入ubantu桌面。
2切记不要改动软件源,同时按住Ctrl+Alt+T,调出终端。
3、输入sudo -s
4、输入您安装系统设置的密码。输入密码的时候不会有*之类的显示的,切换到root
5、逐条输入下列命令:
     apt-getinstall g++
     apt-getinstall libncurses5-dev
     apt-getinstall zlib1g-dev
     apt-getinstall bison
     apt-getinstall flex
     apt-getinstall unzip
     apt-getinstall autoconf
      apt-getinstall gawk
      apt-getinstall make
      apt-getinstall gettext
      apt-getinstall gcc
      apt-getinstall binutils
      apt-getinstall patch
      apt-getinstall bzip2
      apt-getinstall libz-dev
      apt-getinstall asciidoc
      apt-getinstall subversion
      apt-getinstall sphinxsearch
      apt-getinstall libtool
      apt-getinstall sphinx-common
     为了编译luci-app-aria2,我多装了几个。安装过程中记得要查看,确定软件是安装上。
输入exit  退出root
至此编译环境搭建完成。

评分

参与人数 1恩山币 +1 收起 理由
pass3389 + 1 泥马,真给力,我要顶!

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2013-4-4 00:08 | 显示全部楼层
https://www.right.com.cn/forum/thread-119877-1-1.html 之二,回复不能发表表格啊
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-4 12:02 | 显示全部楼层
支持一下,也准备自己编译,谢谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-5 22:07 | 显示全部楼层
辛苦了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-8 15:54 | 显示全部楼层
学习的了。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-9 11:38 | 显示全部楼层
强帖啊,学习哦。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-18 22:47 | 显示全部楼层
谢谢楼主,本人小白,学习中
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-4-18 23:41 | 显示全部楼层

大力顶你,支持你发挥opnewrt的共亨精神!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-5-28 01:14 | 显示全部楼层
sphinx-common在哪里下载,怎么找不到这个组件?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-7-2 13:58 | 显示全部楼层
我也要学习
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-7-3 02:52 | 显示全部楼层
第一部分:搭建编译环境
1、安装Ubuntu。分了一个40G的空间,用软件删除该分区,根据提示一直安装下去即可。安装成功进入ubantu桌面。
2、切记不要改动软件源,同时按住Ctrl+Alt+T,调出终端。
3、输入sudo–s
4、输入您安装系统设置的密码。输入密码的时候不会有*之类的显示的,切换到root。
5、逐条输入下列命令:
     apt-getinstall g++
     apt-getinstall libncurses5-dev
     apt-getinstall zlib1g-dev
     apt-getinstall bison
     apt-getinstall flex
     apt-getinstall unzip
     apt-getinstall autoconf
      apt-getinstall gawk
      apt-getinstall make
      apt-getinstall gettext
      apt-getinstall gcc
      apt-getinstall binutils
      apt-getinstall patch
      apt-getinstall bzip2
      apt-getinstall libz-dev
      apt-getinstall asciidoc
      apt-getinstall subversion
      apt-getinstall sphinxsearch
      apt-getinstall libtool
      apt-getinstall sphinx-common
     为了编译luci-app-aria2,我多装了几个。安装过程中记得要查看,确定软件是安装上。
输入exit  退出root。
至此编译环境搭建完成。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2013-10-19 20:34 | 显示全部楼层
等待奇迹,顶
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 06:39

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表