会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
运维工匠实战(如果发现有错误请大家把正确的方法发送给我,方便大家更快的解决问题)
QQ326528263 clnking@163.com 微信:bass98 (尽量把问题说清楚) 如果发现我的文章有问题,请大家指出
新随笔
联系
管理
上一页
1
2
3
4
5
6
7
···
40
下一页
2017年8月30日
给数据库用户付权
摘要: grant select,insert,update,delete,create,drop on vtdc.employee to joe@10.163.225.87 identified by ‘123′; 给来自10.163.225.87的用户joe分配可对数据库vtdc的employee表进行
阅读全文
posted @ 2017-08-30 17:59 bass
阅读(329)
评论(0)
推荐(0)
2017年8月23日
jira 跟工时有关的配置文件
摘要: ./atlassian-jira/WEB-INF/classes/jpm.xml 关建字:jira.timetracking.hours.per.day
阅读全文
posted @ 2017-08-23 19:16 bass
阅读(1071)
评论(0)
推荐(0)
2017年8月22日
nfs 客户端启动报错rpc.mountd: svc_tli_create: could not open connection for tcp6
摘要: 根据启动提示可以获知,inet6地址族不被支持,原因是当前主机没有加载ipv6的模块,可以重新加载一遍ipv6模块解决这个问题。 由于我的系统不需要ipv6的支持,所以还可以通过下面的操作,取消NFS的ipv6调用。 还是报错: 还没启动rpcbin
阅读全文
posted @ 2017-08-22 17:46 bass
阅读(1039)
评论(0)
推荐(0)
2017年8月17日
/etc/ssh/sshd_config 关建字:PermitRootLogin no 禁示以root身份登录服务器
摘要: 这种情况,不会影响,普通用户su到root
阅读全文
posted @ 2017-08-17 18:43 bass
阅读(1278)
评论(0)
推荐(0)
/etc/ssh/sshd_config 关建字:AllowUsers root test01
摘要: 新加用户,在AllowUsers 新增的用户名,重启sshd后,新增的用户才能登录服务器.
阅读全文
posted @ 2017-08-17 18:32 bass
阅读(2345)
评论(0)
推荐(0)
2017年8月16日
从用户组中删除某个用户
摘要: [root@xxx home]# cat /etc/group|grep wheel wheel:x:10:usee01,user02,user03,user04 [root@xxxx home]# gpasswd wheel -d yitian Removing user user04 from group wheel [root@Appsrv160 home]# cat /etc/group...
阅读全文
posted @ 2017-08-16 17:25 bass
阅读(552)
评论(0)
推荐(0)
ssh以密钥的方式登录服务器时,只要有密钥可以登服务器,如果有密钥和公钥同时存在(在公钥没问题的情况下可以),但如果公钥有问题,就不能登录成功
摘要: 在~/.ssh/下如果只有密钥或公私同时存在时,都可以成功登录服务器,但!!!!!!如果公钥有换成别的服务器的公钥时,是无法登录远程的服务器!!!!
阅读全文
posted @ 2017-08-16 14:37 bass
阅读(192)
评论(0)
推荐(0)
2017年8月14日
python源码安装
摘要: # mkdir /apps/Python-3.4.7 解压源码包,进入源码包 [root@LB_81 Python-3.4.7]# ls aclocal.m4 configure.ac install-sh Makefile.pre.in Parser Python config.guess Doc Lib Misc ...
阅读全文
posted @ 2017-08-14 12:38 bass
阅读(317)
评论(0)
推荐(0)
# file Python-3.4.7.tar.xz Python-3.4.7.tar.xz: XZ compressed data
摘要: # file Python-3.4.7.tar.xz Python-3.4.7.tar.xz: XZ compressed data # xz -d Python-3.4.7.tar.xz # ls Python-3.4.7.tar # rpm -qf /usr/bin/xz xz-5.2.2-1.el7.x86_64
阅读全文
posted @ 2017-08-14 11:47 bass
阅读(510)
评论(0)
推荐(0)
2017年8月11日
nginx做前端调度 如果两个不同域名指向后端同一台服务器的同一个APP后者的数据会是乱码
摘要: 原因有待查找
阅读全文
posted @ 2017-08-11 17:48 bass
阅读(470)
评论(2)
推荐(0)
2017年8月9日
centos7 开启特定的端口
摘要: systemctl是centos7的服务管理工具中主要的工具,它融合之前的service和chkconfig功能于一体; 开机时启动:systemctl enable firewalld.service 查看服务务是否开机启动:systemctl is-enabled firewalld.servi
阅读全文
posted @ 2017-08-09 17:57 bass
阅读(246)
评论(1)
推荐(0)
生产机器禁止ROOT远程SSH登录
摘要: /etc/init.d/sshd restart
阅读全文
posted @ 2017-08-09 15:41 bass
阅读(120)
评论(0)
推荐(0)
2017年8月5日
ssl与tls的差别
摘要: 1)版本号:TLS记录格式与SSL记录格式相同,但版本号的值不同,TLS的版本1.0便 用的版 本号为SSLv3.1. 2) 报文鉴别码:SSLv3.0和TLS的MAC算法的范围不同,但两者的安全层度是相同的. 3)报警代码:TLS支持几乎所有的SSLv3.0报警代码,而且TLS还补充定义了很多报警
阅读全文
posted @ 2017-08-05 11:08 bass
阅读(332)
评论(1)
推荐(0)
2017年8月4日
git add 不必要的文件 如何撤回
摘要: [root@666 IT-DOC]# git status -s ?? a.txt [root@666 IT-DOC]# git add a.txt [root@666 IT-DOC]# git status -s A a.txt [root@666 IT-DOC]# git reset HEAD a.txt [root@666 IT-DOC]# git status -s ?? a.tx...
阅读全文
posted @ 2017-08-04 18:39 bass
阅读(612)
评论(0)
推荐(0)
2017年7月12日
rpm_快速安装saltstake
摘要: 安装EPEL源:(mast和minion都需要安装) [root@c02 src]# wget http://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm [root@c02 src]# rpm -ihv epel-release-6-8.noarch.rpm 安装rpmforge 在redhat6和cen...
阅读全文
posted @ 2017-07-12 14:48 bass
阅读(269)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
40
下一页
公告