![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
萧枫1
道之所在,心之所向。
展开
-
fidder捉包 配置
把证书导出之后需要点击安装如果要监控手机模拟器数据需要把证书拖到sdcard里面安装wifi也要设置成对应的ip和端口...原创 2019-09-26 17:41:31 · 89 阅读 · 0 评论 -
前后台分离 nginx反向代理配置
server { listen 80; server_name url1; root /dist; index index.html; error_page 404 /index.html; location /api/{ expires 12h; if ($request_uri ~* "(ph...原创 2019-09-25 19:20:29 · 275 阅读 · 0 评论 -
elasticsearch 安装历程
elasticsearch 安装历程elasticsearch 安装:下载页:https://www.elastic.co/downloads/elasticsearch#ga-releasewget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.5.4.tar.gztar -zxvf elas...原创 2019-08-09 15:52:53 · 108 阅读 · 0 评论 -
Linux安装composer
curl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/local/bin/composer 移动到bin,可以全局使用。laravel镜像composer config -g repo.packagist composer https://packagist.laravel-china.org...原创 2019-06-04 15:25:28 · 78 阅读 · 0 评论 -
Mysql主从配置
主数据库:192.168.1.1从数据库:192.168.1.2注意事项确保主数据库的mysql能够给外网访问,也就是使用Navicat等软件能够连接的上才行。如果使用宝塔就要到端口那里放行3306端口主数据库配置:1. 创建一个用户每个slave使用标准的MySQL用户名和密码连接master。进行复制操作的用户会授予REPLICATION SLAVE权限。用户名的密码都会...原创 2019-06-02 18:36:09 · 197 阅读 · 0 评论 -
tomcat重启
1. 查找tomcatsudo find / -name *tomcat*2.cd 到tomcat/bin使用Tomcat关闭命令./shutdown.sh查看Tomcat是否以关闭ps -ef|grep java*如果你想直接干掉Tomcat,你可以使用kill命令,直接杀死Tomcat进程kill -9 7010最后,启动Tomcat./s...原创 2019-05-30 11:47:54 · 5048 阅读 · 0 评论 -
php-fpm设置
一:系统环境 1 2 3 4 [machao@aiye log]$ cat/etc/redhat-release CentOS Linux release7.3.1611(Core) [machao@aiye log]$ uname-i x86_64 内存:64G 二:php-error.log路径...转载 2019-05-04 21:55:03 · 150 阅读 · 0 评论 -
swoole和hiredis库安装
到swoole官网下载相应版本的源码包,解压。使用phpizp生成configure: /data/server/php/bin/phpize (PHP的phpize地址)hiredis库安装 git clone https://github.com/redis/hiredis.gitmakesudo make installsudo ldconfig编译swoole...原创 2019-01-09 23:04:46 · 343 阅读 · 0 评论 -
centos7笔记
1.查看ip:ifconfigip addr 回环ip2.vi/etc/sysconfig/network-scripts/ifcfg-xxyum install net-tools 安装工具4.查看centos版本:cat /etc/redhat-release5.wget 下载的工具6.替换源:http://mirrors.163.com/.help/centos.html7....原创 2019-01-08 15:35:26 · 225 阅读 · 0 评论 -
centos7 php编译安装
1.下载源码wget -O php7.tar.gz http://cn2.php.net/get/php-7.1.1.tar.gz/from/this/mirror2.解压php7tar -xvf php7.tar.gz3.进入php目录cd php-7.1.14.安装依赖包yum install libxml2 libxml2-devel openssl openssl-dev...原创 2019-01-08 15:31:44 · 713 阅读 · 0 评论 -
centos7 php安装redis扩展
源码地址:https://github.com/phpredis/phpredis/releases下载对应的版本wget https://github.com/phpredis/phpredis/archive/4.2.0RC2.zip解压:unzip 4.2.0RC2.zip使用phpizp生成configure: /data/server/php/bin/phpize (PHP...原创 2018-11-15 12:09:54 · 117 阅读 · 0 评论