LinuxCluster(转)
LinuxCluster(转)[@more@] 在RedHat下建立群集 注明:本安装步骤不是Dell的标准文档,不能直接发给客户,仅供学习参考。 环境说明: 1. 硬件: 说明:按照标准至少需要4块网卡和其他相应硬件,但因为条件限制,故在硬件和设置上做了一些变通。 服务器:PE4300、PE4600 网卡:两个 RAID:两块PERC2/SC Storage:PV220S和SCSI cable 2. 软件: OS:RedHat Advance Server 2.1 Kernel: 2.4.9-e.3smp 配制分配: IP: node1: 10.0.0.1/8 node2: 10.0.0.2/8 Cluster IP: 10.0.
vsftpd-1.1.3配制实例之五:VIRTUAL_USERS(转)
vsftpd-1.1.3配制实例之五:VIRTUAL_USERS(转)[@more@] This example shows how to set up vsftpd / PAM with "virtual users". A virtual user is a user login which does not exist as a real login on the system. Virtual users can therefore be more secure than real users, beacuse a compromised account can only use the FTP server. Virtual users are often used to serve content that should be accessible to untrusted users, but not generally accessible to the public. Step 1) Create the virtu
vsftpd-1.1.3配制实例之四:VIRTUAL_HOSTS(转)
vsftpd-1.1.3配制实例之四:VIRTUAL_HOSTS(转)[@more@] This example shows how you might set up virtual hosts. Virtual hosting is where different clients access your machine on different IP addresses (virtual IPs) and get redirected to different ftp sites. For example, if your machine responds to two IPs - 127.0.0.1 and 127.0.0.2, you could have the two different IPs represent two totally different FTP sites. For this example, we are going to build on the "INTERNET_SITE" example.
vsftpd-1.1.3配制实例之三:PER_IP_CONFIG(转)
vsftpd-1.1.3配制实例之三:PER_IP_CONFIG(转)[@more@] This example should quickly show you the possibilites of per-IP configuration with vsftpd's tcp_wrappers integration. This is new with v1.1.3. To use this, you need vsftpd built with tcp_wrappers! This is accomplished by editing "builddefs.h" and changing #undef VSF_BUILD_TCPWRAPPERS to #define VSF_BUILD_TCPWRAPPERS And then rebuild. If you are lucky your vendor will have shipped the vsftpd binary with this already do
vsftpd-1.1.3配制实例之二:INTERNET_SITE_NOINETD(转)
vsftpd-1.1.3配制实例之二:INTERNET_SITE_NOINETD(转)[@more@] This example shows how to run vsftpd in "standalone" mode - i.e. without needing to run an inetd of some kind (inetd, xinetd, tcpserver etc). vsftpd has supported standalone mode since v1.1.0. With the release of v1.1.3, the feature list of standalone mode has grown so that large internet sites no longer need to use an inetd. Previously, large internet sites were forced to use xinetd for the important feature of "li
vsftpd-1.1.3配制实例之一:INTERNET_SITE(转)
vsftpd-1.1.3配制实例之一:INTERNET_SITE(转)[@more@] This example shows how you might set up a (possibly large) internet facing FTP site. The emphasis will be on security and performance. We will see how by integrating vsftpd with xinetd, we get a powerful combination. Step 1) Set up your xinetd configuration file. An example xinetd configuration file "vsftpd.xinetd" is supplied. To install it: cp vsftpd.xinetd /etc/xinetd.d/vsftpd Let's look at the important content
vsftpd-1.1.3配制文件vsftpd.conf(转)
vsftpd-1.1.3配制文件vsftpd.conf(转)[@more@] # Example config file /etc/vsftpd.conf # # The default compiled in settings are very paranoid. This sample file # loosens things up a bit, to make the ftp daemon more usable. # # Allow anonymous FTP? anonymous_enable=YES # # Uncomment this to allow local users to log in. #local_enable=YES # # Uncomment this to enable any form of FTP write command. #write_enable=YES # # Default umask for local users is 077. Y
vsftpdfrequentlyaskedquestions(转)
vsftpdfrequentlyaskedquestions(转)[@more@] Q) Can I restrict users to their home directories? A) Yes. You are probably after the setting: chroot_local_user=YES Q) Does vsftpd support a limit on the number of users connected? A1) Yes, indirectly. vsftpd is an inetd-based service. If use the popular "xinetd" as your inetd, this supports per-service per-IP connection limits. There is an example of this in the "EXAMPLE" directory. A2) If you run vsftpd in "standalone" mode wi
Oracle10i的安装过程(转)
Oracle10i的安装过程(转)[@more@] Oracle 10i Beta版的版本号为:Oracle 10.1.0.0.0,目前除了企业版选项外,有很多9i中的产品目前还没有包含进来,仅包含下列几个产品: Oracle Data Guard broker Oracle Procedural Gateways Oracle Transparent Gateways Oracle Locale Builder Oracle Workflow 请点击这里下载Oracle 10i Beta版 下面是在HP-UX B 11.00上安装Oracle 10.1的过程: 所有的前置工作和安装Oracle9i一样,无非是创建oracle用户,设置profile,设置kernel,这里不再详细描述,可以看安装
文档化数据库项目以捕捉相关信息(转)
文档化数据库项目以捕捉相关信息(转)[@more@] 在数据库开发阶段对其进行文档化,可有效地捕捉组织架构、数据对象和其他相关信息,以便将来参考。 这个文档的形式是多种多样的,包括数据字典、数据库管理员指南、数据库体系结构信息以及数据库功能规范。本文用“数据字典”这一术语来指代数据库文档。虽然你目前的数据库文档可能没有使用这个名字,但基本原理是一样的。本文有助于你更好地理解自己的数据库文档。 开发数据库文档 一个数据库文档的读者包括: 数据库结构师 数据库开发者 数
Oracle10i数据库创建过程(转)
Oracle10i数据库创建过程(转)[@more@] Oracle 10i数据库安装结束后,可以使用dbca来创建数据库,下面是具体的创建过程,我会重点提示和9i不同的地方。 1、启动dbca,选择create a database。 2、选择new database。 3、提示输入Global Database Name和SID;和9i不同的是在同一个界面会提示输入sys和system的密码,而9i如果我没机错的话应该是在建库结束的时候才输入的。如下图: 4、数据库存储选项中,有了三个选择,在9i中是没有选择的。现在我们可以选择是我们的数据文件具体是放在什么地方:文件系统
linux日志管理(三)(转)
linux日志管理(三)(转)[@more@] 4. Syslog设备 Syslog已被许多日志函数采纳,它用在许多保护措施中--任何程序都可以通过syslog 纪录事件。Syslog可以纪录系统事件,可以写到一个文件或设备中,或给用户发送一个信息。它能纪录本地事件或通过网络纪录另一个主机上的事件。 Syslog设备依据两个重要的文件:/etc/syslogd(守护进程)和/etc/syslog.conf配置文件,习惯上,多数syslog信息被写到/var/adm或/var/log目录下的信息文件中(messages.*)。一个典型的syslog纪录包括生成程序的名字和一个文本信息。它还包括一个设备和一个
linux日志管理(二)(转)
linux日志管理(二)(转)[@more@] 如果指明了用户,那么last只报告该用户的近期活动,例如:last ynguo(回车)显示: ynguo pts/4 simba.nic.ustc.e Fri Aug 4 16:50 - 08:20 (15:30) ynguo pts/4 simba.nic.ustc.e Thu Aug 3 23:55 - 04:40 (04:44) ynguo pts/11 simba.nic.ustc.e Thu Aug 3 20:45 - 22:02 (01:16) ynguo pts/0 simba.nic.ustc.e Thu Aug 3 03:17 - 05:42 (02:25) ynguo pts/0 simba.nic.ustc.e Wed Aug 2 01:04 - 03:16 1+02:12) ynguo pts/0 simba.nic.ustc.e Wed Aug 2 00:43 - 00:54 (0
linux日志管理(一)(转)
linux日志管理(一)(转)[@more@] 1. 日志简介 日志对于安全来说,非常重要,他记录了系统每天发生的各种各样的事情,你可以通过他来检查错误发生的原因,或者受到攻击时攻击者留下的痕迹。日志主要的功能有:审计和监测。他还可以实时的监测系统状态,监测和追踪侵入者等等。 在Linux系统中,有三个主要的日志子系统: 连接时间日志--由多个程序执行,把纪录写入到/var/log/wtmp和/var/run/utmp,login等程序更新wtmp和utmp文件,使系统管理员能够跟踪谁在何时登录到系统。 进程统计--由系统内核执行。当一个进程终止时,为
tr的使用方法(转)
tr的使用方法(转)[@more@] tr用来从标准输入中通过替换或删除操作进行字符转换。t r主要用于删除文件中控制字符或进行字符转换。使用t r时要转换两个字符串:字符串1用于查询,字符串2用于处理各种转换。 t r刚执行时,字符串1中的字符被映射到字符串2中的字符,然后转换操作开始。 本章内容有: * 大小写转换。 * 去除控制字符。 * 删除空行。 带有最常用选项的t r命令格式为: t r - c - d - s [ " s t r i n g 1 _ t o _ t r a n s l a t e _ f r o m " ] [ " s t r i n g 2 _ t o _ t r a n s l a t e
stty使用方法(转)
stty使用方法(转)[@more@] stty - 改变并打印终端行设置 总览 stty [-F device] [--file=device] [SETTING]... stty [-F device] [--file=device] [-a|--all] stty [-F device] [--file=device] [-g|--save] 描述 quot; Add any additional description here 打印或改变终端属性. -a, --all 以可读的格式打印当前的所有设置 -g, --save 以终端可读的格式打印当前的所有设置 -F, --file 打开指定的设备,并用此设备作为输入来代替标准输入 --help 显示帮助并退出 --version
全面解读startx(转)
全面解读startx(转)[@more@] 总览: startx 只是xinit的一个前端工具,它所做的只是设置好一些变量,资源。然后再用xinit 启动X window. xinit的命令格式: xinit [ [client] clientargs] [-- [server] [display] serverargs] startx所做的工作: 一.获取命令行参数 1.client段 clientargs: 完全从命令行中获取,无默认值 client: 如果没有指定,但是已经指定clientargs,则使用/usr/X11R6/bin/xterm 如果没有指定,且没有指定clientargs,则使用./defaultclientargs,即按以下顺序取值: $HOME/.xini
ORACLE备份&恢复案例--ORACLEBACKUP&RESTORESCHEME(转)
ORACLE备份&恢复案例--ORACLEBACKUP&RESTORESCHEME(转)[@more@] 前言 我的第三篇文章,关于恢复的文章终于出来了,由于最近比较忙,都是断断续续写出来的,所以就费了不少的时间。 我的意图是把与恢复有关的东西整理一下,当然,这篇文章并还没有包含所有与恢复有关的知识,仅仅是常用,如果大家还有什么好的案例,可以贴出来,大家一起讨论。 因为时间仓促,文章中肯定还有很多失误之处,望大家指正。 第一章. 理解什么是数据库恢复 当我们使用一个数据库时,总希望数据库的内容是可靠的、正确的,但由于计算机系
为什么编译的时候把mod_cookies编译进去了,但是cookies还是不能(转)
为什么编译的时候把mod_cookies编译进去了,但是cookies还是不能(转)[@more@] 首先要清楚的是,Apache即使没有mod_cookies这个模块也能正常传递Set-cookie的头部。出现这个问题的原因在于你的脚本没有写好,或者浏览器不支持cookies或者浏览器不接受cookies。
为什么我的.htaccess文件会被忽略(转)
为什么我的.htaccess文件会被忽略(转)[@more@] 你可能在那个目录里面错误地使用了AllowOverride属性,如果这个属性被设置为None,那么根本就不会查找.htaccess,请正确使用这个属性。