lnmp环境如何便捷安装?找找看,还真找到来。
- 首先运行 yum install wget //下载wget工具
- 再运行 wget http://www.atomicorp.com/installers/atomic //下载atomic源
- sh ./atomic //安装
- yum check-update //更新
给我一个需求,还你一个项目——别管它是什么。这就是全栈。
lnmp环境如何便捷安装?找找看,还真找到来。
How do you install an LNMP environment conveniently? I did some looking around, and I really did find a way.
1.product viewpic XSS漏洞 原因: viewpic处未正确转义,形成漏洞,可以跨站脚本攻击 修复方法: 在core\shop\controller\ctl.product.php,找到function viewpic($goodsid, $selected=’def’),在其下面一行添加 $goodsid = intval($goodsid); 保存,问题解决 2.绕过验证码问题 原因: shopex后台登录的验证码在第一次检验未通过后,并没有清除第一次存在session中验证码,所以可以通过特定的程序来暴力重试破解。 修复方法: 在core/admin/controller/ctl.passport.php中找到
1 | $_SESSION``[``'loginmsg'``] = __(“验证码输入错误!”); |
在下面添加
1 | $_SESSION``[``'RANDOM_CODE'``] = ”; |
保存,修复成功
1 | $_SESSION``[``'loginmsg'``] = __(“验证码输入错误!”); |
and add below it
1 | $_SESSION``[``'RANDOM_CODE'``] = ”; |
Save, and the fix is complete
本来是装了虚拟机vmware,但是很占内存,软件开多了不方便,而应用的centos软件又不想win系统的那样丰富。怎么办呢?度娘了,于是找到了解决方法 安装wine模拟win系统环境,相当与在centos上安装了一个插件 首先,安装一个第三方软件库,比较丰富的软件,差不多有2万多个 rpm -ivh http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm 因为软件库会更新版本,地址或者名字会有所变动,靠后面的小伙伴如果无法下载,自己在这个网址找找 接下来就是 yum install wine 如果这步报错的话 分别执行以下2个命令 yum clean all yum makecache 接下来重新 yum install wine 在应用程序中你就可以看到红酒杯的图标就是wine了 如果感觉版本地版本较低更改换新版本,那就卸载吧 rpm -qa |grep wine 来查看和wine有关的一般是10个,也有多的,全都删掉
I had originally installed the vmware virtual machine, but it eats up a lot of memory and gets inconvenient once you have several programs open, and the CentOS software available just isn’t as rich as on a win system. So what to do? I turned to Baidu, and found the solution: install wine to emulate a win system environment, roughly equivalent to installing a plugin on CentOS. First, install a third-party software repository with a fairly rich set of packages — 20,000 or so of them. rpm -ivh http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm Because the repository updates its versions, the address or name may change, so if you’re reading this later and can’t download it, go look for it yourself on that site. Next comes yum install wine If this step reports an error, run these 2 commands separately: yum clean all yum makecache Then run yum install wine again In your applications you’ll see a wineglass icon — that’s wine. If you feel the version is too old and want to switch to a newer one, then just uninstall it: rpm -qa |grep wine to check. There are usually 10 wine-related entries, sometimes more — delete them all.
wine配置有一段时间了,又发现有些比较有用的第三方扩展软件playonlinux 因为我装得是centos6.5库软件更新比较慢,这playonlinux单独编译太费劲了,就干脆用rpm吧 下载(注意版本会更新,下载不了上网站看看版本) rpm -ivh http://rpm.playonlinux.com/[playonlinux-yum-4-1.noarch.rpm](http://rpm.playonlinux.com/playonlinux-yum-4-1.noarch.rpm) 安装 yum install playonlinux 等待吧,差不多20多个软件 安装好后在应用程序》最后面那一项(游戏中看到playonlinu就是了) 这个是wine第三方应用,很有用,弥补wine的不足,可以安装好多软件
I had been configuring wine for a while, and then I discovered a rather useful third-party extension called playonlinux. Since I’m running CentOS 6.5, the repo software updates slowly, and compiling playonlinux on its own is too much of a hassle, so I just used the rpm. Download it (note that the version gets updated — if the download fails, check the website for the current version) rpm -ivh http://rpm.playonlinux.com/[playonlinux-yum-4-1.noarch.rpm](http://rpm.playonlinux.com/playonlinux-yum-4-1.noarch.rpm), then install with yum install playonlinux. Just wait — it’s about 20-odd packages. Once installed, it shows up under Applications » the last item (look for playonlinu in the Games section). This is a third-party wine application, very useful — it makes up for wine’s shortcomings and can install lots of software.
I’ve been working on website optimization lately. The response speed test in Baidu Analytics is already fully maxed out at 100%, and only the Baidu Webmaster page optimization is stuck at 92 points. To the peers who aren’t willing to spend time on optimization, I’d like to say, “Keep at it — I’ve already done it.” When you run into a problem and search Baidu, you’ll find plenty of forum posts or blogs saying you don’t need to bother with the optimizations in Baidu Analytics — that merging domains, merging js and css, none of it works, isn’t necessary, barely makes a difference. If it really barely made a difference, does Baidu itself have a problem, deliberately evaluating you wrong to mislead you?
最近发现老版本的ChromeGAE不能翻墙了,很郁闷,谷歌站长又不能用了。 无奈百度了一下,找到最新的翻墙软件,感觉还可以吧。在这分享一下。 效果还是不错的 O(∩∩)O哈哈~ [](http://img03.taobaocdn.com/imgextra/i3/809419769/TB2sOtWaVXXXXbmXXXXXXXXXXXX_!!809419769.jpg) 下载地址:http://pan.baidu.com/s/1hqy1KaS
recently I found that the older version of ChromeGAE could no longer get past the firewall, which was pretty frustrating, and the Google webmaster tools stopped working too. With no other option I searched on Baidu and found the latest circumvention software, and it seems decent. Sharing it here. The results are actually pretty good O(∩∩)O haha~ [](http://img03.taobaocdn.com/imgextra/i3/809419769/TB2sOtWaVXXXXbmXXXXXXXXXXXX_!!809419769.jpg) Download link: http://pan.baidu.com/s/1hqy1KaS
没有找到匹配的文章 🙈