目前lamp搭建完成
花生壳也开着呢!Making directory /usr/local/phlinux...
mkdir: cannot create directory `/usr/local/phlinux': File exists
Copying data...
Runing phlinux for first configuration...
Peanuthull Linux-core 1.0 by oray.net, copyright 2005
No user configuration found, entering interactive mode automatically!Peanuthull Linux-core Interactive startup.
Please input service address(press ENTER use phservice2.oray.net): Note: Server address will automatically be retrieved by webservice!
      this is just a backup address while you cannot connect webservice.
Please input server address(press ENTER use PH031.Oray.Net): phservice2.oray.net
Please input username(press ENTER use ): Og192
Please input password: 
Save to configuration file (/etc/phlinux.conf)?(yes/no): yes
Log /var/log/phlinux.log opened.
2012/11/27 16:07:52.730| Init phservice2.oray.net with user Og192/******
2012/11/27 16:07:53.492| Initservice OK!
2012/11/27 16:07:53.492| Soapinvoke begined with url: /userinfo.asmx/GetMiscInfo
2012/11/27 16:07:57.794| RESULT_NODE: GetMiscInfoResponse, , PID: -1
2012/11/27 16:07:57.794| RESULT_NODE: GetMiscInfoResult, 0, PID: 0
2012/11/27 16:07:57.794| RESULT_NODE: misc, , PID: 0
2012/11/27 16:07:57.794| RESULT_NODE: LastClientVersion, 3.0.0.2, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: PHDownLoadPageUrl, http://www.oray.cn/peanuthull/down/PeanutHull5.0.1_Setup.exe, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: ClientIP, 222.33.89.37, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: PHServer, PhLinux3.Oray.Net, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: ADPageUrl, Http://www.oray.cn/, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: PeanutBaPageUrl, Http://www.oray.cn/, PID: 2
2012/11/27 16:07:57.794| RESULT_NODE: NoticePageUrl, Http://www.oray.cn/, PID: 2
2012/11/27 16:07:57.795| RESULT_NODE: UserType, 0, PID: 2
2012/11/27 16:07:57.795| RESULT_NODE: EnableCnChildAdd, 0, PID: 2
2012/11/27 16:07:57.795| RESULT_NODE: CnAddChildPrompt, 由于域名管理机构的原因,中文子域名还不能支持域名解析, PID: 2
2012/11/27 16:07:57.795| RESULT_NODE: DomainQueryUrl, http://goto.oray.net/domain/ph31.php, PID: 2
2012/11/27 16:07:57.795| RESULT_NODE: WebServiceVersion, 3.0.0, PID: 2
2012/11/27 16:07:58.139| ExecuteUpdate Connecting PhLinux3.Oray.Net.
2012/11/27 16:07:58.981| SEND AUTH REQUEST COMMAND...2012/11/27 16:07:58.982| OK.
2012/11/27 16:07:59.146| SERVER SIDE KEY "334 3iFZJXU/6XS0UH7XqS/kDg==" RECEIVED.
2012/11/27 16:07:59.146| SEND AUTH DATA...2012/11/27 16:07:59.146| OK
2012/11/27 16:07:59.357| ExecuteUpdate domain "og192.oicp.net"
2012/11/27 16:07:59.357| ExecuteUpdate domain "."
2012/11/27 16:07:59.358| SEND CNFM DATA...2012/11/27 16:07:59.358| OK
2012/11/27 16:07:59.522| ExecuteUpdate 250 Register successfully
2012/11/27 16:07:59.729| 250 8330321 191530260
2012/11/27 16:07:59.729| ExecuteUpdate nChatID:8330321, nStartID:191530260
2012/11/27 16:07:59.729| SEND QUIT COMMAND...2012/11/27 16:07:59.729| OK.
2012/11/27 16:08:00.314| 221 Good bye
2012/11/27 16:08:00.315| ExecuteUpdate OK, BeginKeepAlive!具体输出是这样的
端口映射貌似我是配置完了,我是按照网上做的,现在apache服务器可以用127.0.0.1访问也可以通过自己电脑的IP访问。
接下在怎么把我的apache服务器跟花生壳提供的域名联系起来,让外网的用户使用花生壳的域名来访问我的apache服务器?求救大神啊!!!

解决方案 »

  1.   

    现在本机的IP:192.168.1.102
    而花生壳的client IP:222.33.89.122这两个IP是要一致才行吗?
      

  2.   

    先把自己的网卡设置成固定IP地址,别DHCP了!
    然后进入路由器配置页面 根据你的IP地址 , 路由器配置页面可能是192.168.1.1 ,进去之后应该有个设置是DMZ主机设置,把你电脑的IP地址添里面,然后保存。看路由器里面写的你所在网络的外网ip地址是什么,看看通过这个外网IP地址能否正常访问你的apache服务器,如果可以的话那开着花生壳客户端应该就可以了。
      

  3.   

    1.网卡要固定IP
    2.apache访问ip为上述1的ip,端口不建议80,见下面
    3.有路由器要对上述2的端口转发,为了避免和路由器的管理界面冲突,两者应该不同为好,也应做好访问控制等安全措施
    4.apache下目录名(路径)一律用英文
      

  4.   


    域名是这个:og192.oicp.net
    就是在花生壳自己的主页里那个免费赠送的域名!昨天我让同学测试了下,不是一个学校,他用的移动,我们寝室用的铁通的宽带。
    他可以访问到我的htdocs目录,而且看到了我那个测试用的php网页今早打开后还是让那个同学测试下,可以!
    然后我又弄了弄默认目录,主页什么的,资料也复制到目录下了,之后就不行了!让大神们费心了
      

  5.   

    本帖最后由 xuzuning 于 2012-12-01 10:46:22 编辑
      

  6.   


    现在试试og192.oicp.net这个网址呢?