时间: 2010-09-02 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 8 views
看看同步时间的效果(默认只查询服务器时间,不修改本地时间):
# htpdate -d www.wenzk.com
burst: 1 try: 1 when: 500000
www.wenzk.com 02 Sep 2010 06:13:47 GMT (0.491) => 0
#: 1 mean: 0 average: 0.000
Timezone: GMT+8 (CST,CDT)
No time correction needed
Read the rest of this entry »
Tags: htpdate, HTTP, NTP, 同步, 时间, 时间服务器
时间: 2010-09-02 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 11 views
记录CentOS架设时间服务器要点:
GPS: Gstar RS-232接口USB供电。
1、GPS连接COM1口。
2、从http://gpsd.berlios.de/下载gpsd安装,如果系统没有ncurses-devel包,系统将无法编译gpsmon程序。
3、启动gpsd程序,在/etc/rc.local增加
/bin/chmod o+rw /dev/ttyS0
/usr/local/sbin/gpsd -n /dev/ttyS0
4、/etc/ntp.conf文件增加
server 127.127.28.0 minpoll 4 maxpoll 4
fudge 127.127.28.0 time1 0.420 refid GPS
server 127.127.28.1 minpoll 4 maxpoll 4 prefer
fudge 127.127.28.1 refid GPS1
注意:在某些机器不使用/bin/chmod o+rw /dev/ttyS0修改ttS0的权限,ntpd也能读取掉相应的时间信息,但是在某些机器,死活也不好使。
Tags: GPS, gpsd, NTP, ntpd, 时间服务, 时间服务器
时间: 2010-08-29 - 分类: 榆树网-系统 - 无评论 - 22 views
gpsd自带一个php程序,只要有php和php-gd就可以生成这样的界面:http://www.rjsystems.nl/gpsd/,可惜当我使用2.95版本的时候,却遇到了错误,按照INSTALL的方法把gpsd.php复制到web目录下,却发现json_decode error。
Read the rest of this entry »
Tags: BUG, GPS, gpsd, json, 定位
时间: 2010-08-26 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 29 views
首先在服务器上安装CENTOS5.X 确保能连上网络
一.准备工作
Read the rest of this entry »
Tags: CentOS, Linux, OpenVZ, VPS, 开源, 虚拟化, 虚拟机
时间: 2010-08-23 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 48 views
本文着重分析如何使用“一块网卡”实现多次PPPoE拨号,大家都知道,在Linux下一块“物理网卡”只能实现一次PPPoE连接,本文列举4种方法来实现该功能。
Read the rest of this entry »
Tags: OpenVPN, PPPoE, Vlan, 多网卡, 宽带, 桥接
时间: 2010-08-23 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 28 views
General Idea
Say you have access to multiple links to the Internet, such as several wireless networks in range. Wouldn’t it be nice to combine all that bandwidth into one big fat pipe?
Read the rest of this entry »
Tags: iptables, Linux, 多出口, 多链路, 负载均衡
时间: 2010-08-21 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 40 views
前一段时间从淘宝上掏来一个准系统,放家里当路由器使,之所以不使用商用的路由器,主要是想在路由器上安装linux系统,实现自动连接多路VPN等特殊功能。
Read the rest of this entry »
Tags: Console, Linux, 准系统, 声音, 混音器
时间: 2010-08-01 - 分类: 榆树网-系统, 榆树网-网络 - 无评论 - 69 views
Tags: VLC, windows, 服务, 流媒体, 高清