240 发简信
IP属地:广西
  • 使用rector自动升级php代码

    1 安装rector composer require rector/rector --dev 2 编写rector配置文件: use Rect...

  • Resize,w 360,h 240
    centos7上安装nextcloud

    首先安装php环境 我用的nginx 1 解压nextcloud-29.0.4.zip unzip nextcloud-29.0.4.zip m...

  • centos7上编译lxc容器

    先安装依赖: yum install python3 解决python访问不了国外源: mkdir -p ~/.config/pip/ vim ...

  • centos7升级内核

    先下载内核文件: wget http://mirrors.coreix.net/elrepo-archive-archive/kernel/el...

  • 利用dism来打补丁

    要patch的文件如下: config/config.php webmain/main/flow/flowAction.php 打补丁的原因是第...

  • 利用ibd文件批量恢复mysql数据库下的所有表

    前提: 用的innodb引擎且有以下配置: innodb_file_per_table=1 源数据库与目标数据库的innodb_page_siz...

  • 用binlog2sql恢复误删的mysql数据

    前提数据库开启了binlog my.cnf中加以下内容: server_id = 1 max_binlog_size = 100M binlog...

  • 通过Doctrine Entity类生成sql并插入到指定的数据库中

    php依赖:composer create-project symfony/skeleton:"6.4.*" make-sqldoctrine...

  • centos7.9上安装lnmp

    sudo yum install -y https://rpms.remirepo.net/enterprise/remi-release-7....