|
发表于 2005-7-22 13:00:54
|
显示全部楼层
1. 使用该客户端需要具备root权限. 并确认您的系统已经安装dhcp客户的软件包并且已经把网卡配置为动态获取ip地址的模式。确认系统安装的c共享库版本在2.3以上。
2. 安装: 将安装包解开到某个路径(用$dest_path表示,下面会引用该值,实际使用中,请替换为实际值)下即可
3. 环境变量设置: 为root用户增加一个环境变量RACERC指向该客户端的安装路径, 即$dest_path. 同时, 把$dest_path增加到root用户的PATH环境变量中.
如果使用bash, 则修改root用户根目录下的.bash_profile文件, 增加如下语句: export RACERC=$dest_path, 把$dest_path增加到PATH=...语句中.
4. 配置: 如果需要, 请修改racer.ini文件以调整Server1和Server2的值, Server1和Server2表示服务器的ip地址, 如果只有一个服务器ip地址, 则Server1和Server2的值都设置为该ip地址值.
5. 使用方法
客户端登录: $dest_path/racer/ecou.sh start
查看状态: $dest_path/racer/ecou.sh status
客户端退出: $dest_path/racer/ecou.sh stop
1. It is necessary to have root privileges in order to use this client to access the network. Before getting start, confirm the dhcp client module(dhcpcd) have been installed on your Linux OS and the network interface have been set up to "Use dynamic Ip configuration ". The version of c share lib in system is more than 2.3.
2. Install: Extract the installing file to the path(denoted by $dest_path. $dest_path should be used below, and should be changed to actual value when you use it), and then it is ok.
3. Environment setting: environment variable RACERC=$dest_path should be added to root user, and $dest_path should be added to PATH environment variable of root user.
4. Configuration: Edit the file racer.ini to modify the value of Server1 and Server2. Server1 and Server2 mean the ip address of server. Server1 and Server2 should be set to one server ip if there is only one server ip address.
5. User's guide:
Logon: $dest_path/racer/ecou.sh start
Check status: $dest_path/racer/ecou.sh status
logoff: $dest_path/racer/ecou.sh stop
自带的readme 说的够清楚了吧。 |
|