Jeffrey’s Blog

MySQL配置文件说明[zz]

@ 阅读全文 | 2007/09/29 04:03pm | Category: 应用服务 | 3,295 views  

作者:tyc00n
原文url: http://bbs.chinaunix.net/viewthread.php?tid=579846

MySQL配置文件
MySQL发布的最新产品实际上超出了Red Hat Enterprise Linux所携带的版本。但是,稳定性和开放源代码可是很重要的因素,因此在操作系统上使用较早MySQL版本是有道理的。
Continue Reading ...

Protected: 94同学录

@ 阅读全文 | 2007/09/29 03:03pm | Category: 个人日志 | 1,169 views  

This post is password protected. To view it please enter your password below:


Continue Reading ...

刘德华残奥会MV《Everyone Is NO.1》

@ 阅读全文 | 2007/09/28 04:26pm | Category: 影音娱乐 | 1,617 views  

刘德华残奥会

[display_podcast] Continue Reading ...

cvs学习笔记

@ 阅读全文 | 2007/09/28 02:28pm | Category: 系统管理 | 1,407 views  
Tags: ,

参考了车东网站 http://www.chedong.com/tech/cvs_card.html

++软件安装部分
$rpm -qa cvs #没有可找光盘rpm包安装,或http://cvs.nongnu.org/下载编译
Continue Reading ...

使用heartbeat做双机热备笔记

@ 阅读全文 | 2007/09/20 03:11pm | Category: 系统管理 | 4,038 views  

我用到的集群系统主要就2种:
高可用(High Availability)HA集群, 使用Heartbeat实现;也会称为”双机热备”, “双机互备”, “双机”。
负载均衡群集(Load Balance Cluster),使用Linux Virtual Server(LVS)实现;

这里只讨论HA,使用Heartbeat实现.集群
Continue Reading ...

Optimizing host.conf and sysctl.conf

@ 阅读全文 | 2007/09/16 06:22pm | Category: 系统管理 | 1,349 views  

#!/bin/sh
cp /etc/host.conf /etc/host.back
echo "# Lookup names via DNS first then fall back to /etc/hosts." > /etc/host.conf
echo "order bind,hosts" >> /etc/host.conf
echo "# We have machines with multiple IP addresses." >> /etc/host.conf
echo "multi on" >> /etc/host.conf
echo "# Check for IP address spoofing." >> /etc/host.conf
echo "nospoof on" >> Continue Reading ...

iptables学习笔记

@ 阅读全文 | 2007/09/12 06:31pm | Category: 电脑网络, 系统管理 | 2,309 views  

++基本
modprobe ip_nat_ftp
#echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all #服务器禁ping
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -i eth1 -p tcp –dport 22 -j ACCEPT #eth1为内网卡
iptables -A INPUT -m state –state RELATED,ESTABLISHED -j ACCEPT
iptables -P INPUT DROP
iptables -vnL [-t nat] #查看

++内网PC实现NAT上网
iptables -t nat -A POSTROUTING Continue Reading ...

服务器老手谈WEB服务器如何选用配件

@ 阅读全文 | 2007/09/10 04:05pm | Category: 应用服务 | 1,424 views  
Tags: ,

      很多中小型企业的技术人员或者打算以网站、盈利的个人团体组织都经常提出这么一个疑问:究竟什么样的配置可以支持多大的流量?

      Continue Reading ...

SQL常用语句[zz]

@ 阅读全文 | 2007/09/7 05:01pm | Category: 应用服务 | 1,471 views  

SQL常用命令使用方法:
(1) 数据记录筛选:
sql="select * from 数据表 where 字段名=字段值 order by 字段名 [desc]"
sql="select * from 数据表 where 字段名 like '%字段值%' order by 字段名 [desc]"
sql="select top 10 * from 数据表 where 字段名 order by 字段名 [desc]"
sql="select * from 数据表 where 字段名 in ('值1','值2','值3')"
Continue Reading ...

squid代理网关学习笔记

@ 阅读全文 | 2007/09/3 12:00pm | Category: 系统管理 | 2,808 views  

squid代理网关笔记

++最简单办法开启代理服务:
editting /usr/local/squid/etc/squid.conf,locate “http_access deny all”and change to “http_access allow all”

++WEB方式简单管理
/usr/lib/squid/cachemgr.cgi下有个脚本cachemgr.cgi(Default path on redhat series),把它拷贝到你的Web的cgi-bin目录下(Apache安装后默认的web根是/var/www),通过浏览器运行,可以进入web方式的一些管理。

++ACL Continue Reading ...

京ICP备06038449号