会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
day959
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2020年2月16日
thinkphp3.2 修改日志目录位置
摘要: 修改文件:ThinkPHP/ThinkPHP.php
阅读全文
posted @ 2020-02-16 14:04 day959
阅读(1107)
评论(0)
推荐(0)
2019年12月18日
阿里云服务器挂载新硬盘
摘要: 执行“fdisk -S 56 /dev/xvdb”命令,对数据盘进行分区; 根据提示,依次输入“n”,“p”“1”,两次回车,“wq”,分区就开始了,很快就会完成。 LVM逻辑卷扩容 td新分配了100G空间 查看fdisk -l,如图: 发现是在原有的/dev/vda上进行的扩容 于是执行fdis
阅读全文
posted @ 2019-12-18 13:51 day959
阅读(188)
评论(0)
推荐(0)
2019年11月14日
mysql开启慢查询
摘要: 修改配置文件/etc/my.cnf,在[mysqld]下的下方加入slow_query_log = ONslow_query_log_file = /home/wwwlogs/mysql_slow.loglong_query_time = 1 重启mysql服务:/etc/init.d/mysql
阅读全文
posted @ 2019-11-14 12:53 day959
阅读(140)
评论(0)
推荐(0)
2019年8月24日
微信支付开发流程
摘要: 平台设置:设置两个URL 设置支付密钥 系统:修改wxpay.config.php copy jsapi.php代码 设置notify URL 修改wxpay.jsapipay.php中$baseurl 把paynotifycallback粘贴到wxpay.notify.php中
阅读全文
posted @ 2019-08-24 10:28 day959
阅读(202)
评论(0)
推荐(0)
2019年8月12日
centos LMP扩容pv、vg、lv
摘要: 服务器空间不够,需要在线扩容,之前没有操作过,从网上查了一些资料,步骤记录如下: 第一步:备份现有服务器数据,以防万一; 第二步:创建新的磁盘分区,格式为LVM; fdisk /dev/sda 依次执行:n --> p --> 1 --> 回车 --> 回车 --> t --> 8e --> p -
阅读全文
posted @ 2019-08-12 22:38 day959
阅读(555)
评论(0)
推荐(0)
2019年7月1日
centos 挂载mount局域网共享文件夹
摘要: 挂载 mount -t cifs //IP/share-folder /mnt-point -o username=your-username,passwd=your-password 取消挂载 umount /mnt-point
阅读全文
posted @ 2019-07-01 11:22 day959
阅读(2917)
评论(0)
推荐(0)
2019年5月15日
PHP上传超大文件
摘要: 修改php.ini配置 1、最大上传文件限制 memory_limit post_max_size upload_max_filesize 2、程序超时限制 max_execution_time max_input_time 3、nginx.conf最大文件限制 client_max_body_si
阅读全文
posted @ 2019-05-15 12:54 day959
阅读(481)
评论(0)
推荐(0)
2019年4月26日
centos6.5 PHP开启oci8扩展
摘要: 一、安装oracle-instantclient 下载地址:http://www.oracle.com/technetwork/topics/linuxx86-64soft-092277.html 分别下载 oracle-instantclient18.3-basic-18.3.0.0.0-3.x8
阅读全文
posted @ 2019-04-26 14:59 day959
阅读(399)
评论(0)
推荐(0)
2019年3月16日
修改mysql 3306端口
摘要: 查看服务器所有端口: netstat -ntlp 查看mysql端口 # mysql -u root -p mysql> show global variables like 'port'; 修改mysql端口 /etc/my.cnf
阅读全文
posted @ 2019-03-16 13:37 day959
阅读(853)
评论(0)
推荐(0)
2019年3月1日
linux配置https
摘要: 1、在Nginx的安装目录下创建cert目录,并且将“server.key”和“server.crt”拷贝到nginx的“cert”目录下。 2、配置nginx中conf同目录下的“nginx.conf”文件。 server { listen 443; #注意,这个地方一定要把80端口改成443端口
阅读全文
posted @ 2019-03-01 11:13 day959
阅读(546)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告