in

SDT Community Server

SDT Forums, Blogs, Photos server.

Floating Heart

No description is bad.

Browse by Tags

All Tags » Unix/Linux (RSS)
  • Nagios

    Nagios is the industry standard in enterprise-class monitoring for good reason. It allows you to gain insight into your network and fix problems before customers know they even exist. It's stable, scalable, supported, and extensible. Most importantly, it works. What does Nagios provide? Comprehensive Network Monitoring -------------------------------------------------------------------------------- Windows Linux/Unix Routers, Switches, Firewalls Printers Services Applications Immediate Awareness...
    Posted Dec 17 2008, 08:41 AM by wicky with | with no comments
    Filed under: ,
  • glibc 2.4 upgrade failure

    http://piggy-rtist.spaces.live.com/blog/cns!F0F3CFF4E5F183CC!226.entry glibc 2.4 upgrade failure a glibc-2.3.* is already on the system. problem occurred when i make install a glibc-2.4. an error occurred, saying that rm: relocation error: /lib/tls/libc.so.6: symbol _dl_out_of_memory, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference The problem is, after this error nearly all commands failed, including ls, etc. System reboot also failed. Solution: boot the system with...
    Posted Dec 01 2007, 03:01 PM by wicky with | with no comments
    Filed under:
  • PXE clients computers do not start when you configure the Dynamic Host Configuration Protocol server to use options 60, 66, 67

    http://support.microsoft.com/kb/259670/en-us
    Posted Nov 08 2007, 08:18 PM by wicky with | with no comments
    Filed under: ,
  • PXE Clients do not receive an IP address from a DHCP server across a router

    http://support.microsoft.com/kb/257579/en-us or attached file.
    Posted Nov 08 2007, 08:30 AM by wicky with | with no comments
    Filed under: ,
  • Undefined symbol 'dbm_fetch' with the Apache server

    http://www.vttoth.com/rewrite.htm Technical Notes : Undefined symbol 'dbm_fetch' with the Apache server I tried to include in my Apache Web server's configuration the mod_rewrite module, but when I restarted the server, I received an error: Cannot load /usr/local/apache/libexec/mod_rewrite.so into server: /usr/local/apache/libexec/mod_rewrite.so: undefined symbol: dbm_fetch The problem, as it turns out, is that mod_rewrite.so is compiled incorrectly. It should be linked with a dbm library...
    Posted Oct 27 2007, 11:27 AM by wicky with | with no comments
    Filed under:
  • Install CentOS 5 on Dell Optiplex 755

    First, in your BIOS, set SATA options to AHCI mode. Second , you need new version of e1000 driver. http://sourceforge.net/projects/e1000/ yum install rpm-build (this gives you rombuild) yum install kernel-devel Then try the rpmbuild command.
    Posted Oct 26 2007, 04:46 PM by wicky with | with 1 comment(s)
    Filed under:
  • VMware Features Comparison: Workstation vs Server

    VMware Features Comparison: Workstation vs Server http://www.codesoil.net/2007/05/19/vmware-features-comparison-workstation-vs-server/ 很多人都弄不清楚VMware Workstation和VMware Server之间到底有什么功能差别。从名字上看,Server似乎应该比Workstation功能更强,可是Server居然是免费的,Workstation反倒要花钱。两者之间到底有什么区别呢? 其实,首先从用途上分,正如VMware网站上所说的,Workstation是用来搭建测试、临时环境的,也就是说Workstation上面的Guest OS通常是为了测试、评估某个软件,或者是为了临时运行某个与当前系统不兼容的应用程序,通常不作为正式的系统、特别是服务器系统使用。而VMware Server则可以看成是VMware公司的旗舰产品——GSX的一个免费入门版,其上面通常会同时运行多个Guest OS,并且是作为稳定的服务器系统运行的,换句话说,一台服务器上安装了VMware...
    Posted Aug 15 2007, 10:36 AM by wicky with | with 1 comment(s)
    Filed under: ,
  • CentOS 配置详解

    http://www.centospub.com/make.html ◆ 操作系统的安装 CentOS 4.4 的下载、安装 系统安装后的初始环境设置 ◆ SSH服务器的构建 用OpenSSH构建SSH服务器 用SSH客户端软件登录到服务器 ◆ 服务器开放前安全监测系统和病毒查杀系统的构建 数据完整性监测系统的构建( Tripwire ) 入侵监测系统的构建( chkrootkit ) 病毒查杀系统的构建( Clam AntiVirus ) ◆ 面向局域网外的动态域名的申请 动态域名的申请(no-ip.com) ◆ HTTP服务器的构建以及相关扩展功能的开通 用 Apache 构建 HTTP 服务器 让服务器支持安全 HTTP 协议( HTTPS ) 开放一般用户的网页发布权限 虚拟主机的构建 Servlet/JSP服务器的构建(Tomcat5) 基于日志的站点统计系统的构建( Awstats ) ◆ 数据库服务器的构建 构建 MySQL 数据库服务器 用 phpMyAdmin 让 MySQL 数据库管理温和化 数据库的自动备份与数据库被破坏后的恢复( mysqlhotcopy ) ◆...
    Posted Jul 11 2007, 02:15 PM by wicky with | with no comments
    Filed under:
  • Stop sendmail from looking up DNS

    There is a special "hack" to disable DNS lookups in submit.mc (beside turing it off in sendmail.mc): define(`confDIRECT_SUBMISSION_MODIFIERS',`C')dnl URL(s): http://anfi.homeunix.net/sendmail/dialup10.html OR in sendmail.cf O DirectSubmissionModifiers=C
    Posted Apr 20 2007, 05:26 PM by wicky with | with no comments
    Filed under:
  • 如何在两台linux服务器之间用RSA键对的方法SSH/SCP不需密码

    http://www.linuxeden.com/doc/19655.html Jephe Wu (吴阿亭) 软硬件环境: 两台linux服务器A和B 都编译安装上最新版的openSSH(建议) openSSH的默认设置是允许root可以直接login. (PermitRootLogin yes),暂且保留这种设置,我们先考虑如何 用SSH直接从A到B不需要密码,假设用用户root登录到A,想SSH到B也作为root不需要密码。 1。 分别从A和B上登录作为root后运行ssh-keygen,目的是简单地在/root下创建目录.ssh,当提示输入 passphase时打入两次回车。这将生成/root/.ssh/identity and /root/.ssh/identity.pub 2。 先测试一下,从A登录作为root,打入#ssh B,会要求提示root password。 3。 现在从A登录作为root,运行scp /root/.ssh/identity.pub B:/root/.ssh/authorized_keys。 文件名必须不能弄错。 4。现在再从A运行#ssh B则不需要密码了...
    Posted Oct 30 2006, 03:16 PM by wicky with | with no comments
    Filed under:
  • 如何使用SSH的Port Forwarding加密不安全的服务

    http://fanqiang.chinaunix.net/a6/b9/20010912/1200001279.html 一。简介: 大多数人知道SSH是用来替代R命令集,是用于加密的远程登录,文件传输,甚至加密的 FTP(SSH2内置), 因此SSH成为使用极广的服务之一,不仅如此,SSH还有另一项非常有 用的功能,就是它的端口转发隧道功能,利用此功能,让一些不安全的服务象POP3, SMTP,FTP,LDAP等等通过SSH的加密隧道传输,然后,既然这些服务本身是不安全的, 密码和内容是明文传送的,现在其它中间媒介也没无监听了。 二。图示: SSH的加密隧道保护的只是中间传输的安全性,使得任何通常的嗅探工具软件无法获取发 送内容。如下图: 假设客户机和服务器都运行Linux,且以POP3为例。 C (pop3 server: S) S _______ ________ | | | | | |________POP3___________ >| | |_____| |______| (图一:正常的POP3) (图一:正常的POP3) C (pop3 server:C) S (pop3...
    Posted Oct 30 2006, 02:56 PM by wicky with | with no comments
    Filed under:
  • linux上ssh配置指南

    http://xzh2000.itpub.net/post/96/24631 发表人:xzh2000 | 发表时间: 2005年四月01日, 19:32 介绍SSH 什么是SSH? 传统的网络服务程序,如:ftp、pop和telnet在本质上都是不安全的,因为它们在网络上用明文传送口令和数据,别有用心的人非常容易就可以截获这些口令和数据。而且,这些服务程序的安全验证方式也是有其弱点的,就是很容易受到“中间人”(man-in-the-middle)这种方式的攻击。所谓“中间人”的攻击方式,就是“中间人”冒充真正的服务器接收你的传给服务器的数据,然后再冒充你把数据传给真正的服务器。服务器和你之间的数据传送被“中间人”一转手做了手脚之后,就会出现很严重的问题。 SSH的英文全称是Secure SHell。通过使用SSH,你可以把所有传输的数据进行加密,这样“中间人”这种攻击方式就不可能实现了,而且也能够防止DNS和IP欺骗。还有一个额外的好处就是传输的数据是经过压缩的,所以可以加快传输的速度。SSH有很多功能,它既可以代替telnet,又可以为ftp、pop、甚至ppp提供一个安全的“通道”...
    Posted Oct 27 2006, 02:38 PM by wicky with | with no comments
    Filed under:
  • 过滤当天文件和计算文件总大小的linux脚本示例

    #!/bin/sh TMPFILE=/tmp/lstodaytemp LOGDIR=/oradata2/arch/asdb #找出今天更新过的文件 set `date` ls -l $LOGDIR | awk "BEGIN { m = \"$2\"; d = $3 ; } \$6 == m && \$7 == d && \$8 ~ /:/ {print \$9} " > $TMPFILE #计算出找到的文件的大小 size=0 for file in `cat "$TMPFILE"`; do if [ -f "$LOGDIR/${file}" ]; then ls -lh $LOGDIR/${file} file_size=`ls -l "$LOGDIR/${file}" | awk '{print \$5}'` size=`expr ${size} + ${file_size}` fi done size=`expr ${size} / 1048576` rm -f $TMPFILE echo "Total Size: ${size}M"
    Posted Oct 11 2006, 03:40 PM by wicky with | with no comments
    Filed under:
  • (CentOS)iptables+squid透明代理+防火墙终极配置

    http://www.linuxdiyf.com/viewarticle.php?id=21013 看到很多人都在不停地问iptables+squid做透明代理的问题,鄙人不才,斗胆在此做统一解答。如有任何纰漏还望各位批评指教。 ===================================================================== 相关资源: man.chinaunix.net,左下角有iptables的man,仔细看看。 系统: CentOS4.2,三块网卡,两个内网,一个外网。双至强,2GHz,2GB内存。服务器主要开了squid,sshd,其他的一律闭掉了。 eth0:192.168.100.1 eth1:192.168.168.12 eth2:A.B.C.D —— 外网地址 ===================================================================== squid设定可以根据自己的情况来,我们假设其端口为3128,在三块网卡上都有监听(不要绑定某一个IP或网卡)。 /etc/squid...
    Posted Oct 09 2006, 02:20 PM by wicky with | with no comments
    Filed under:
  • Linux下NFS的配置与注意的问题

    http://www.channel7.cn/2004/10-9/195838.html 1.什么是NFS(Network FileSystem) NFS 就是 Network FileSystem 的缩写,最早之前是由 Sun 所发展出来的。他最大的功能就是可以透过网络,让不同的机器、不同的操作系统、可以彼此分享个别的档案 ( share file ),所以,也可以简单的将他看做是一个 file server 呢!这个 NFS Server 可以让你的 PC 来将网络远程的 NFS 主机分享的目录,挂载到本地端的机器当中,所以,在本地端的机器看起来,那个远程主机的目录就好象是自己的 partition 一般! 虽然 NFS 有属于自己的协议与使用的 port number ,但是在资料传送或者其它相关讯息传递的时候, NFS 使用的则是一个称为远程过程调用( Remote Procedure Call, RPC )的协议来协助 NFS 本身的运作! 2.RPC 当我们在使用某些服务来进行远程联机的时候,有些信息,例如主机的IP、服务的 port number、与对应到的服务之 PID...
    Posted Sep 14 2006, 02:42 PM by wicky with | with no comments
    Filed under:
  • Cannot getRemoteAddr through WebCache

    1) Set UseWebCacheIp to On ($ORACLE_HOME/Apache/Apache/conf/httpd.conf) # Alternate "common" format to use when fronted by webcache: # # LogFormat "%{ClientIP}i %l %u %t \"%r\" %>s %b %h" common_webcache # # When webcache is forwarding requests to OHS, %h becomes the IP of # the originating webcache server and the real client IP is stored # in the ClientIP header. The common_webcache format can be used # in place of the common format when using webcache but with one # important caveat: if clients...
    Posted Aug 11 2006, 12:44 PM by wicky with | with no comments
    Filed under: ,
  • Linuxquestions.org 评出2005年用户选择奖

    Linuxquestions.org 论坛用户投票选出了 2005年度用户选择奖 ,完全名单如下,后面的百分比为得票率。 年度发行版 年度桌面环境 年度办公套件 年度视频多媒体应用 年度图形应用 年度数据库 年度文本编辑器 年度窗口管理器 年度Windows虚拟机 年度开源游戏 年度音频多媒体应用 年度即时通讯 年度LiveCD 年度文件管理器 年度集成开发环境 年度SHELL 年度Web浏览器 年度邮件客户端 年度网站开发编辑器 年度安全应用 年度发行版: Ubuntu 19.49% Slackware 19.05% Suse 13.18% Debian 10.58% Fedora 9.38% Gentoo 8.99% Mandrakelinux 5.79% MEPIS 2.92% Arch 2.84% PClinuxOS 1.76% CentOS 1.48% Red Hat Enterprise Linux 1.36% LFS 0.92% Knoppix 0.76% Linspire 0.72% Xandros 0.56% Novell Linux Desktop 0.24% 年度视频多媒体应用...
    Posted Apr 19 2006, 08:46 AM by wicky with | with no comments
    Filed under:
Copyright SDT, 2006-2009. All rights reserved.