2022年12月30日

修改Oracle数据表空间存储位置

摘要: 查看数据文件的存储路径: SQL> select name from v$datafile; NAME /home/oracle/app/oracle/oradata/umpay/system01.dbf /home/oracle/app/oracle/oradata/umpay/sysaux01. 阅读全文

posted @ 2022-12-30 10:02 杨小杨~ 阅读(1171) 评论(0) 推荐(0)

2022年10月15日

vim 常用快捷键

摘要: 快速移动光标 ctrl + a 将光标快速移动到行首 ctrl + e 将光标快速移动到行尾 ctrl + ← → 将光标按照单词进行左右快速移动 快速操作命令信息 ctrl + u 将光标之前的内容进行剪切 ctrl + k 将光标之后的内容进行剪切 ctrl + w 以空格作为分隔 剪切每个字符 阅读全文

posted @ 2022-10-15 07:38 杨小杨~ 阅读(2519) 评论(0) 推荐(0)

2022年9月16日

ORACLE常用SQL语句

摘要: 1)创建用户 为用户创建表空间,要注意路径一定不要错误 CREATE TABLESPACE oraumpay DATAFILE '/DataBase/data/umpay/oraumpay01.dbf' SIZE 10G AUTOEXTEND OFF LOGGING EXTENT MANAGEMEN 阅读全文

posted @ 2022-09-16 14:03 杨小杨~ 阅读(139) 评论(0) 推荐(0)

2022年4月15日

CentOS8 安装ansible

摘要: # 安装epel扩展源 yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y # dnf安装ansible yum install ansible 验证版本 阅读全文

posted @ 2022-04-15 11:16 杨小杨~ 阅读(326) 评论(0) 推荐(0)

centos8使用nmcli实现bond

摘要: #添加bonding接口 nmcli con add type bond con-name bond0 ifname bond0 mode active-backup ipv4.method manual ipv4.addresses 192.168.42.200/24 #添加从属接口 nmcli 阅读全文

posted @ 2022-04-15 10:33 杨小杨~ 阅读(826) 评论(0) 推荐(0)

2022年4月14日

MegaCli命令使用整理

摘要: 1. 软件安装 rpm -ivh Lib_Utils-1.00-09.noarch.rpm rpm -ivh MegaCli-8.02.21-1.noarch.rpm 2. 常用命令 /opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL //查看raid 阅读全文

posted @ 2022-04-14 13:48 杨小杨~ 阅读(1939) 评论(0) 推荐(0)

Linux命令行配置RIAD5

摘要: 环境准备: 系统: redhat6.9 硬盘:300G*3 SAS MegaCli是一款管理维护硬件RAID软件,可以用来查看raid信息等 1. 安装MegaCli rpm -ivh Lib_Utils-1.00-09.noarch.rpm rpm -ivh MegaCli-8.02.21-1.n 阅读全文

posted @ 2022-04-14 13:24 杨小杨~ 阅读(149) 评论(0) 推荐(0)

2022年2月17日

Oracle 数据库 命令行安装

摘要: Oracle 数据库 命令行安装 1. 准备工作 关闭 防火墙,关闭 SElinux 2. 安装相关依赖包 yum -y install binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33*.i686 elfutils-li 阅读全文

posted @ 2022-02-17 17:52 杨小杨~ 阅读(890) 评论(0) 推荐(0)

Linux 增加 swap 分区

摘要: 检查当前swap分区 [root@localhost ~]# free -g total used free shared buffers cached Mem: 15 0 14 0 0 0 -/+ buffers/cache: 0 15 Swap: 0 0 0 增加交换分区文件及大小 检查没有sw 阅读全文

posted @ 2022-02-17 16:36 杨小杨~ 阅读(35) 评论(0) 推荐(0)

2021年11月16日

firewall-cmd设置NAT转换

摘要: 配置ipv4转发 修改servera配置文件/etc/sysctl.conf ,修改参数为1 net.ipv4.ip_forward = 1 配置生效: sysctl -p 修改网卡的zone [root@192-168-109-110 ~]# firewall-cmd --permanent -- 阅读全文

posted @ 2021-11-16 13:22 杨小杨~ 阅读(832) 评论(1) 推荐(0)

导航