操作系统版本为CentOS7,纯净未安装RabbitMQ,以下是以阿里云服务器为载体。 一、安装RabbitMQ步骤: 1、根目录下输入ps -ef|grep rabbitmq命令,检测是否安装过rabbitmq 2、以root用户安装,输入su - root命令(若本身就是root用户则不需要此操 ...
分类:
系统相关 时间:
2020-06-06 12:32:20
阅读次数:
92
参考 http://rocketmq.apache.org/docs/quick-start/ 启动NameSrv > nohup sh bin/mqnamesrv & > tail -f ~/logs/rocketmqlogs/namesrv.log The Name Server boot su ...
分类:
其他好文 时间:
2020-06-05 12:51:14
阅读次数:
168
CentOS7安装PostgreSQL12 + 完成本地访问 检查本机PostgresSQL并删除 sudo su - //root rpm -aq| grep postgres yum remove postgresql* yum update 检查本机PostgresSQL的数据路径有没有文件( ...
分类:
数据库 时间:
2020-06-04 12:05:30
阅读次数:
132
#!/usr/bin/expectspawn ssh root@192.168.22.194expect "*password:"send "123456" send "\n"interact 绝对路径执行:./test.sh 备注:expect 命令 不支持,可以yum -y install ex ...
分类:
其他好文 时间:
2020-06-01 23:56:50
阅读次数:
84
一、登陆模式和非登陆模式 1 对于登陆和费登陆有着不同启动配置 2 登陆shell(会执行变量的初始化): 在登陆时创建(包括X图形登录) su - 3 非登陆shell: su 图形终端 执行脚本 任何其他bash实例Bash启动任务:profile保存在/etc/profile(全局,所有用户的 ...
分类:
其他好文 时间:
2020-06-01 23:46:27
阅读次数:
93
报错: error eslint@5.8.0: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "9.3.0" error Found ...
分类:
其他好文 时间:
2020-06-01 21:02:01
阅读次数:
132
Matplotlib 是一个 Python 的 2D绘图库 安装 pip install matplotlib 绘图的准备 1.添加Figure对象 2.添加Axes import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_su ...
分类:
编程语言 时间:
2020-06-01 13:31:56
阅读次数:
78
大家可能平时不太关注Oracle中的函数方法,只记得常用的一些,今天谭谭就遇到了一个没用过的函数,在此记录一下 INSTR( string, substring [, start_position [, nth_appearance ] ] ) 就是判断原字符串 string 是否包含子字符串 su ...
分类:
数据库 时间:
2020-06-01 01:05:46
阅读次数:
107
大家好,这里是@IT·平头哥联盟,我是首席填坑官——苏南(South·Su),今天要给大家分享的是SVG Sprites(也叫雪碧图),所谓雪碧图,当然就不是我们常喝的雪碧饮料(Sprites)哦,哈哈~ 当下流程的移动端,手机型号太多太多,今天工作项目中突然发现还有同事在使用以前大家 曾经包括现在 ...
分类:
Web程序 时间:
2020-05-31 20:07:52
阅读次数:
84
CentOS使用sudo提示用户不在sudoers文件中的解决方法 方法/步骤 切换到root用户 [linux@localhost ~]$ su root 密码: [root@localhost ~]# 查看/etc/sudoers文件权限,如果只读权限,修改为可写权限 [root@localho ...
分类:
其他好文 时间:
2020-05-31 10:51:41
阅读次数:
141