• linux符号功能

    在shell中常用的特殊符号罗列如下: #   ;   ;;      .      ,       /       \       'string'|       !   $   ${}   $?      $$   $*  "string"*     **   ?   :   ^   $#   $@    `command`{}  []   [[]]   ()    (())  ||   &&       {xx,yy,zz,...}~   ~+   ~-    &   \<...\>   +       -        %=   ==   !=   # 井号 (comments) 这几乎是...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月28日 | 分类:Linux | 阅读:388次 |
  • Centos6和Centos7系统类型区别

    系统类型 centos6的系统类型是sysvinit centos7的系统类型是systemd 可以通过pstree -p查看系统类型,centos6的第一个进程是init(pid=1),centos7的第一个进程为systemd(pid=1) centos6是按一定顺序启动,启动很慢;centos7是并行启动,启动速度快 其实centos6和7很多不同之处都是和系统类型sysvinit/systemd有关系。 1.服务管理 centos6 采用 service和chconfig管理...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月28日 | 分类:Linux | 阅读:738次 |
  • WordPress发布文章502 Bad Gateway

    WordPress在后台发布和更新文章时,速度超级慢,报错出现502 Bad Gateway,查BT面板PHP慢日志经过分析,可能是插件造成的,WP升级到5.4插件兼容可能存在问题,最后锁定是百度 XMLSitemap 生成器 禁用后正常
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月19日 | 分类:Wordpress | 阅读:683次 |
  • 解决码科代驾PC和骑手端推送及声音问题

    1、服务器安全组开启9502端口 2、BT开启9502端口 3、关闭防火墙,小编的系统是Centos7.7 默认是开机防火墙的 systemctl status firewalld.service //查看防火墙状态 systemctl stop firewalld.service //停止防火墙 systemctl disable firewalld.service //禁用防火墙服务 3、用户端和骑手端小程序后台设置9502端口 BT计划脚本开机执行: cd /www/wwwroot/wx....
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月19日 | 分类:PHP, 微擎 | 阅读:566次 |
  • wordpress定时任务wp-cron.php造成服务器CPU100%

    阿里双核CPU,最近一直被占用100%,进入BT查看是wordpress站点中的wp-cron.php文件导致php-fpm进程过大造成的。 看下慢日志找到问题原因 wordpress的定时任务功能我们还是经常要用到的,例如wordpress的定时备份,定时发布文章等都需要用到wordpress的定时任务功能,而在wordpress中,是靠wp-cron.php来实现这些功能的。 增大并发方案,经过测试无效。 在网上找到禁用WP-...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月18日 | 分类:Wordpress | 阅读:721次 |
  • linux DbSecuritySpt挖矿病毒

    客户服务器网站打不开,top查看 CPU占用率达到了183%,如图: 排查1、sh可疑进程 cat /usr/bin/.sshd //结果如下图 ls -al /usr/bin |grep sshd //查属性是隐藏文件 rm -f /usr/bin/.sshd 删除后死灰复燃 排查2、vi /usr/sbin/sshd 截图如下 排查3、搜索相关文件 find / -name DbSecuritySpt vi /etc/rc.d/init.d/DbSecuritySpt 内容如下 #!/bin/bash /usr...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月18日 | 分类:病毒 | 阅读:913次 |
  • aspx文件中CodeFile与CodeBehind的区别

    在ASP.NET中Web编程时,aspx Web 窗体的@page 指令有三个属性(Inherits、CodeFile、CodeBehind),我们在添加aspx页面时,会默认在代码中使用CodeBehind。那么,CodeFile与CodeBehind的区别究竟有哪些呢? 一、CodeBehind 1、使用方式 <%@ Page Language="C#" AutoEventWireup="true" Codebehind="index.aspx.cs" Inherits="Community.IndexHomePage.index" %> 2、项...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月08日 | 分类:C Sharp | 阅读:492次 |
  • 哀悼武汉新冠肺炎逝去者网站页面拉灰

    html{ filter: grayscale(100%); -webkit-filter: grayscale(100%); -moz-filter: grayscale(100%); -ms-filter: grayscale(100%); -o-filter: grayscale(100%); filter: url(“data:image/svg+xml;utf8,#grayscale”); filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); -webkit-filter: grayscale(1);} /*20200404全国哀悼 */
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年4月07日 | 分类:CSS | 阅读:345次 |
  • Mysql数据库日志mysql-bin.000删除

    在服务器上会生成mysql-bin.000日志文件,会严重占用服务器硬盘,建议关闭,案例:小编的服务器存储是100G的,被占用了50G日志,如图: 方法一:打开vi /etc/my.cnf 找到: log-bin=mysql-bin binlog_format=mixed 将这两行注释掉,前面加上#,再重启mysql就OK. 方法二:如果是宝塔环境找到Mysqld管理关闭即可(适合小白)。
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年3月16日 | 分类:Mysql | 阅读:417次 |
  • CSS响应式设计

    什么是 Viewport? viewport 是用户网页的可视区域。 viewport 翻译为中文可以叫做"视区"。 手机浏览器是把页面放在一个虚拟的"窗口"(viewport)中,通常这个虚拟的"窗口"(viewport)比屏幕宽,这样就不用把每个网页挤到很小的窗口中(这样会破坏没有针对手机浏览器优化的网页的布局),用户可以通过平移和缩放来看网页的不同部分。 <meta name="viewport" content="wid...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年3月10日 | 分类:CSS | 阅读:394次 |
  • 幼麟棋牌四川麻将搭建教程补充

    幼麟棋牌搭建 只支持Win,Mac也可以,因为有CocosCreator版本,Linux不支持,建议使用Win Server搭建。 一、软件需要 操作系统:Win Server 2016 Datacenter 数据库:MySQL 5.7(使用宝塔集成,创建数据库game,导入server/sql/db_babykylin.sql) nodejs:node-v6.16.0-x64 游戏引擎:CocosCreator_v2.0.6 非必要软件 Git-2.25.1-64-bit 用于下载 Visual Studio Code 编辑...
    作者:admin | 发布:
    Warning: Use of undefined constant Y年n月d日 - assumed 'Y年n月d日' (this will throw an Error in a future version of PHP) in /www/wwwroot/blog.wmphp.com/wp-content/themes/wmphp/index.php on line 19
    2020年3月02日 | 分类:NodeJs | 阅读:1,433次 |