会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Forward1990
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
2015年8月20日
mysql搜索一张表数据不在另一张中
摘要: select sales_flat_order.entity_idfrom sales_flat_orderwhere not exists (select 1from download_tracknumberwhere download_tracknumber.id = sales_flat_or...
阅读全文
posted @ 2015-08-20 15:38 Forward1990
阅读(209)
评论(0)
推荐(0)
2015年8月19日
转载:使用SecureCRT + RSA密钥 + SSH 登录 Linux
摘要: 原理: 通过SecureCRT生成RSA密钥对,将公钥上传到Linux 的sshd 服务器,配置sshd使用RSA密钥登录一 SecureCRT配置,生产密钥对 配置SecureCRT上的RSA密钥,打开SecureCRT→Quick Connect→Authentiation→PublicKey→...
阅读全文
posted @ 2015-08-19 17:25 Forward1990
阅读(1986)
评论(0)
推荐(0)
hosts.deny hosts.allow防止ssh暴力破解密码
摘要: 在/etc/hosts.allow输入(其中192.110.162.6是你要允许登陆ssh的ip,或者是一个网段192.110.162.0/24 表示192.110.162.1到192.110.162.255)sshd:192.110.162.6:allow在/etc/hosts.deny输入(表示...
阅读全文
posted @ 2015-08-19 16:21 Forward1990
阅读(176)
评论(0)
推荐(0)
linux查看当前ssh登陆的ip
摘要: who
阅读全文
posted @ 2015-08-19 11:25 Forward1990
阅读(3575)
评论(0)
推荐(0)
2015年8月18日
ubuntu下如何查看用户登录及系统授权相关信息
摘要: 1,使用who命令查看当前登录状况。如图所示,通过who命令可以查看到当前用户及ip的登录情况。2,使用last命令查看最近登录情况。如图所示,last命令列出最近一段时间的用户登录时间及ip记录。3,使用lastlog命令查看各个用户登录情况如图所示,lastlog命令列出了各个用户的登录情况,如...
阅读全文
posted @ 2015-08-18 16:29 Forward1990
阅读(3405)
评论(0)
推荐(0)
ubuntu查看日志中访问次数前十的ip
摘要: cat 路径/access.log |cut -d ' ' -f 1 |sort |uniq -c | sort -nr | awk '{print $0 }' | head -n 10
阅读全文
posted @ 2015-08-18 09:46 Forward1990
阅读(863)
评论(0)
推荐(0)
2015年8月17日
magento清空日志表
摘要: 有以下这些表记录日志,长期不清理会非常大'log_customer', 'log_quote', 'log_summary', 'log_summary_type...
阅读全文
posted @ 2015-08-17 15:44 Forward1990
阅读(332)
评论(0)
推荐(0)
2015年8月15日
mysql general error 2006
摘要: 今天magento后台登陆突然报General error: 2006 MySQL server has gone away错误上网查了是把my.cnf中的max_allowed_packet参数调大默认是16M改为80Mhttp://dev.mysql.com/doc/refman/5.1/en/...
阅读全文
posted @ 2015-08-15 17:33 Forward1990
阅读(187)
评论(0)
推荐(0)
mysql 1205 lock wait timeout exceeded
摘要: 最近网站经常报锁表的错误,系统用的是magento,innodb表,在事物在更新或插入后没有执行commit操作,并且超过了设置的最大等待时间(默认innodb_lock_wait_timeout=50),一旦超过就会报mysql 1205 lock wait timeout exceeded在网上...
阅读全文
posted @ 2015-08-15 17:08 Forward1990
阅读(1628)
评论(0)
推荐(0)
mysql 504 timeout问题
摘要: mysql在phpmyadmin执行时间长会出现504打开php.ini发现mysql.connect_timeout = 60说明超过60s就会出现超时问题
阅读全文
posted @ 2015-08-15 11:05 Forward1990
阅读(837)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
公告