配置SSH的对等性传送ORACLE错位的归档日志文件
在所有节点配置SSH的对等性在安装Oracle Real Application clusters之前,必须先配置所有节点的SSH对等性。因为在安装过程种Oracle Universal Installer使用ssh和scp命令执行远程命令执行及copy的工作,还可以用来传送错位的归档日志文件。[@more@]下面是具体的步骤:以下步骤在所有节点上执行以oracle用户登陆# su – oracle==========================================================在两个节点的oracle主目录分别创建.ssh目录,并赋予权限。==========================================================# mkdir /opt/oracle/.ssh# chmo
检查linux GD环境是否有相关包
检查linux GD环境是否有相关包[@more@][root@app conf.d]# rpm -qa |grep zlibzlib-devel-1.2.1.2-1zlib-1.2.1.2-1[root@app conf.d]# rpm -qa |grep libpnglibpng10-1.0.16-1libpng-devel-1.2.7-1libpng10-devel-1.0.16-1libpng-1.2.7-1[root@app conf.d]# rpm -qa |grep freetypefreetype-2.1.9-1freetype-demos-2.1.9-1freetype-devel-2.1.9-1freetype-utils-2.1.9-1[root@app conf.d]# rpm -qa |grep jpeglibjpeg-devel-6b-33libjpeg-6b-33[root@app conf.d]# rpm -qa |grep gdgdbm-1.8.0-24gdb-6.1post-1.20040607.62gd-devel-2.0.28
互连性能变差,检查UDP缓冲区设置,监控RAC度量
互连性能变差时,检查UDP缓冲区设置,检查互连网络硬件 [@more@][root@svr1 root]# sysctl net.core.rmem_max net.core.wmem_max net.core.rmem_default net.core.wmem_defaultnet.core.rmem_max = 262144net.core.wmem_max = 262144net.core.rmem_default = 262144net.core.wmem_default = 262144还可以直接从/proc/sys/net/core中读取各值使用下列sysctl命令将这些值增加至256Ksysctl -w net.core.rmem_max = 262144sysctl -w net.core.wmem_max = 262144sysctl -w net.core.rmem_default = 262144sysctl -w net.core.wmem_default = 2
PHP5.2.4安装中出现问题及处理过程
安装PHP5.2.4中出现问题汇总:configure: error: libpng.(a|so) not found.configure: error: png.h not foundIf configure fails try --with-xpm-dir=<DIR>configure: error: freetype.h not found.If configure fails try --with-xpm-dir=<DIR>checking for FT_New_Face in -lfreetype... noconfigure: error: Problem with freetype.(a|so). Please check config.log for more information.Notice: Following unknown configure options were used:--with-png--with-xml[@more@]安装PHP5.2.4中出现问题汇总:configure: erro
Linux下通过FTP上传数据备份
简单设置Linux下通过FTP上传数据备份[@more@]#####################ftpfile.sh###############################ftp -v -n 192.203.1.221user test UbbR48XEbinarycd d:fkbbakmdelete sxdgov.fiverename sxdgov.four sxdgov.fiverename sxdgov.three sxdgov.fourrename sxdgov.two sxdgov.threerename sxdgov.one sxdgov.tworename sxdgov.rman sxdgov.onelcd /opt/oracle/rman/bakuppromptput sxdgov.rmanbye#####################mk_rman.sh###############################cd /opt/oracle/rman/bakuprm sdgov.fiverename sxdgov.four sx
在Linux 上配置vsftpd-2.0.1
安装及简单配置vsftpd[@more@]1、从AS4的安装光盘1中拷贝vsftpd-2.0.1-5.i386.rpm[root@app ~]# cp vsftpd-2.0.1-5.i386.rpm /opt/21bak2、安装vsftpd-2.0.1-5.i386.rpm[root@app 21bak]# rpm -ivh vsftpd-2.0.1-5.i386.rpm3、启动及关闭vsftp-2.0.1-5--找到启动文件/etc/rc.d/init.d/vsftpd/etc/rc.d/init.d/vsftpd status/etc/rc.d/init.d/vsftpd start/etc/rc.d/init.d/vsftpd stop--vsftpd的配置文件/etc/vsftpd.conf4、测试[root@app 21bak]# ftp 127.0.0.1Connected to 127.0.0.1.220 (vsFTPd 2.0.1)530 Please login with USER and
UNIX/LINUX 系统启动方式INIT
UNIX/LINUX 系统启动方式INIT简单介绍[@more@]init [option] [runlevel]System administration command.Option-t secondsWhen changing runlevels, send SIGKILL seconds after SIGTERM.Default is 20.Filesinit is the first process run by any Unix machine at boot time. It verifies theintegrity of all filesystems and then creates other processes, using fork andexec, as specified by /etc/inittab. Which processes may be run are controlled byrunlevel. All process terminations are recorded in /var/run/utmp and/var
Linux下的用户及用户组配置
Linux 是一个多用户、多任务的操作系统;我们应该了解单用户多任务和多用户多任务的概念http://www.linuxsir.org/main/?q=node/91[@more@]
Linux+Apache2+Mysql+Php安装配置及其mysql字符设置错误
在此Linux下全新安装配置Mysql、Apache2、PHP,解决在安装Mysql时出现的报错:Character set 'gbk' is not a compiled character set and is not specified in the /usr/local/mysql/share/mysql/charsets/Index.xml' file在安装mysql后可以在下面目录找到mysql的相关安装配置信息说明/usr/local/mysql/info/mysql.info[@more@]在此Linux下全新安装配置Mysql、Apache2、PHP,解决在安装Mysql时出现的报错:Character set 'gbk' is not a compiled character set and is not specified in the /usr/local/mysql/share/mysql/charsets/Index
VI的一些最常用命令和一些高级的应用(转载)
本文旨在更有条理有归纳性地介绍VI的一些最常用命令和一些高级的应用。[@more@] 一:基本命令介绍: 1) 光标命令 k,j,h,l---上下左右光标移动命令,虽然你可以在Linux中使用键盘右边的四个光标键, 但是记住这四个命令还有非常有用的,也就是右手在键盘上放置的位置部分 nG ----n为行数,该命令立即使光标跳到指定行。 Ctrl+G-----光标所在位置的行数和列数报告 w,b------使光标向前或向后跳过一个单词 2) 编辑命令 i,a,r -------在光标的前,后,上方插入字符命令(i=insert,a=append,r=replace) cw,dw------ 改变(置换)/删除光标所在处的单词
LINUX下配置MYSQL
初次学习在Linux下配置Mysql,首先查找版本,环境;部署后,启动Mysql,检验数据库是否运行正常[@more@]--查看LINUX版本[root@sd ~]# cat /etc/issueRed Hat Enterprise Linux AS release 4 (Nahant)Kernel r on an m[root@sd ~]# cat /proc/versionLinux version 2.6.9-5.ELsmp (bhcompile@decompose.build.redhat.com) (gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)) #1 SMP Wed Jan 5 19:30:39 EST 2005--Kernel[root@sd ~]# uname -r2.6.9-5.ELsmp--查看CPU [root@sd ~]# grep "model name" /proc/cpuinfomodel name