个人工具

“UbuntuHelp:HoTTProxy”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/HoTTProxy}}
 
{{From|https://help.ubuntu.com/community/HoTTProxy}}
 
{{Languages|UbuntuHelp:HoTTProxy}}
 
{{Languages|UbuntuHelp:HoTTProxy}}
[[UbuntuHelp:HoTTProxy|HoTTProxy]] is a perl based WAP server for connecting your mobile phone to the web.  For example you can setup a proxy server to use your wireless phone to access the web for free without having to pay your provider for a special data service plan.  Usage charges may vary depending on your contract.  Much of the documentation here is taken directly from the [[UbuntuHelp:HoTTProxy|HoTTProxy]] website (http://www.hottproxy.org/articles/LinuxEtc.html), however I point out steps to make the installation go smoothly with Ubuntu.
+
<<Include(Tag/ContentCleanup)>>
 +
<<Include(Tag/StyleCleanup)>>
 +
HoTTProxy is a perl based WAP server for connecting your mobile phone to the web.  For example you can setup a proxy server to use your wireless phone to access the web for free without having to pay your provider for a special data service plan.  Usage charges may vary depending on your contract.  Much of the documentation here is taken directly from the HoTTProxy website (http://www.hottproxy.org/articles/LinuxEtc.html), however I point out steps to make the installation go smoothly with Ubuntu.
 
First install the following packages
 
First install the following packages
 
sudo apt-get install lynx ncftp
 
sudo apt-get install lynx ncftp
Second download [[UbuntuHelp:HoTTProxy|HoTTProxy]] and extract to a directory
+
Second download HoTTProxy and extract to a directory
 
wget http://www.hottproxy.org/downloads/HoTTProxy-Source-0.24.0.0.tar.gz
 
wget http://www.hottproxy.org/downloads/HoTTProxy-Source-0.24.0.0.tar.gz
 
tar xvf HoTTProxy-Source-0.24.0.0.tar.gz
 
tar xvf HoTTProxy-Source-0.24.0.0.tar.gz
 
Third configure Perl, choose the default value for everything except the server which you should choose something near you
 
Third configure Perl, choose the default value for everything except the server which you should choose something near you
perl -MCPAN -e shell  
+
perl -MCPAN -e shell
install YAML (if it asks about Test::More select yes)  
+
install YAML (if it asks about Test::More select yes)
install Module::Build  
+
install Module::Build
install Bundle::LWP  
+
install Bundle::LWP
install HTTP::Daemon  
+
install HTTP::Daemon
install HTTP::Proxy  
+
install HTTP::Proxy
install HTTP::Server::Simple  
+
install HTTP::Server::Simple
install Date::Calc  
+
install Date::Calc
install CGI  
+
install CGI
exit  
+
exit
 
Fourth Run the admin tool and use the web config
 
Fourth Run the admin tool and use the web config
 
sudo perl HoTTProxy_Admin.pl
 
sudo perl HoTTProxy_Admin.pl
firefox  
+
firefox
 
browse to localhost:8085
 
browse to localhost:8085
 
create user - fill in the items in blue.  For homepage try http://wap.google.com
 
create user - fill in the items in blue.  For homepage try http://wap.google.com
 
click submit
 
click submit
 
close firefox
 
close firefox
Fifth Make sure port 9201 is open if you have a firewall and it points to your [[UbuntuHelp:HoTTProxy|HoTTProxy]] box
+
Fifth Make sure port 9201 is open if you have a firewall and it points to your HoTTProxy box
Sixth Run [[UbuntuHelp:HoTTProxy|HoTTProxy]]
+
Sixth Run HoTTProxy
sudo perl [[UbuntuHelp:HoTTProxy|HoTTProxy]].pl
+
sudo perl HoTTProxy.pl
 
Now you should be able to connect to the web using your phone using the user account you set above.  For advanced options check
 
Now you should be able to connect to the web using your phone using the user account you set above.  For advanced options check
 
http://www.hottproxy.org/articles/LinuxEtc.html
 
http://www.hottproxy.org/articles/LinuxEtc.html
 
----
 
----
[[category:CategoryCleanup]]
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2009年11月17日 (二) 19:23的最新版本

<<Include(Tag/ContentCleanup)>> <<Include(Tag/StyleCleanup)>> HoTTProxy is a perl based WAP server for connecting your mobile phone to the web. For example you can setup a proxy server to use your wireless phone to access the web for free without having to pay your provider for a special data service plan. Usage charges may vary depending on your contract. Much of the documentation here is taken directly from the HoTTProxy website (http://www.hottproxy.org/articles/LinuxEtc.html), however I point out steps to make the installation go smoothly with Ubuntu. First install the following packages sudo apt-get install lynx ncftp Second download HoTTProxy and extract to a directory wget http://www.hottproxy.org/downloads/HoTTProxy-Source-0.24.0.0.tar.gz tar xvf HoTTProxy-Source-0.24.0.0.tar.gz Third configure Perl, choose the default value for everything except the server which you should choose something near you perl -MCPAN -e shell install YAML (if it asks about Test::More select yes) install Module::Build install Bundle::LWP install HTTP::Daemon install HTTP::Proxy install HTTP::Server::Simple install Date::Calc install CGI exit Fourth Run the admin tool and use the web config sudo perl HoTTProxy_Admin.pl firefox browse to localhost:8085 create user - fill in the items in blue. For homepage try http://wap.google.com click submit close firefox Fifth Make sure port 9201 is open if you have a firewall and it points to your HoTTProxy box Sixth Run HoTTProxy sudo perl HoTTProxy.pl Now you should be able to connect to the web using your phone using the user account you set above. For advanced options check http://www.hottproxy.org/articles/LinuxEtc.html