摘要: 实现1:前端把文件FILE对象切割成N块,ajax发到后台,php接收文件并判断接收了N块时合并所接收的文件块,最后删除文件块 <!doctype html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="wi 阅读全文
posted @ 2019-11-12 14:41 zhyemmmm 阅读(1369) 评论(0) 推荐(0) 编辑
摘要: 1、前提:开启apache重写,并把httpd.conf里的相关的AllowOverride denied改为AllowOverride all 2、重写规则可写在项目根目录的.htaccess文件或直接配在httpd.conf 3、规则的三个重点 4、简单理解:URL和重写规则的正则条件2比较,符 阅读全文
posted @ 2019-07-16 18:01 zhyemmmm 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: 1、下载mysql rpm包 cd /usr/local/src wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm 2、安装下载的rpm包 yum localinstall mysql80-commun 阅读全文
posted @ 2019-06-25 18:11 zhyemmmm 阅读(8899) 评论(0) 推荐(0) 编辑
摘要: 1、下载pythonwget https://www.python.org/ftp/python/3.4.5/Python-3.4.5.tgz 或者去官网下载压缩包 2、安装python3依赖yum install openssl-devel bzip2-devel expat-devel gdbm 阅读全文
posted @ 2019-05-23 11:46 zhyemmmm 阅读(1753) 评论(0) 推荐(0) 编辑
摘要: 1、容器 2、服务 3、swarm 阅读全文
posted @ 2018-06-07 17:57 zhyemmmm 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1、工具: 两台机器 master:192.168.0.1 slave:192.168.0.2 2、master的配置 找到mysql的配置文件,一般centos的是/etc/my.cnf,ubuntu的是/etc/mysql/mysql.conf.d/mysqld.cnf 跳到到[mysqld]下 阅读全文
posted @ 2018-06-01 14:37 zhyemmmm 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1、composer中文网:https://www.phpcomposer.com/ laravel中文网:https://d.laravel-china.org/ 2、composer是的作用是给你的项目管理依赖关系,安装php包,不用手动,laravel和yii框架也通过它安装,要求php版本5 阅读全文
posted @ 2018-03-30 16:45 zhyemmmm 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1、安装nginx: yum install gcc -y yum install -y pcre pcre-devel yum install -y zlib zlib-devel yum install -y openssl openssl-devel yum -y install nginx 阅读全文
posted @ 2018-03-20 14:21 zhyemmmm 阅读(157) 评论(0) 推荐(0) 编辑
摘要: svn服务器搭建:https://www.linuxidc.com/Linux/2017-05/144254.htm SVN版本库中的一个项目:/svn/repositories/test/ 网站目录:/web/test/ 1、现将SVN版本库中的一个项目checkout到网站目录 svn co f 阅读全文
posted @ 2018-03-15 11:22 zhyemmmm 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1、Apache官网 http://httpd.apache.org/download.cgi解压 tar -zxvf httpd-2.4.20.tar.gz创建Ahache的安装目录 mkdir /usr/local/Apache2进入解压后目录下配置 ./configure --prefix=/ 阅读全文
posted @ 2018-03-14 14:53 zhyemmmm 阅读(145) 评论(0) 推荐(0) 编辑