上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: 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 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 原理: 通过SecureCRT生成RSA密钥对,将公钥上传到Linux 的sshd 服务器,配置sshd使用RSA密钥登录一 SecureCRT配置,生产密钥对 配置SecureCRT上的RSA密钥,打开SecureCRT→Quick Connect→Authentiation→PublicKey→... 阅读全文
posted @ 2015-08-19 17:25 Forward1990 阅读(1891) 评论(0) 推荐(0) 编辑
摘要: 在/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 阅读(171) 评论(0) 推荐(0) 编辑
摘要: who 阅读全文
posted @ 2015-08-19 11:25 Forward1990 阅读(3535) 评论(0) 推荐(0) 编辑
摘要: 1,使用who命令查看当前登录状况。如图所示,通过who命令可以查看到当前用户及ip的登录情况。2,使用last命令查看最近登录情况。如图所示,last命令列出最近一段时间的用户登录时间及ip记录。3,使用lastlog命令查看各个用户登录情况如图所示,lastlog命令列出了各个用户的登录情况,如... 阅读全文
posted @ 2015-08-18 16:29 Forward1990 阅读(3311) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(813) 评论(0) 推荐(0) 编辑
摘要: 有以下这些表记录日志,长期不清理会非常大'log_customer', 'log_quote', 'log_summary', 'log_summary_type... 阅读全文
posted @ 2015-08-17 15:44 Forward1990 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 今天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 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 最近网站经常报锁表的错误,系统用的是magento,innodb表,在事物在更新或插入后没有执行commit操作,并且超过了设置的最大等待时间(默认innodb_lock_wait_timeout=50),一旦超过就会报mysql 1205 lock wait timeout exceeded在网上... 阅读全文
posted @ 2015-08-15 17:08 Forward1990 阅读(1618) 评论(0) 推荐(0) 编辑
摘要: mysql在phpmyadmin执行时间长会出现504打开php.ini发现mysql.connect_timeout = 60说明超过60s就会出现超时问题 阅读全文
posted @ 2015-08-15 11:05 Forward1990 阅读(806) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页