shutdown 重启或者关机命令 shutdown [option选项] -r 重启系统 time shutdown -r time -h 关机 +time shutdown -h +time shutdown -h now 立即重启pwd 显示路径 pwd [option选项] -L 当前环境变 ...
分类:
系统相关 时间:
2020-06-09 00:03:47
阅读次数:
113
####之前在centos7.4上装oracle踩的坑,现在记录一下 ###1、安装桌面环境(如果未安装) [root@localhost ~]# yum -y group install "Server with GUI" ###2、安装软件包 [root@localhost ~]# yum -y ...
分类:
数据库 时间:
2020-06-08 18:47:52
阅读次数:
73
[root@bogon good]# cat /usr/lib/systemd/system/neutron-server.service[Unit]Description=OpenStack Neutron ServerAfter=syslog.target network.target [Ser ...
分类:
数据库 时间:
2020-06-08 14:54:25
阅读次数:
69
首先要保证开启了AOF持久化日志 1、如果是哨兵模式,执行了flushdb之后,应先将哨兵节点都停掉,防止master漂移,然后shutdown nosave,再将aof日志里flushdb写命令删除 再重启master 》哨兵节点 ...
分类:
数据库 时间:
2020-06-08 13:07:30
阅读次数:
69
Oracle12C开启归档模式 安装Oracle12C后,默认是没有开启归档模式的,可按以下方式开启。1、查看归档相关信息: archive log list 可以看到数据库未开启归档。2、关闭数据库:shutdown immediate 3、启动数据库至mount状态:startup mount ...
分类:
数据库 时间:
2020-06-08 12:48:29
阅读次数:
114
tomcat会话 会话是什么 1. 由于HTTP协议是无状态的协议,所以服务端需要记录用户的状态时,就需要用某种机制来识具体的用户,这个机制就是Session.典型的场景比如购物车,当你点击下单按钮时,由于HTTP协议无状态,所以并不知道是哪个用户操作的,所以服务端要为特定的用户创建了特定的Sess ...
分类:
其他好文 时间:
2020-06-06 22:01:22
阅读次数:
73
1.关机 (系统的关机、重启以及登出 ) 的命令 shutdown -h now 关闭系统(1) init 0 关闭系统(2) telinit 0 关闭系统(3) shutdown -h hours:minutes & 按预定时间关闭系统 shutdown -c 取消按预定时间关闭系统 shutdo ...
分类:
其他好文 时间:
2020-06-06 11:27:03
阅读次数:
100
环境 centos7系统 关闭防火墙 systemctl stop firewalld systemctl disable firewalld 关闭SELINUX sudo vim /etc/sysconfig/selinux 重启一下 sudo reboot 将SELINUX 改为disable ...
分类:
其他好文 时间:
2020-06-03 17:34:13
阅读次数:
104
问题: 今天遇到一个syslog间歇性缺失的问题,排查了一圈发现是限速导致的。 cat /var/log/message | grep rate-limit 有如下信息: Feb 9 10:22:32 localhost rsyslogd: imuxsock lost 432 messages fr ...
分类:
其他好文 时间:
2020-06-03 13:54:57
阅读次数:
134
# Linux你需要的命令都在这## 0、关机重启:(1)关机:shutdown -h 关机-r 重启-c 取消前一个关机命令例:shutdown -h now #立即关机shutdown -r 20:30run shutdown -c(2)关机:halt,poweroff,init 0(3)重启: ...
分类:
系统相关 时间:
2020-06-02 11:43:20
阅读次数:
75