易截截图软件、单文件、免安装、纯绿色、仅160KB

linux下ddns实现动态dns实现域名解析(转载备忘)

呵呵一直一来在WINDOWS下有花生壳等众多的DDNS软件实现动态域名解析。但都是在WINDOWS下的。
今天找到了一个金万维公司提供的免费DDNS服务。主要是提供有LINUX下的安装客户端 
安装方法:得到金万维gnhostlinux动态域名Linux/Unix下客户端软件
wget http://www.gnway.com/download/gnhostlinux1.2.6.tgz 
解压软件
tar zxvf gnhostlinux1.2.6.tgz 
运行安装程序
[root@gnway root] ./install.sh 
安装完之后
 
启动金万维动态域名Linux/Unix下客户端软件
/etc/rc.d/rc3.d/S99gnhostlinuxd  start
第一此运行时 会让你输入帐户 和密码 你输入完 后 他会你的帐户和密码记在
/etc/gnhostlinux.conf

然后重启
/etc/rc.d/rc3.d/S99gnhostlinuxd restart
你的linux下ddns实现动态dns实现域名解析就完成了
如果你是在路由下上的网。你就要在路由上作个端口映射,在路由的虚拟服务器里。映射一个80端口到你的ip 就行了。
相信的看这个http://www.gnway.com/service_new/duankou.php


相关文档:

How to: Linux flush or remove all iptables rules

 
Here is small script that does this. Debian or Ubuntu GNU/Linux does
not comes with any SYS V init script (located in /etc/init.d directory)
.
You create a script as follows and use it to stop or flush the iptables rules.
Please don't type rules at command prompt. Use the script to sp ......

初学Linux积累。

2009-10-27
1,重启 reboot
2009-10-28
1,忘记了root用户密码的解决帮
启动后按esc进入修复模式,选择修复,并选择最后一个。root,进去后,更改密码:passwd root
然后根据提示输入两次密码就行了。
2009-10-29
1,ls
    ls -a 查看所有文件
    ls -l 查看详细的属性
 &nbs ......

linux c oci 远程连接例子

以下是我的测试oci的例子!
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "oci.h"
static OCIServer        *srvhp;
static OCISession       *p_session;
static OCIEnv    &nb ......

Linux操作系统下的多线程编程详细解析(4)


   函数原型:
   
#include <pthread.h>
void pthread_cleanup_push(void (*rtn)(void *),void *arg);
    函数rtn是清理函数,arg是调用参数
void pthread_cleanup_pop(int execute);
 
 
    在前面讲过线程的终止方式,是正常终止还是非 ......

linux札记

 :::::::Linux 下的一些常用命令
# uname -a # 查看内核/操作系统/CPU信息
# head -n 1 /etc/issue # 查看操作系统版本
# cat /proc/cpuinfo # 查看CPU信息
# hostname # 查看计算机名
# lspci -tv # 列出所有PCI设备
# lsusb -tv # 列出所有USB设备
# lsmod # 列出加载的内核模块
# env # 查看环境变量
资源 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号