华硕网络产品技术交流平台

 找回密码
 立即注册

QQ登录

只需一步,快速开始

手机号码,快捷登录

查看: 14066|回复: 11

[已解决] 用Entware建站遇到问题了。

[复制链接]

28

主题

53

回帖

446

积分

中级会员

Rank: 3Rank: 3

积分
446
QQ
发表于 2014-8-20 11:32:33 | 显示全部楼层 |阅读模式
本帖最后由 jsllb1986 于 2014-8-20 15:19 编辑

admin@RT-AC66U:/tmp/mnt/sda# entware-setup.sh


安装完了entware.安装php,mysql,Lighttpd及其组件.在终端分别输入以下命令。
  • opkg install php5 php5-mod-gd php5-mod-session php5-mod-pdo php5-mod-pdo-mysql php5-mod-mysql php5-mod-mcrypt php5-mod-mbstring php5-fastcgi php5-cgi php5-mod-xml php5-mod-ctype php5-mod-curl php5-mod-exif php5-mod-ftp php5-mod-iconv php5-mod-json php5-mod-sockets php5-mod-sqlite3 php5-mod-tokenizer php5-mod-zip php5-mod-mysqli zoneinfo-core zoneinfo-asia
  • opkg install mysql-server libncursesw libncurses libreadline terminfo uclibcxx zlib libmysqlclient libmcrypt libltdl libmcrypt
  • opkg install lighttpd lighttpd-mod-fastcgi lighttpd-mod-access lighttpd-mod-alias lighttpd-mod-rewrite lighttpd-mod-redirect libncurses

安装也蛮顺利。


然后用WINSCP登陆,分别替换了/mnt/sda1/entware/etc/lighttpd下的lighttpd.conf
和/tmp/mnt/data中的mysql文件,
再然后在终端进行了如下操作。


再在浏览器内输入http://golin2005.asuscomm.com:88一直打不开。求解。
我的路由器外网是可以登陆的哦,http://golin2005.asuscomm.com:8080


微信扫一扫,阅读更方便^_^

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

26

主题

139

回帖

501

积分

高级会员

Rank: 4

积分
501
发表于 2014-8-20 12:51:47 | 显示全部楼层
装了可以干什么呢?

629

主题

6182

回帖

1万

积分

管理员

正品行货

Rank: 9Rank: 9Rank: 9

积分
16832

RT-AC88URT-AX68U

发表于 2014-8-20 13:37:13 | 显示全部楼层
参考Github

About
Entware is a modern alternative to Optware. Originally designed for OpenWRT, it is also usable by other firmware platforms such as DD-WRT or Tomato. You can also set this up on your Asuswrt-Merlin based router.
Note that Entware is only available on the MIPS-based routers. This means the RT-AC56U and RT-AC68U are not supported.
For those unfamiliar with Optware: it's a software repository that offers various software programs that can be installed on your router. They allow you to add new functionality to your router (provided you have the know-how to properly configure them). This allows you, for example, to install and run the Asterisk SIP server on your router.
Note that you cannot use both Optware and Entware at the same time.
Important: Asus's DownloadMaster is based on Optware, and therefore is NOT compatible with Entware. You will have to uninstall DownloadMaster and look at the alternatives provided by Entware.



14

主题

210

回帖

1万

积分

论坛元老

Rank: 8Rank: 8

积分
14286
发表于 2014-8-20 13:43:37 | 显示全部楼层
Merlin的第三方固件的环境使用的是entware环境?
0+0=?

28

主题

53

回帖

446

积分

中级会员

Rank: 3Rank: 3

积分
446
QQ
 楼主| 发表于 2014-8-20 14:51:04 | 显示全部楼层
spritezf 发表于 2014-8-20 12:51
装了可以干什么呢?

我是打算用来建站的~

28

主题

53

回帖

446

积分

中级会员

Rank: 3Rank: 3

积分
446
QQ
 楼主| 发表于 2014-8-20 14:54:18 | 显示全部楼层
粗茶淡范 发表于 2014-8-20 13:37
参考Github

AboutEntware is a modern alternative to Optware. Originally designed for OpenWRT, it is  ...

管理员帮我看看这个问题怎么解决啊。我主要是拿来建站的,外网就是打不开~

629

主题

6182

回帖

1万

积分

管理员

正品行货

Rank: 9Rank: 9Rank: 9

积分
16832

RT-AC88URT-AX68U

发表于 2014-8-20 15:35:38 | 显示全部楼层
jsllb1986 发表于 2014-8-20 14:54
管理员帮我看看这个问题怎么解决啊。我主要是拿来建站的,外网就是打不开~ ...

你内网可以访问建的站吗?

28

主题

53

回帖

446

积分

中级会员

Rank: 3Rank: 3

积分
446
QQ
 楼主| 发表于 2014-8-20 15:53:15 | 显示全部楼层
粗茶淡范 发表于 2014-8-20 15:35
你内网可以访问建的站吗?

我晚上回家试试再来回复你,现在在单位上班~

629

主题

6182

回帖

1万

积分

管理员

正品行货

Rank: 9Rank: 9Rank: 9

积分
16832

RT-AC88URT-AX68U

发表于 2014-8-20 15:59:18 | 显示全部楼层
jsllb1986 发表于 2014-8-20 15:53
我晚上回家试试再来回复你,现在在单位上班~

OK
发表于 2014-8-20 16:56:36 | 显示全部楼层
jsllb1986 发表于 2014-8-20 14:54
管理员帮我看看这个问题怎么解决啊。我主要是拿来建站的,外网就是打不开~ ...

如果内网可以打开,外网打不开。是不是底层没有建立iptables开放外网规则啊
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

快速回复 返回列表 搜索 官方QQ群
×

秒后自动关闭

小黑屋|手机版|Archiver|华硕网络产品技术交流平台 ( 苏ICP备16010857号-1 )苏公网安备 32050502000499号

GMT+8, 2024-4-24 16:26 , Processed in 0.035574 second(s), 34 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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