安装
代码: 全选
sudo dpkg -i phlinux-1.1-i386.deb
设置 username & password
代码: 全选
sudo vim /etc/phlinux.conf
启动、停止和重启服务
代码: 全选
sudo /etc/init.d/phlinux start
sudo /etc/init.d/phlinux stop
sudo /etc/init.d/phlinux restart
删除
代码: 全选
sudo apt-get remove phlinux
安装
Ubuntu 8.04
代码: 全选
deb http://archive.heihaier.org/ubuntu/ hardy main
代码: 全选
deb http://archive.heihaier.org/ubuntu/ intrepid main
代码:
代码: 全选
sudo apt-get install phlinux
方法二:直接下载 安装后
代码: 全选
sudo gedit /etc/phlinux.conf
然后
代码: 全选
sudo /etc/init.d/phlinux restart
以上操作完成,系统将自动登录花生壳服务器,用户可以通过web方式查看当前花生壳客户端的运行状态.
花生壳客户端使用 6160端口提供web检测服务,例如
http://snsn.vicp.cc:6160/
http://snsn.vicp.cc:6160/index.html?lang=cn =================================
对于 拨号 ADSL 和 断开 ADSL 可以在菜单编辑器中依照以上命令行建立相应的快捷方式以方便拨号。
如何设置动态域名(可选)
# 首先去 http://www.3322.org 申请一个动态域名#然後修改 /etc/ppp/ip-up
增加拨号时更新域名指令
代码: 全选
sudo gedit /etc/ppp/ip-up
代码: 全选
w3m -no-cookie -dump 'http://username:[email protected]/dyndns/update?system=dyndns&hostname=yourdns.3322.org'