【MACCMS】docker环境中安装服务

环境准备

  • Docker
    • Mysql
    • Nginx
    • Php
  • maccmsV10 项目文件
  • 模板文件
  • 萌芽采集插件
  • 集模板/插件于一身的网站
  • 移动端模板
  • pc端模板
  • 安装waf防火墙(可选)

安装

  1. 安装好docker后,运行如下命令创建bridge网络:docker network create maccmsnet

    • 查询到新创建的bridge maccmsnet

    image-20240731091413134

    • 查看网桥下的容器ip信息: docker network inspect maccmsnet

image-20240731091525753

  1. 运行容器连接到maccmsnet网络

    • Mysql 安装

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      # 下载MySQL镜像
      $ docker pull mysql:5.7.41
      # 初始化目录,后续MySQL的文件都会放在这里
      $ mkdir -p /opt/docker/mysql
      $ cd /opt/docker/mysql
      # 运行空的MySQL容器,注意MySQL密码需要自己设置一下MYSQL_ROOT_PASSWORD
      $ docker run --name mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7.41
      # 将容器内的文件拷贝出来,防止运行容器后文件被覆盖的问题
      $ mkdir -p /opt/docker/mysql/conf
      # 2-创建配置文件
      $ vi conf/my.config
      $ docker cp mysql:/var/lib/mysql /opt/docker/mysql/
      $ mv mysql data
      # 删除后重新启动一个容器
      $ docker rm -f mysql
      $ docker run --name mysql -e TZ=Asia/Shanghai -p 33006:3306 --restart always -v /opt/docker/mysql/data:/var/lib/mysql -v /opt/docker/mysql/logs:/var/log/mysql -v /opt/docker/mysql/conf/my.config:/etc/mysql/my.config -e MYSQL_ROOT_PASSWORD=123456 --network maccmsnet --network-alias mysql -d mysql:5.7.41
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      # my.config
      [mysql]
      #设置mysql客户端默认字符集
      default-character-set=UTF8MB4

      [mysqld]
      #设置3306端口
      port=3306

      #允许最大连接数
      max_connections=200

      #允许连接失败的次数
      max_connect_errors=10

      #默认使用“mysql_native_password”插件认证
      default_authentication_plugin=mysql_native_password

      #服务端使用的字符集默认为8比特编码的latin1字符集
      character-set-server=UTF8MB4

      #开启查询缓存
      explicit_defaults_for_timestamp=true

      #创建新表时将使用的默认存储引擎
      default-storage-engine=INNODB

      #等待超时时间秒
      wait_timeout=60

      #交互式连接超时时间秒
      interactive-timeout=600
      secure_file_priv=/var/lib/mysql

      [client]
      default-character-set=UTF8MB4
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      #登入容器内
      docker exec -it <container_id_or_name> bash
      # 登录mysql
      mysql -u root -p
      # 修改密码
      ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_password';
      # 刷新权限
      FLUSH PRIVILEGES;
      # 退出
      exit
      • –name 容器名称
      • -e 配置时间区域
      • -p 主机端口和容器端口映射
      • –restart 自动重启
      • -v 配置文件/数据文件映射主机
      • –network 网络配置
      • –network-alias 网络别名
    • Nginx 安装

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      # 下载Nginx镜像
      $ docker pull nginx:1.22.0
      # 初始化目录
      $ mkdir -p /opt/docker/nginx/ssl
      $ cd /opt/docker/nginx
      # 裸启动
      $ docker run -d --name nginx nginx:1.22.0
      # 拷贝文件
      $ docker cp nginx:/etc/nginx /opt/docker/nginx
      $ mv nginx conf
      $ docker cp nginx:/usr/share/nginx /opt/docker/nginx
      $ mv nginx webs
      # 删除裸启的容器
      $ docker rm -f nginx
      # 正式启动容器
      $ docker run --name nginx -e TZ=Asia/Shanghai -p 8080:8080 --restart always -v /opt/docker/nginx/conf/:/etc/nginx -v /opt/docker/nginx/webs/:/usr/share/nginx -v /opt/docker/nginx/logs/:/var/log/nginx -v /opt/docker/nginx/ssl/:/ssl --network maccmsnet --network-alias nginx -d nginx:1.22.0
    • PHP 安装

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      33
      34
      35
      36
      37
      38
      39
      40
      # 下载php镜像
      $ docker pull php:7.2-fpm
      # 初始化目录
      $ mkdir -p /opt/docker/php
      # 裸启容器
      $ docker run -d --name php php:7.2-fpm
      # 拷贝配置文件
      $ docker cp php:/usr/local/etc/php /opt/docker/php/
      $ mv /opt/docker/php/php/ /opt/docker/php/conf
      # 删除裸启的容器
      $ docker rm -f php
      # 正式启动容器
      $ docker run -d --name php -e TZ=Asia/Shanghai --restart always -p 9000:9000 -v /opt/docker/nginx/webs:/var/www/html -v /opt/docker/php/conf:/usr/local/etc/php --network maccmsnet --network-alias php php:7.2-fpm

      # 进入容器
      $ docker exec -it php /bin/bash
      # 首次进入容器,先更新一下源,防止接下来下载时找不到依赖
      $ apt update
      # PHP镜像的制作者已经将扩展都继承到镜像中了,这里执行命令解压扩展包
      $ docker-php-source extract
      # 首先安装zip扩展,先将ZIP需要的依赖库安装一下
      $ apt install -y --no-install-recommends zlib1g-dev && apt-get install -y --no-install-recommends libzip-dev
      # 安装zip扩展,这个扩展不安装无法安装程序
      $ docker-php-ext-install zip
      # 接下来安装GD扩展,先将GD需要的依赖库安装一下
      $ apt install -y libwebp-dev libjpeg-dev libpng-dev libfreetype6-dev
      # 移动到GD源码目录
      $ cd /usr/src/php/ext/gd
      # 编译GD源码
      $ docker-php-ext-configure gd --with-webp-dir=/usr/include/webp --with-jpeg-dir=/usr/include --with-png-dir=/usr/include --with-freetype-dir=/usr/include/freetype2
      # 安装GD扩展,这个扩展不安装图形验证码无法加载
      $ docker-php-ext-install gd
      # 最后安装pdo_mysql扩展,这个扩展直接安装即可,不安装该扩展将无法访问数据库
      $ docker-php-ext-install pdo_mysql
      # 到此为止需要的扩展都已经安装完毕,进行一下善后工作即可
      # 收起解压好的扩展文件
      $ docker-php-source delete
      # 退出容器,并重启PHP容器
      $ exit
      $ docker restart php
  2. 上传maccmsV10 项目文件

下载地址: https://github.com/magicblack/maccms10/releases

下载完成后解压文件,并做一些处理

1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 作者提供的压缩文件为.zip格式,如果你的服务器没有安装对应的依赖需要安装一下
$ apt install -y unzip

# 移动到目标目录(/opt/docker/nginx/webs),并解压文件到该目录
$ cd /opt/docker/nginx/webs
$ unzip maccms10.zip

# 解压后会有111开头的文件夹,不用理会直接删除就行
$ rm -rf 111*

# PHP需要放开文件权限,这里权限直接给到777
$ chmod -R 777 maccms

# 最终看到的目录结构应该是这个效果(maccms10.zip也可以删掉,没用了)
  1. 配置Nginx

    程序文件准备好了,而且放在了/opt/docker/nginx/webs目录,nginx和php都可以访问到,接下来修改一下Nginx的配置文件

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    # 移动到Nginx配置文件目录下
    $ cd /opt/docker/nginx/conf/conf.d

    # 我个人习惯每个项目都单独写个配置文件,这里创建maccms.conf,将配置写道该文件中,如下图所示
    $ vim maccms.conf

    # 由于我们没有配置域名访问(那样比较麻烦),为了不影响我们效果把Nginx自带的配置文件先关闭
    $ mv default.conf default.conf.bak

    # 最终的目录结构是这样的
    $ ll
    total 16
    drwxr-xr-x 2 root root 4096 Jul 9 10:36 ./
    drwxr-xr-x 3 root root 4096 Oct 5 2022 ../
    -rw-r--r-- 1 root root 1093 Jul 9 09:56 default.conf.bak
    -rw-r--r-- 1 root root 746 Jul 9 10:36 maccms.conf
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    # maccms.conf
    server {
    listen 80;
    server_name 127.0.0.1;

    location ~ .php$ {
    fastcgi_pass php:9000;
    fastcgi_index index.php;
    fastcgi_split_path_info ^(.+.php)(/.+)$;
    fastcgi_param SCRIPT_FILENAME /var/www/html/maccms/$fastcgi_script_name;
    include fastcgi_params;
    }

    location / {
    if (!-e $request_filename) {
    rewrite ^/index.php(.*)$ /index.php?s=$1 last;
    rewrite ^/admin.php(.*)$ /admin.php?s=$1 last;
    rewrite ^/api.php(.*)$ /api.php?s=$1 last;
    rewrite ^(.*)$ /index.php?s=$1 last;
    break;
    }
    root /usr/share/nginx;
    index index.html index.htm index.php;
    }

    }
  2. 根据向导安装,安装完成后修改admin.php文件名,同时修改nginx配置

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    # 移动到Maccms程序目录
    $ cd /opt/docker/nginx/webs/maccms

    # 给admin.php重命名为yyds.php
    $ mv admin.php yyds.php

    # 编辑Nginx配置文件,将配置文件中的admin.php修改为刚刚设置的yyds.php
    # 一共有两处需要修改,两处都在同一行,我文字说明一下这里就不截图了
    $ vim /opt/docker/nginx/conf/conf.d/maccms.conf

    # 重启Nginx容器使配置生效
    $ docker restart nginx
  3. 配置视频分类

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    truncate table `mac_type`;
    INSERT INTO `mac_type` VALUES ('1', '电影', 'dianying', '1', '1', '0', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '电影,电影大全,电影天堂,最新电影,好看的电影,电影排行榜', '为您提供更新电影、好看的电影排行榜及电影迅雷下载,免费在线观看伦理电影、动作片、喜剧片、爱情片、搞笑片等全新电影。', '电影', '', '{\"class\":\"\\u559c\\u5267,\\u7231\\u60c5,\\u6050\\u6016,\\u52a8\\u4f5c,\\u79d1\\u5e7b,\\u5267\\u60c5,\\u6218\\u4e89,\\u8b66\\u532a,\\u72af\\u7f6a,\\u52a8\\u753b,\\u5947\\u5e7b,\\u6b66\\u4fa0,\\u5192\\u9669,\\u67aa\\u6218,\\u6050\\u6016,\\u60ac\\u7591,\\u60ca\\u609a,\\u7ecf\\u5178,\\u9752\\u6625,\\u6587\\u827a,\\u5fae\\u7535\\u5f71,\\u53e4\\u88c5,\\u5386\\u53f2,\\u8fd0\\u52a8,\\u519c\\u6751,\\u513f\\u7ae5,\\u7f51\\u7edc\\u7535\\u5f71\",\"area\":\"\\u5927\\u9646,\\u9999\\u6e2f,\\u53f0\\u6e7e,\\u7f8e\\u56fd,\\u6cd5\\u56fd,\\u82f1\\u56fd,\\u65e5\\u672c,\\u97e9\\u56fd,\\u5fb7\\u56fd,\\u6cf0\\u56fd,\\u5370\\u5ea6,\\u610f\\u5927\\u5229,\\u897f\\u73ed\\u7259,\\u52a0\\u62ff\\u5927,\\u5176\\u4ed6\",\"lang\":\"\\u56fd\\u8bed,\\u82f1\\u8bed,\\u7ca4\\u8bed,\\u95fd\\u5357\\u8bed,\\u97e9\\u8bed,\\u65e5\\u8bed,\\u6cd5\\u8bed,\\u5fb7\\u8bed,\\u5176\\u5b83\",\"year\":\"2018,2017,2016,2015,2014,2013,2012,2011,2010\",\"star\":\"\\u738b\\u5b9d\\u5f3a,\\u9ec4\\u6e24,\\u5468\\u8fc5,\\u5468\\u51ac\\u96e8,\\u8303\\u51b0\\u51b0,\\u9648\\u5b66\\u51ac,\\u9648\\u4f1f\\u9706,\\u90ed\\u91c7\\u6d01,\\u9093\\u8d85,\\u6210\\u9f99,\\u845b\\u4f18,\\u6797\\u6b63\\u82f1,\\u5f20\\u5bb6\\u8f89,\\u6881\\u671d\\u4f1f,\\u5f90\\u5ce5,\\u90d1\\u607a,\\u5434\\u5f66\\u7956,\\u5218\\u5fb7\\u534e,\\u5468\\u661f\\u9a70,\\u6797\\u9752\\u971e,\\u5468\\u6da6\\u53d1,\\u674e\\u8fde\\u6770,\\u7504\\u5b50\\u4e39,\\u53e4\\u5929\\u4e50,\\u6d2a\\u91d1\\u5b9d,\\u59da\\u6668,\\u502a\\u59ae,\\u9ec4\\u6653\\u660e,\\u5f6d\\u4e8e\\u664f,\\u6c64\\u552f,\\u9648\\u5c0f\\u6625\",\"director\":\"\\u51af\\u5c0f\\u521a,\\u5f20\\u827a\\u8c0b,\\u5434\\u5b87\\u68ee,\\u9648\\u51ef\\u6b4c,\\u5f90\\u514b,\\u738b\\u5bb6\\u536b,\\u59dc\\u6587,\\u5468\\u661f\\u9a70,\\u674e\\u5b89\",\"state\":\"\\u6b63\\u7247,\\u9884\\u544a\\u7247,\\u82b1\\u7d6e\",\"version\":\"\\u9ad8\\u6e05\\u7248,\\u5267\\u573a\\u7248,\\u62a2\\u5148\\u7248,OVA,TV,\\u5f71\\u9662\\u7248\"}','','','');
    INSERT INTO `mac_type` VALUES ('2', '连续剧', 'lianxuju', '2', '1', '0', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '电视剧,最新电视剧,好看的电视剧,热播电视剧,电视剧在线观看', '为您提供2018新电视剧排行榜,韩国电视剧、泰国电视剧、香港TVB全新电视剧排行榜、好看的电视剧等热播电视剧排行榜,并提供免费高清电视剧下载及在线观看。', '电视剧', '', '{\"class\":\"\\u53e4\\u88c5,\\u6218\\u4e89,\\u9752\\u6625\\u5076\\u50cf,\\u559c\\u5267,\\u5bb6\\u5ead,\\u72af\\u7f6a,\\u52a8\\u4f5c,\\u5947\\u5e7b,\\u5267\\u60c5,\\u5386\\u53f2,\\u7ecf\\u5178,\\u4e61\\u6751,\\u60c5\\u666f,\\u5546\\u6218,\\u7f51\\u5267,\\u5176\\u4ed6\",\"area\":\"\\u5185\\u5730,\\u97e9\\u56fd,\\u9999\\u6e2f,\\u53f0\\u6e7e,\\u65e5\\u672c,\\u7f8e\\u56fd,\\u6cf0\\u56fd,\\u82f1\\u56fd,\\u65b0\\u52a0\\u5761,\\u5176\\u4ed6\",\"lang\":\"\\u56fd\\u8bed,\\u82f1\\u8bed,\\u7ca4\\u8bed,\\u95fd\\u5357\\u8bed,\\u97e9\\u8bed,\\u65e5\\u8bed,\\u5176\\u5b83\",\"year\":\"2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2006,2005,2004\",\"star\":\"\\u738b\\u5b9d\\u5f3a,\\u80e1\\u6b4c,\\u970d\\u5efa\\u534e,\\u8d75\\u4e3d\\u9896,\\u5218\\u6d9b,\\u5218\\u8bd7\\u8bd7,\\u9648\\u4f1f\\u9706,\\u5434\\u5947\\u9686,\\u9646\\u6bc5,\\u5510\\u5ae3,\\u5173\\u6653\\u5f64,\\u5b59\\u4fea,\\u674e\\u6613\\u5cf0,\\u5f20\\u7ff0,\\u674e\\u6668,\\u8303\\u51b0\\u51b0,\\u6797\\u5fc3\\u5982,\\u6587\\u7ae0,\\u9a6c\\u4f0a\\u740d,\\u4f5f\\u5927\\u4e3a,\\u5b59\\u7ea2\\u96f7,\\u9648\\u5efa\\u658c,\\u674e\\u5c0f\\u7490\",\"director\":\"\\u5f20\\u7eaa\\u4e2d,\\u674e\\u5c11\\u7ea2,\\u5218\\u6c5f,\\u5b54\\u7b19,\\u5f20\\u9ece,\\u5eb7\\u6d2a\\u96f7,\\u9ad8\\u5e0c\\u5e0c,\\u80e1\\u73ab,\\u8d75\\u5b9d\\u521a,\\u90d1\\u6653\\u9f99\",\"state\":\"\\u6b63\\u7247,\\u9884\\u544a\\u7247,\\u82b1\\u7d6e\",\"version\":\"\\u9ad8\\u6e05\\u7248,\\u5267\\u573a\\u7248,\\u62a2\\u5148\\u7248,OVA,TV,\\u5f71\\u9662\\u7248\"}','','','');
    INSERT INTO `mac_type` VALUES ('3', '综艺', 'zongyi', '3', '1', '0', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '综艺,综艺节目,最新综艺节目,综艺节目排行榜', '为您提供新综艺节目、好看的综艺节目排行榜,免费高清在线观看选秀、情感、访谈、搞笑、真人秀、脱口秀等热门综艺节目。', '综艺', '', '{\"class\":\"\\u9009\\u79c0,\\u60c5\\u611f,\\u8bbf\\u8c08,\\u64ad\\u62a5,\\u65c5\\u6e38,\\u97f3\\u4e50,\\u7f8e\\u98df,\\u7eaa\\u5b9e,\\u66f2\\u827a,\\u751f\\u6d3b,\\u6e38\\u620f\\u4e92\\u52a8,\\u8d22\\u7ecf,\\u6c42\\u804c\",\"area\":\"\\u5185\\u5730,\\u6e2f\\u53f0,\\u65e5\\u97e9,\\u6b27\\u7f8e\",\"lang\":\"\\u56fd\\u8bed,\\u82f1\\u8bed,\\u7ca4\\u8bed,\\u95fd\\u5357\\u8bed,\\u97e9\\u8bed,\\u65e5\\u8bed,\\u5176\\u5b83\",\"year\":\"2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004\",\"star\":\"\\u4f55\\u7085,\\u6c6a\\u6db5,\\u8c22\\u5a1c,\\u5468\\u7acb\\u6ce2,\\u9648\\u9c81\\u8c6b,\\u5b5f\\u975e,\\u674e\\u9759,\\u6731\\u519b,\\u6731\\u4e39,\\u534e\\u5c11,\\u90ed\\u5fb7\\u7eb2,\\u6768\\u6f9c\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('4', '动漫', 'dongman', '4', '1', '0', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '动漫,动漫大全,最新动漫,好看的动漫,日本动漫,动漫排行榜', '为您提供新动漫、好看的动漫排行榜,免费高清在线观看热血动漫、卡通动漫、新番动漫、百合动漫、搞笑动漫、国产动漫、动漫电影等热门动漫。', '动画片', '', '{\"class\":\"\\u60c5\\u611f,\\u79d1\\u5e7b,\\u70ed\\u8840,\\u63a8\\u7406,\\u641e\\u7b11,\\u5192\\u9669,\\u841d\\u8389,\\u6821\\u56ed,\\u52a8\\u4f5c,\\u673a\\u6218,\\u8fd0\\u52a8,\\u6218\\u4e89,\\u5c11\\u5e74,\\u5c11\\u5973,\\u793e\\u4f1a,\\u539f\\u521b,\\u4eb2\\u5b50,\\u76ca\\u667a,\\u52b1\\u5fd7,\\u5176\\u4ed6\",\"area\":\"\\u56fd\\u4ea7,\\u65e5\\u672c,\\u6b27\\u7f8e,\\u5176\\u4ed6\",\"lang\":\"\\u56fd\\u8bed,\\u82f1\\u8bed,\\u7ca4\\u8bed,\\u95fd\\u5357\\u8bed,\\u97e9\\u8bed,\\u65e5\\u8bed,\\u5176\\u5b83\",\"year\":\"2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"TV\\u7248,\\u7535\\u5f71\\u7248,OVA\\u7248,\\u771f\\u4eba\\u7248\"}','','','');
    INSERT INTO `mac_type` VALUES ('5', '资讯', 'zixun', '5', '2', '0', '1', 'type.html', 'show.html', 'detail.html', '', '', '最新影视资讯,电影资讯,娱乐资讯', '本站提供最新电影,电视剧,综艺,动漫的资讯信息,一览无遗', '最新资讯-推荐资讯', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('7', '喜剧片', 'xijupian', '2', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的喜剧片,最新喜剧片,经典喜剧片,国语喜剧片电影', '2021最新喜剧片,好看的喜剧片大全和排行榜推荐,免费喜剧片在线观看和视频在线播放是由本网站整理和收录,欢迎喜剧片爱好者来到这里在线观看喜剧片', '好看的喜剧片-最新喜剧片-经典喜剧片-最新喜剧片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('6', '动作片', 'dongzuopian', '1', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的动作片,最新动作片,经典动作片,国语动作片电影', '2021最新动作片,好看的动作片大全和排行榜推荐,免费动作片在线观看和视频在线播放是由本网站整理和收录,欢迎动作片爱好者来到这里在线观看动作片', '好看的动作片-最新动作片-经典动作片-最新动作片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('8', '爱情片', 'aiqingpian', '3', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的爱情片,最新爱情片,经典爱情片,国语爱情片电影', '2021最新爱情片,好看的爱情片大全和排行榜推荐,免费爱情片在线观看和视频在线播放是由本网站整理和收录,欢迎爱情片爱好者来到这里在线观看爱情片', '好看的爱情片-最新爱情片-经典爱情片-最新爱情片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('9', '科幻片', 'kehuanpian', '4', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的科幻片,最新科幻片,经典科幻片,国语科幻片电影', '2021最新科幻片,好看的科幻片大全和排行榜推荐,免费科幻片在线观看和视频在线播放是由本网站整理和收录,欢迎科幻片爱好者来到这里在线观看科幻片', '好看的科幻片-最新科幻片-经典科幻片-最新科幻片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('10', '恐怖片', 'kongbupian', '5', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的恐怖片,最新恐怖片,经典恐怖片,国语恐怖片电影', '2021最新恐怖片,好看的恐怖片大全和排行榜推荐,免费恐怖片在线观看和视频在线播放是由本网站整理和收录,欢迎恐怖片爱好者来到这里在线观看恐怖片', '好看的恐怖片-最新恐怖片-经典恐怖片-最新恐怖片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('11', '剧情片', 'juqingpian', '6', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的剧情片,最新剧情片,经典剧情片,国语剧情片电影', '2021最新剧情片,好看的剧情片大全和排行榜推荐,免费剧情片在线观看和视频在线播放是由本网站整理和收录,欢迎剧情片爱好者来到这里在线观看剧情片', '好看的剧情片-最新剧情片-经典剧情片-最新剧情片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('12', '战争片', 'zhanzhengpian', '7', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的战争片,最新战争片,经典战争片,国语战争片电影', '2021最新战争片,好看的战争片大全和排行榜推荐,免费战争片在线观看和视频在线播放是由本网站整理和收录,欢迎战争片爱好者来到这里在线观看战争片', '好看的战争片-最新战争片-经典战争片-最新战争片推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('13', '国产剧', 'guochanju', '1', '1', '2', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('14', '港台剧', 'gangtaiju', '2', '1', '2', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的港台剧,最新港台剧,经典港台剧,国语港台剧电影', '2021最新港台剧,好看的港台剧大全和排行榜推荐,免费港台剧在线观看和视频在线播放是由本网站整理和收录,欢迎港台剧爱好者来到这里在线观看港台剧', '好看的港台剧-最新港台剧-经典港台剧-最新港台剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('15', '日韩剧', 'rihanju', '3', '1', '2', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的日韩剧,最新日韩剧,经典日韩剧,国语日韩剧电影', '2021最新日韩剧,好看的日韩剧大全和排行榜推荐,免费日韩剧在线观看和视频在线播放是由本网站整理和收录,欢迎日韩剧爱好者来到这里在线观看日韩剧', '好看的日韩剧-最新日韩剧-经典日韩剧-最新日韩剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('16', '欧美剧', 'oumeiju', '4', '1', '2', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的欧美剧,最新欧美剧,经典欧美剧,国语欧美剧电影', '2021最新欧美剧,好看的欧美剧大全和排行榜推荐,免费欧美剧在线观看和视频在线播放是由本网站整理和收录,欢迎欧美剧爱好者来到这里在线观看欧美剧', '好看的欧美剧-最新欧美剧-经典欧美剧-最新欧美剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('17', '公告', 'gonggao', '1', '2', '5', '1', 'type.html', 'show.html', 'detail.html', '', '', '最新公告-最新公告推荐', '2021最新公告,公布本站最新发展动态', '最新公告-最新公告推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
    INSERT INTO `mac_type` VALUES ('18', '头条', 'toutiao', '2', '2', '5', '1', 'type.html', 'show.html', 'detail.html', '', '', '', '', '', '', '','','','');


    INSERT INTO `mac_type` VALUES ('19', '冒险片', 'maoxianpian', '8', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的冒险片', '', '', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('20', '动画片', 'maoxianpian', '9', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的动画片', '', '', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('21', '其他', 'qita', '10', '1', '1', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的动画片', '', '', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');


    INSERT INTO `mac_type` VALUES ('22', '其他', 'qita', '5', '1', '2', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');


    INSERT INTO `mac_type` VALUES ('23', '国产综艺', 'guochanzongyi', '1', '1', '3', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('24', '日韩综艺', 'rihanzongyi', '2', '1', '3', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('25', '欧美综艺', 'oumeizongyi', '3', '1', '3', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('26', '其他', 'qita', '4', '1', '3', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');


    INSERT INTO `mac_type` VALUES ('27', '国产动漫', 'guochandongman', '1', '1', '4', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('28', '日韩动漫', 'rihandongman', '2', '1', '4', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('29', '欧美动漫', 'oumeidongman', '3', '1', '4', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');

    INSERT INTO `mac_type` VALUES ('30', '其他', 'qita', '4', '1', '4', '1', 'type.html', 'show.html', 'detail.html', 'play.html', 'down.html', '好看的国产剧,最新国产剧,经典国产剧,国语国产剧电影', '2021最新国产剧,好看的国产剧大全和排行榜推荐,免费国产剧在线观看和视频在线播放是由本网站整理和收录,欢迎国产剧爱好者来到这里在线观看国产剧', '好看的国产剧-最新国产剧-经典国产剧-最新国产剧推荐', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');


    INSERT INTO `mac_type` VALUES ('31', '短剧', 'duanju', '6', '1', '0', '1', 'type.html', 'show.html', 'detail.html', '', '', '最新影视资讯,电影资讯,娱乐资讯', '本站提供最新电影,电视剧,综艺,动漫的资讯信息,一览无遗', '最新资讯-推荐资讯', '', '{\"class\":\"\",\"area\":\"\",\"lang\":\"\",\"year\":\"\",\"star\":\"\",\"director\":\"\",\"state\":\"\",\"version\":\"\"}','','','');
  4. 最后就可以开始采集了

  5. 其他

mengya采集插件下载
EZ聚合资源采集插件v10
uniappCMS