
Linux Basics
文章平均质量分 69
冰释镜湖
DBA at Huawei since 2015.6, Focus on Oracle/MySQL/Redis/MongoDB/PaaS/Kubernetes/Docker/RDS;
Senior Oracle DBA at Oracle until 2015.6
展开
-
netca 配置监听遇 use another port number:the information provided for this listener is currently in use 提
use another port number:the information provided for this listener is currently in use by other software on this computer.you can proceed with the configuration as it is ,but it will notbe possi原创 2013-03-03 23:35:14 · 15361 阅读 · 0 评论 -
Free Linux Memory by Dropping Caches
Linux Kernels 2.6.16 and up provide a way to instruct the kernel to drop the page cache, inode and dentry caches on command. This tip can help free Linux memory without a reboot.Note: This is a原创 2013-12-13 14:14:07 · 1571 阅读 · 0 评论 -
Linux 中与 Oracle Database 相关的内核参数详解
在安装Oracle的时候需要调整linux的内核参数,但是各参数代表什么含义呢,下面做详细解析。Oracle官方安装文档中给出的最小值:fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 4294967295kernel.shmmni = 4096kerne转载 2013-10-25 12:08:16 · 1893 阅读 · 0 评论 -
Linux/Unix 中如何在复制一个目录时排除其中的某个文件
[oracle@prod ~]$ mkdir test1[oracle@prod ~]$ mkdir test2[oracle@prod ~]$ cd test1[oracle@prod test1]$ touch 1 2 3 4 maomicp `ls | grep -v maomi | xargs` ../test2[oracle@prod test1]$原创 2013-03-24 23:25:00 · 2710 阅读 · 0 评论 -
Oracle Linux 5.6 上安装 GoldenGate Director 遇“unable to run run-cds-tool scripts file”错误
今天在 Oracle Enterprise Linux 5.6 上安装 GoldenGate Director ,安装完 JDK 1.6 和 weblogic server 10.3.50 后安装 GoldenGate Director Server 11.2.1 的时候,而且是进度条结束的时候报了一个 “unable to run run-cds-tool scripts file” 错误原创 2013-03-23 23:37:40 · 3781 阅读 · 0 评论 -
Linux上关闭和开启防火墙的方法
即时生效service iptables startservice iptables stop或重启后生效chkconfig iptables onchkconfig iptables off暂时生效/etc/init.d/iptables on/etc/init.d/iptables off转载请注明出处及原文链接:http:/原创 2013-02-04 23:53:31 · 1227 阅读 · 0 评论 -
Solaris 下的 DNS 配置详解
一、安装卸载与检查版本先检查系统是否已安装了bindpkginfo -l SUNWbind //显示指定软件包的详细信息pkgchk -v SUNWbind // pkgchk命令检测安装是否完成,路径名,文件内容和软件包中的文件属性。列出软件包中文件的内容/usr/sbin/named –v //如果已安装,查看软件原创 2013-02-04 23:31:59 · 3051 阅读 · 0 评论 -
Linux 下 VI 编辑器用法深度解析
这边文章是我在看自由飞翔系列 linux 视频教程的笔记,下面的序号为 6 是正确的,因为这是我笔记中摘出来的,哈哈……6. vi 编辑器的使用 vi 是标准的 Linux 文本编辑程序 不是基于窗口的 多用途编辑程序,可以再各种终端上编辑各式各样的文件 多种系统上都可以使用,比如 Solaris、AIX、HP-UNIX、RedHat 等操作系统上都可以使用原创 2013-02-05 01:21:40 · 2686 阅读 · 7 评论 -
Linux 下如何配置 FTP 服务
1.挂载 OS 镜像盘[root@dss media]# mount /dev/cdrom /media2.安装 FTP 服务包[root@dss Server]# ls -lt | grep vsftp-rw-r--r-- 1 root root 143517 Nov 17 2010 vsftpd-2.0.5-16.el5_5.1.i386.rpm原创 2013-03-10 08:01:51 · 3650 阅读 · 0 评论 -
Linux添加虚拟内存解决swap空间不足问题
1、查看当前虚拟内存[root@centos rpm]# free -m total used free shared buffers cachedMem: 1518 530 987 0 19 406-/+ buffer原创 2013-02-04 23:48:10 · 3552 阅读 · 0 评论 -
Linux 文件系统管理之二
管理文件权限格式1:chmod [-R] {[ugoa][+-=][rwxst]} 文件名或目录名格式2:chmod [-R] {[ugoa][+-=][ugo]} 文件名或目录名说明-R 如果操作对象为目录,则递归地对该目录下的所有子目录实施权限设置{}内的内容称为一个模式,可以指定多个模式,多个模式之间用逗号分隔第一个选项表示要赋予权限的用户u 表示原创 2013-02-18 10:01:04 · 1107 阅读 · 0 评论 -
Linux NFS 服务配置及AIX NFS 客户端挂载实施步骤
NFS 服务端配置(linux):修改nfs服务器 /etc/hosts 文件,加入以下条目:100.12.97.104 ftp在NFS服务端建立NFS共享目录,并授予足够的权限(这里作权限最大化处理)mkdir -p /ftp/HX_BAKchown -R oracle:oinstall /ftp/HX_BAKchmod -R 777 /ftp/HX_BAK配原创 2013-02-04 23:45:29 · 3920 阅读 · 0 评论 -
CentOS 5.6 上安装 Oracle 11g R2 单实例数据库详解
一、硬件需求1、检查物理内存需求(>=256MB)[root@centos ~]# grep MemTotal /proc/meminfoMemTotal: 1554748 kB2、检查虚拟内存需求RAM 1-2GB :swap 1.5*RAMRAM 2-16GB : swap =RAMRAM > 16GB : swap 16GB[root@cen原创 2013-02-04 23:57:12 · 1751 阅读 · 0 评论 -
Linux 上修改 IP 地址和 hostname 的方法
查询、修改主机信息 一、如何修改Linux主机名称 1. 变更当前主机名 1.1 echo new-hostname > /proc/sys/kernel/hostname (系统启动时,从此文件中读取主机名字) 1.2 hostname new-hostname (即时生效,但系统重启后将失效) 2. 修改配置文件,使得下次重启的时候,使用新的主机名原创 2013-02-04 23:58:46 · 2512 阅读 · 1 评论 -
Linux 文件系统管理之一
文件系统是操作系统在磁盘分区上保存文件信息的方法和数据结构Linux 文件系统具有类似的通用结构,其关键组成部分如下:超级块(super block)索引节点(inode)数据块(data block)目录块(directory block)文件权限[root@asm ~]# ls -lttotal 68文件权限 属主 属组 大小原创 2013-02-17 09:11:19 · 1174 阅读 · 0 评论 -
Solaris 下 Crontab 用法详解
solaris下crontab的使用和linux都有些区别开始#bash后首先得定义系统环境变量EDITOR# export EDITOR=vi然后再开始编辑# crontab -e 编辑root用户的crontab这个文件共有6个字段,前5个字段为调度时间,分别为:1、Minute2、Hour3、Day of Month4、Mont原创 2013-02-05 01:10:59 · 4858 阅读 · 0 评论 -
Linux 上 RAC 环境检查脚本
echo "#*******************************os check****************************************"echo `hostname`echo "----------------------------------------------------------------------------------"原创 2013-02-05 00:19:09 · 1607 阅读 · 0 评论 -
Oracle 管理之 Linux 网络基础
1、TCP/IP 网络配置文件2、使用命令配置网络3、网络诊断工具TCP/IP 网络配置文件IP配置文件:/etc/sysconfig/network-scripts/ifcfg-eth0网管配置文件:/etc/sysconfig/network域名解析:/etc/host.conf主机配置:/etc/hosts路由配置:/etc/resolv.conf原创 2013-02-16 18:09:51 · 1531 阅读 · 0 评论 -
init: Id "co" respawning too fast: disabled for 5 minutes
init: Id "co" respawning too fast: disabled for 5 minutesFrom Linux syslog (i.e., /var/log/messages), we have found the following repeated messages:Dec 17 04:21:41 myserver init: Id "co" res转载 2013-12-19 14:14:49 · 3348 阅读 · 0 评论