随笔分类 -  Linux

摘要:[root@oracle11g ~]# ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/root/.ssh/id_rsa): Enter passphrase (empt 阅读全文
posted @ 2022-06-17 10:58 orcl 阅读(44) 评论(0) 推荐(0) 编辑
摘要:在线识别新添加磁盘: echo "- - -" > /sys/class/scsi_host/host0/scan fdisk -l查看是否识别出新的磁盘 fdisk /dev/sdn n p pvcreate /dev/sdn vgcreate vg_data /dev/sdn1 lvcreate 阅读全文
posted @ 2021-11-24 12:50 orcl 阅读(43) 评论(0) 推荐(0) 编辑
摘要:进入单用户模式: mount -o remount.rw /sysroot chroot /sysroot chage -l root usermod -e 2022-10-27 root exit reboot chage -l root 阅读全文
posted @ 2021-10-29 11:33 orcl 阅读(814) 评论(0) 推荐(0) 编辑
摘要:报错: [root@node01 software]# tar -xvf openGauss-2.0.1-openEuler-64bit-all.tar.gz /software/opengauss-openeuler/ tar: /software/opengauss-openeuler: Not 阅读全文
posted @ 2021-09-30 10:15 orcl 阅读(160) 评论(0) 推荐(0) 编辑
摘要:一、关联网络yum源 1.主机可以联网 2.打开网络地址:http://mirrors.163.com/.help/centos.html,点击CentOS7,保存repo文件 3.将repo文件上传到主机/etc/yum.repos.d/目录下 4.yum clean all 清除缓存 5.yum 阅读全文
posted @ 2021-03-11 16:19 orcl 阅读(55) 评论(0) 推荐(0) 编辑
摘要:一、故障现象: account locked due to 65534 failed logins 二、解决方法: 1、重启 Linux系统主机并出现引导界面时,按下键盘上的 e 键进入内核编辑界面 在 linux16参数这行的最后面追加 “ rd.break”参数,然后按下 Ctrl + X组合键 阅读全文
posted @ 2021-02-24 16:03 orcl 阅读(4717) 评论(0) 推荐(0) 编辑
摘要:[root@node01 yum.repos.d]# yum install -y net-tools Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Resolving Dependencies -- 阅读全文
posted @ 2020-11-18 17:38 orcl 阅读(7080) 评论(0) 推荐(0) 编辑
摘要:[root@node01 yum.repos.d]# yum intall -y sysstat Loaded plugins: fastestmirror No such command: intall. Please use /usr/bin/yum --help [root@node01 yu 阅读全文
posted @ 2020-11-12 15:25 orcl 阅读(3054) 评论(0) 推荐(0) 编辑
摘要:1、背景 节点1:192.168.12.35 节点2:192.168.12.36 2、keepalived安装 使用yum仓库安装keepalived [root@node01 ~]# yum install -y keepalived [root@node02 ~]# yum install -y 阅读全文
posted @ 2020-08-30 21:04 orcl 阅读(196) 评论(0) 推荐(0) 编辑
摘要:一、环境 主库(node01):192.168.12.35 端口:3306 从库(node02):192.168.12.36 端口:3306 vip:192.168.12.38 主库,主从数据库服务器已搭建MySQL主从。 2、配置keepalived实现MySQL主从高可用 keepalived配 阅读全文
posted @ 2020-08-21 10:47 orcl 阅读(370) 评论(0) 推荐(0) 编辑
摘要:/var/log/message 系统启动后的信息和错误日志 /var/log/secure 与安全相关的日志信息 /var/log/maillog 与邮件相关的日志信息 /var/log/cron 与定时任务相关的日志信息 /var/log/spooler 与UUCP和news设备相关的日志信息 阅读全文
posted @ 2020-08-16 10:26 orcl 阅读(383) 评论(0) 推荐(0) 编辑
摘要:1、ls -lht 查看当前目录下文件的大小 2、du -sh 查看当前文件夹的大小 阅读全文
posted @ 2020-08-01 12:07 orcl 阅读(582) 评论(0) 推荐(0) 编辑
摘要:先安装依赖包yum-plugin-downloadonly [root@node1 ~]# yum install yum-plugin-downloadonly 方法一: [root@node1 ~]# yum install --downloadonly nano [root@node1 ~]# 阅读全文
posted @ 2020-07-09 22:14 orcl 阅读(3393) 评论(0) 推荐(0) 编辑
摘要:ip addr add 192.168.12.4/24 dev eno16777728但是每次重启会失效 如果希望每次重启会重新绑定IP,可以将:ip addr add 192.168.12.X/24 dev eth0 命令写入文件/etc/rc.local chmod +x /etc/rc.d/r 阅读全文
posted @ 2020-06-17 23:26 orcl 阅读(379) 评论(0) 推荐(0) 编辑
摘要:rhel6.4搭建rac前共享存储配置(iscsi+multipath+udev) server: IP配置: 192.168.12.30 192.168.12.40 添加一个100G磁盘/dev/sdb 添加两个网络适配器,即两个网卡,并分配IP。 由于目的是配置oracle rac集群,所以在服 阅读全文
posted @ 2019-12-03 11:00 orcl 阅读(727) 评论(0) 推荐(0) 编辑
摘要:配置多路径服务,启动多路径multipathd.service的时候出现下面报错: [root@rac2 ~]# systemctl status multipathd.service multipathd.service - Device-Mapper Multipath Device Contr 阅读全文
posted @ 2019-11-27 11:16 orcl 阅读(1938) 评论(0) 推荐(0) 编辑
摘要:安装Samba之后: smbclient -L server0.example.com 出现报错:error nt_status_host_unreachable 解决方法:server端把Samba服务加入防火墙 firewall-cmd --permanent --add-server=samb 阅读全文
posted @ 2019-08-09 00:27 orcl 阅读(1897) 评论(0) 推荐(0) 编辑
摘要:1:getconf LONG_BIT 2:uname -a 3:uname -r 4:cat /proc/version 阅读全文
posted @ 2019-06-02 21:59 orcl 阅读(140) 评论(0) 推荐(0) 编辑
摘要:报错: [oracle@edgzrip1-PROD1 data]$ sudo vi /etc/fstab We trust you have received the usual lecture from the local SystemAdministrator. It usually boils 阅读全文
posted @ 2019-04-09 17:16 orcl 阅读(625) 评论(0) 推荐(0) 编辑
摘要:/usr/lib/mozilla/plugins/libflashplayer.so 阅读全文
posted @ 2019-03-19 14:52 orcl 阅读(420) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示