apache 动态 IP 3322.org

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
头像
lyh
帖子: 113
注册时间: 2007-05-26 20:57
联系:

apache 动态 IP 3322.org

#1

帖子 lyh » 2007-07-02 21:47

有没有那位 使用 apache 架设WWW服务器, 是动态 IP的,且使用 3322.org 域名
把成功的经验分享一下。

谢谢!!!


有其它解决方法也分享一下!
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-07-02 22:16

● 鸣学
头像
lyh
帖子: 113
注册时间: 2007-05-26 20:57
联系:

#3

帖子 lyh » 2007-07-04 13:18

我执行该命令
lynx -mime_header -auth=******:****** "http://www.3322.org/dyndns/update?syste ... *.3322.org

输出:

HTTP/1.1 200 OK
Date: Wed, 04 Jul 2007 05:12:49 GMT
Server: Apache/1.3.29 (Unix) Resin/2.1.11
Content-Length: 22
Connection: close
Content-Type: text/plain; charset=GBK

nochg 124.114.163.228

应该连上了吧,可是在浏览器中输入: ******.3322.org , 很长时间后出现 “连接超时”!!!


--- ******.3322.org ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4001ms
rtt min/avg/max/mdev = 0.544/0.576/0.589/0.022 ms
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#4

帖子 eexpress » 2007-07-04 13:32

本机解析,会直接返回的。要设置路由什么的。这个事情一直没搞好。你只能http://localhost
● 鸣学
头像
lyh
帖子: 113
注册时间: 2007-05-26 20:57
联系:

#5

帖子 lyh » 2007-07-04 13:48

是呀! 有谁解决了的可以分享一下吗,我就不信搞不好!!!
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#6

帖子 bones7456 » 2007-07-04 14:01

我也刚申请了个动态域名,正常的啊。
关注我的blog: ε==3
头像
lyh
帖子: 113
注册时间: 2007-05-26 20:57
联系:

#7

帖子 lyh » 2007-07-05 0:15

耶,我终于搞定了。 是要设置路由器的端口映射!!!

把 80 端口映射到你的 IP。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#8

帖子 eexpress » 2007-07-05 0:26

哦。忘记。你是有权配置路由。呵呵。我当时是没权呢。想绕一个弯子,绕不过来。
● 鸣学
flyinflash
帖子: 2376
注册时间: 2006-09-21 14:28

#9

帖子 flyinflash » 2007-07-06 23:24

lyh 写了:耶,我终于搞定了。 是要设置路由器的端口映射!!!

把 80 端口映射到你的 IP。
具体说说。


我的情况是,开机后第一次更新IP必须是上3322.org改的,以后的呢,就可以让crontab自己更新了。
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

#10

帖子 toawinner47 » 2007-08-22 23:33

根据
lynx -mime_header -auth=你在3322.org注册的用户名:你在3322.org注册的用户的密码 "http://members.3322.org/dyndns/update?s ... 名.3322.org"
连接时大概会有1分钟才会出现下面息信,证明连上了

HTTP/1.1 200 OK
Date: Wed, 22 Aug 2007 15:22:24 GMT
Server: Apache/2.2.3 (CentOS)
Content-Type: text/plain; charset=GBK
Connection: close

good 58.59.63.243243



http://yl93.3322.org这是偶加紧帮忙测试,要来黑的也可以,我的ADSL到期了不交费了
:cry: :arrow:
上次由 toawinner47 在 2008-07-10 5:33,总共编辑 1 次。
HadesEnduos
帖子: 193
注册时间: 2005-12-27 14:05
来自: 中国
联系:

#11

帖子 HadesEnduos » 2007-08-31 12:44

写在/etc/rc.local
还有放一个cron.hourly里
没路由的直接就可以了
有路由的映射端口
..::Outstanding people always stand out::..

AMD Athlon(tm) 64 Processor 3200+
Kinston DDR400 512MB SS * 2
ASUS A8V Deluxe Wireless Edition - VIA K8T800PRO
Dataland AIW 9800SE - ATI Technologies Inc R350 AH [Radeon 9800]
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

#12

帖子 toawinner47 » 2007-09-05 20:22

另外有一个方法也好用:
1.

代码: 全选

sudo vim /etc/ppp/ip-up
在最后一行加入

代码: 全选

w3m -no-cookie -dump "http://*********:***************@members.3322.org/dyndns/update?system=dyndns&hostname=*********.3322.org"
保存关闭。

2.

代码: 全选

sudo pppoeconf
重新拨号,你的http://*********.3322.org就能用了.
d5ghost
帖子: 40
注册时间: 2007-08-29 15:06

#13

帖子 d5ghost » 2007-09-20 19:50

我的安装使用过程:
1。安装apache2

代码: 全选

derek@ubuntu:~$ sudo apt-get install apache2 
2. 登录www.3322.org注册帐号。
3. 设置更新

代码: 全选

 lynx -mime_header -auth=你的用户名:密码 "http://www.3322.org/dyndns/update?system=dyndns&hostname=你的域名.3322.org"
我是把这个命令写出shell,每次开机运行一次。默认lynx是没有安装的,需要用apt-get install进行安装。

4。如果不进行路由器端口映射,直接在浏览器输入你的域名.3322.org,显示的是我们路由器的web界面。要访问我们自己的http服务器,可以输入

代码: 全选

http://127.0.0.1/
或http://localhost/
5。在路由器进行端口映射。

6。若要在内网输入你的域名.3322.org来访问你的http服务器,就要设置代理proxy,我使用的是firefox的gladder扩展(地址https://addons.mozilla.org/en-US/firefox/addon/2864),安装后把你的域名输入需要代理的列表里面就可以用了。


ps.我的域名:d5ghost.3322.org
附件
httpd.png
ASUS A6NE( Intel Pentium-M Dothan 1.5GHz,256*2 DDR,2MB Cache)
OS:ubuntu Linux 8.04
头像
hamaburg
帖子: 284
注册时间: 2006-06-30 12:52

#14

帖子 hamaburg » 2007-09-23 0:35

toawinner47 写了:根据
lynx -mime_header -auth=你在3322.org注册的用户名:你在3322.org注册的用户的密码 "http://members.3322.org/dyndns/update?s ... 名.3322.org"
连接时大概会有1分钟才会出现下面息信,证明连上了

HTTP/1.1 200 OK
Date: Wed, 22 Aug 2007 15:22:24 GMT
Server: Apache/2.2.3 (CentOS)
Content-Type: text/plain; charset=GBK
Connection: close

good 58.59.63.243243



http://yl93.2288.org这是偶加紧帮忙测试,要来黑的也可以,我的ADSL到期了不交费了
:cry: :arrow:
很慢 阿
我这边 lynx 脚本运行后不到3秒就能返回

我在北京网通,
有朋友在四川电信,如论如何都解析不到3322.org的 域名:(
头像
toawinner47
帖子: 200
注册时间: 2006-11-08 20:46
联系:

#15

帖子 toawinner47 » 2007-09-27 21:33

偶的很快速的哟
附件
yl93.2288.png
回复