自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

转载 linux文件系统简介

http://www.cnblogs.com/yyyyy5101/articles/1901842.html6.文件目录管理命令磁盘和文件空间fdisk df du文件目录与管理cd pwd mkdir rmdir ls cp rm mv查看文件内容cat:cat [file]查看文件的内容。全程式concatenate的意思,将文件内容连续输出到屏

2016-03-26 14:43:44 351

转载 Linux的cron和crontab

crontab快速注释及撤销注释先使用crontab -e进行对crontab的编辑操作$ crontab -e然后使用vi的如下编辑命令:%s/^/#/就可以将定时执行的任务前面都加上一个'#',进行注释掉。同样等,某些操作完成后,也是,先进行对crontab的编辑$ crontab -e使用如下编辑命令 :%s/^#//就可以讲上次所有注释的定时任务

2016-03-26 13:40:31 614

转载 H3C的路由器配置命令详解

http://www.360doc.com/content/10/0729/11/2149364_42217826.shtmlH3C交换机1、system-view 进入系统视图模式2、sysname 为设备命名3、display current-configuration 当前配置情况4、 language-mode Chinese|English 中

2016-03-24 13:49:17 33705

转载 oracle 相关

http://blog.csdn.net/reda0821/article/details/7821007 Linux Error: 111: Connection refused  /etc/hosts127.0.0.1       localhost.localdomain   localhost  lsnrctl start   重启

2016-03-24 13:46:16 452

转载 Nginx 502错误触发条件与解决办法汇总

Nginx 502错误触发条件与解决办法汇总http://www.linuxidc.com/Linux/2014-08/105815.htm

2016-03-21 22:40:30 657

原创 crond job curl 运行单参数的url出错

需要对?&%等加反斜杠转义

2016-03-20 23:19:36 369

原创 微信多客服

_reply_customer("02@PICC8227796","12225");function _reply_customer($touser,$content){ //更换成自己的APPID和APPSECRET $APPID=""; $APPSECRET=""; $TOKEN_URL="https://api.weixin.qq.com/cgi-bin

2016-03-18 21:57:39 723

转载 虚拟主机管理相关

Virtualmin/Webmin安装与使用:强大的VPS服务器和虚拟主机管理系统http://www.freehao123.com/virtualmin-webmin/http://www.webmin.com/http://www.virtualmin.com/http://www.oschina.net/news/69958/virtualmin-5-0

2016-03-16 20:05:57 728

原创 数据库瘦身

网站搜索没有必要结果\app\code\core\Mage\CatalogSearch\Model\Resource\Fulltext.php注释掉/* $sql = $adapter->insertFromSelect($select, $this->getTable('catalogsearch/result'),

2016-03-08 16:38:05 625

转载 MongoDB-OrderTransactions

https://github.com/magento-hackathon/MongoDB-OrderTransactionsHackathon TeamAnthony, Andreas, Rouven, Allistair, Vinai, MatthiasAbout this projectImportant: this code is a proof of concept a

2016-03-07 17:50:02 289

转载 服务器查询访问参数

http://www.niubb.net/a/2015/11-26/1057757.html题:netstat命令详解Netstat命令详解 如何关闭TIME_WAIT连接 如何查看nginx的访问流量Netstat命令详解 netstat命令怎样使用 如何关闭TIME_WAIT连接 如何统计web服务器的访问量 如果查看nginx的访问流量?下面我们来看看它主要的用法

2016-03-07 17:48:00 810

转载 netstat下time_wait数过多引起的问题

http://blog.csdn.net/sunnydogzhou/article/details/6461330决的办法,在 /etc/sysctl.conf加入下面几句话net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_tw_recycle = 1net.ipv4.tcp_fin_timeout = 30net.ipv4.tcp_kee

2016-03-07 17:45:38 1650

转载 Improve Magento Cache and Session by Using Redis

Magento currently supports many cache backends with file system, APC and Memcached being the most widely used. Every supported cache backend bring it’s own set of upsides and downside, but since the

2016-03-07 17:25:36 970

转载 Getting this error message: dbModel read resource does not implement Zend_Db_Adapter_Abstract

http://magento.stackexchange.com/questions/80629/getting-this-error-message-dbmodel-read-resource-does-not-implement-zend-db-adaAfter I put the right database connection I also changed t

2016-03-07 16:00:57 761

转载 Making Magento run faster – Configuring Redis as Cache Back-end

http://www.neevtech.com/blog/2013/05/02/making-magento-run-faster-configuring-redis-as-session-back-end-2/http://redis.io/downloadInstallationDownload, extract and compile Redis with:$ w

2016-03-07 12:51:04 481

转载 apache 连接数

1、查看apache当前并发访问数:  netstat -an | grep ESTABLISHED | wc -l  对比httpd.conf中MaxClients的数字差距多少。  2、查看有多少个进程数:  ps aux|grep httpd|wc -l  3、可以使用如下参数查看数据  server-status?auto  #ps -ef|grep httpd

2016-03-04 21:09:16 439

转载 服务器性能分析

在linux下开发程序,为了追求高性能,经常需要测试程序的性能,包括cpu、内存、io、网络等等使用情况。liunx下提供了众多命令方便查看各种资源的使用情况。经常用的有ps、top、free、mpstat、iostat、vmstat、netstat。2、ps、top、free命令  ps用于查看系统中进程的情况,top能够实时显示系统中各个进程的资源占用状况,free命令可以

2016-03-04 20:58:24 1286

原创 减轻数据库负担之url重写

use categories path for product urls 选择为nocreate permanent redirect for urls if url key changed 选择为no.然后将数据表core_url_rewrite清空,然后重新索引。可以将数据表减少为原来的十分之一。也减轻爬虫访问网站的负荷,不用每次都查询数据表转换url。

2016-03-01 19:33:12 414

原创 magento 提交订单处理js

skin\frontend\base\default\js\opcheckout.js

2016-03-01 19:11:26 327

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除