perloader

WordPress配置Memcached内存缓存

使用lnmp的,进入lnmp解压后的目录, 执行:./addons.sh install memcached 使用oneinstack的,安装时记得选择memcached 然后安装MemcacheD Is Your Friend wordpress插件 yum install xinetd yum install telnet –server 查看Memcached内存使用情况,可以执行: telnet 127.0.0.1 11211 然后输入stats就可以看到Memcached缓存使用情况了。 看cmd_get,cmd_set,get_hits,get_misses, 上图是一个日流量一二十万的wordpress网站运行一周产生的数据。使用oneinstack安装nginx+mysql 5.7+php 7+Zend OPcache+Redis+Memcached+Jemalloc效果很明显。负载平均不过1.0。 如何退出? Ctr+] 然后输入quit  

.

Read more

BalkanVps:$10/月/1G内存/科索沃/离岸VPS/无版权/KVM

很少见的地区的VPS,FAQ在这里,收到投诉会转发,可以退款,1-7个工作日,接受Bitcoin和Paypal付款。 1 CPU Core 15 GB HDD 1 GB RAM Windows/Linux KVM Virtualisation 1 Gbit/s Unmetered Port (Shared) Republic of Kosovo Order here: https://my.balkanvps.eu/cart.php?a=add&pid=6 测试IP:185.75.56.65 / 84.22.50.247

.

Read more

wordpress 无插件 配置smtp发送邮件

在主题的functions.php里面加入 //使用smtp发送邮件(请根据自己使用的邮箱设置SMTP) add_action(‘phpmailer_init’, ‘mail_smtp’); function mail_smtp( $phpmailer ) { $phpmailer->FromName = ‘xxx’; //发件人名称 $phpmailer->Host = ‘smtp.xxxx.com’; //修改为你使用的邮箱SMTP服务器 $phpmailer->Port = 465; //SMTP端口 $phpmailer->Username = ‘admin@xxx.xxx’; //邮箱账户 $phpmailer->Password = ‘xxxxxx’; //邮箱密码 $phpmailer->From = ‘admin@xxx.xxx’; //邮箱账户 $phpmailer->SMTPAuth = true; $phpmailer->SMTPSecure = ‘ssl’; //tls or ssl (port=25时->留空,465时->ssl) $phpmailer->IsSMTP(); }

.

Read more

install XFileSharing Pro 2.4

根目录下记得添加.htaccess CentOS 6.5 64 Bit 首先yum安装lamp. 官方停止更新CentOS6之后手工更新yum源 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo-backup wget -O /etc/yum.repos.d/CentOS-Base.repo http://file.kangle.odata.cc/repo/Centos-6.repo wget -O /etc/yum.repos.d/epel.repo http://file.kangle.odata.cc/repo/epel-6.repo yum makecache yum update yum install httpd ifconfig eth0 | grep inet | awk ‘{ print $2 }’ echo ‘ServerName 127.0.0.1’ >> /etc/httpd/conf/httpd.conf iptables -F firewall-cmd –zone=public –add-port=80/tcp –permanent firewall-cmd –reload service httpd restart ip访问 “It works!” yum install mysql-server […]

.

Read more

Ecatel:€29/月/2G内存/荷兰/离岸VPS/无版权/

Ecatel世界上最著名的离岸主机商之一,很多小的主机商就是托管在Ecatel机房。荷兰最抗投诉的机房,没有之一。最抗的当属prq.se,另外再说。 CPU: Dualcore E2160 Memory: 2 GB HDD: 80 GB SATA (upgradable) IP(s): 1 APC: 24/7 Free Re-Install: Yes Network: 10TB on 100 mbit unshared Order Here :http://ecatel.net/order.php?id=45

.

Read more

UndergroundPrivate:12$/月/1G内存/俄罗斯/离岸VPS/无版权/Fully Managed

 UndergroundPrivate 主打管理型离岸主机。俄罗斯机房,无视版权。 Underground Private first appeared in 2012,With UndergroundPrivate hosting you have privacy & support & quality services 100%.   Intel Xeon X5650 2.6GHz 1 cores 12 threads / 2.6GHz 30GB HDD Unlimited Bandwidth 1Gbps DMCA Ignored Fully Managed SAS 15K HDD Order Here :https://www.clientlogin.sx/cart.php?a=add&pid=39

.

Read more

HostSolutions.ro:5€/月/2G内存/罗马尼亚/离岸VPS/无版权

Hostsolutions是一家罗马尼亚主机商,成立于2014年,主打离岸主机,无视版权投诉,支持Paypal,Credit Card. KVM1 KVM OFFER: Memory 2 GB RAM Procesor 2 Core Hdd 50 Gb Port Speed 1 Gbps 1 ipv4 Traffic 5 tb/mo Price : 5 eur/mo Order Here : https://secure.hostsolutions.ro/cart.php?a=add&pid=126 15天退款保证。 速度测试:82.77.50.229 / 86.107.110.19 以下是自用VPS测试出来的结果: ———————————————————————- CPU model : Common KVM processor Number of cores : 2 CPU frequency : 2666.760 MHz Total […]

.

Read more

图片自动添加圆角,并且控制大小

WordPress里面如何统一限制图片大小?   在style.css里面添加 p img{ /*添加圆角*/ -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; /*控制宽度大小*/ max-width: 250px; width: expression(this.width > 250 ? “250px” : true); height: auto; }

.

Read more

SpeedyKVM:$29/月/16G内存/120GB SSD硬盘/达拉斯

SpeedyKVM,incero机房的直属子品牌,自建机房,自有设备,10G带宽,数据中心在达拉斯。现在推出了V-DEDI,即独立服务器上仅1个VPS。支持Paypal,Credit Card和Bitcoin。72小时退款(年付)。 如下: V-DEDICATED 1 CPU:Xeon E3-1230 (8 CPU) 内存:16GB ECC RAM 硬盘: 120 GB SSD 流量: 10 TB / 月(1Gbps端口) IPV4: 1 $29/月 购买地址 V-DEDICATED 1.B CPU:Xeon E3-1230 (8 CPU) 内存:16GB ECC RAM 硬盘: 1 TB 流量: 10 TB / 月(1Gbps端口) IPV4: 1 $29/月  

.

Read more
xyz