会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
fover的天地
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2015年12月25日
ubuntu 14 下使用 crontab 执行php脚本
摘要: 先编辑一个php文件放在/usr/www/crontab.phpchmod +x /usr/www/crontab.php 可执行文件crontab -e 输入计划任务执行脚本* * * * * /usr/local/php/bin/php -f /mnt/hgfs/sharefile/wwwroo...
阅读全文
posted @ 2015-12-25 09:59 fover的天地
阅读(308)
评论(0)
推荐(0)
2015年12月18日
nginx.conf
摘要: #user nobody;worker_processes 1;error_log /usr/local/nginx/logs/error.log debug;#error_log logs/error.log notice;#error_log logs/error.log info...
阅读全文
posted @ 2015-12-18 17:46 fover的天地
阅读(174)
评论(0)
推荐(0)
php-fpm.conf
摘要: [global]pid = /usr/local/php/var/run/php-fpm.piderror_log = /usr/local/php/var/log/php-fpm.loglog_level = notice[www]#listen = /tmp/php-cgi.socklisten...
阅读全文
posted @ 2015-12-18 17:45 fover的天地
阅读(136)
评论(0)
推荐(0)
/etc/init.d/ nginx脚步启动文件
摘要: #! /bin/sh# chkconfig: 2345 55 25# Description: Startup script for nginx webserver on Debian. Place in /etc/init.d and# run 'update-rc.d -f nginx defa...
阅读全文
posted @ 2015-12-18 17:42 fover的天地
阅读(3124)
评论(0)
推荐(0)
/etc/init.d/ 文件夹下的php-fpm脚步文件
摘要: #! /bin/sh### BEGIN INIT INFO# Provides: php-fpm# Required-Start: $remote_fs $network# Required-Stop: $remote_fs $network# Default-Sta...
阅读全文
posted @ 2015-12-18 17:40 fover的天地
阅读(1980)
评论(1)
推荐(1)
2015年12月6日
使用Websocket+Swoole+CodeIngiter做聊天室
摘要: 前端H5代码: Title发送后台CI代码:用户先登录,登录后,进入chat/index页面include_once('Auth.php');class Chat extends Auth { public function __construct(){ paren...
阅读全文
posted @ 2015-12-06 16:18 fover的天地
阅读(1626)
评论(0)
推荐(0)
2015年11月22日
Ubuntu 14 下配置 svn服务器 svnserve
摘要: Ubuntu 下 首先安装 subversionapt-get install subversion创建文件夹 mkdir /mnt/hgfs/sharefile/wwwroot/svn建立版本库 svnadmin create /mnt/hgfs/sharefile/wwwroot/svnroot...
阅读全文
posted @ 2015-11-22 20:46 fover的天地
阅读(296)
评论(0)
推荐(0)
lnmp1.2 开启pathinfo模式
摘要: 默认的lnmp没有开启pathinfo模式,但很多框架需要用到。cd /usr/local/nginx/confvim enable-php.conflocation ~ [^/]\.php(/|$){ # comment try_files $uri =404; to enable pathin...
阅读全文
posted @ 2015-11-22 19:51 fover的天地
阅读(158)
评论(0)
推荐(0)
2015年11月19日
基于thinkphp 的mysql主从配置
摘要: thinkphp 3.2.3 配置了mysql主从,thinkphp运行于win 7 ,mysql在虚拟机下。主Ubuntu 14 192.168.116.206从Centos 7 192.168.116.205测试数据库 testdb主从db配置php业务逻辑最终示例!完美!~
阅读全文
posted @ 2015-11-19 17:17 fover的天地
阅读(677)
评论(0)
推荐(0)
Centos 下 can't connect mysql server 113
摘要: 查看了下mysql的my.cnf配置文件,bind_address 和 skip_networking 都注销了,root用户的host也设置为%了,但是就是一直无法远程连接,出现113的问题。网上说是防火墙的问题,于是关闭防火墙service firewalld stop (centos 7)问题...
阅读全文
posted @ 2015-11-19 16:16 fover的天地
阅读(306)
评论(0)
推荐(0)
1
2
下一页
公告
点击右上角即可分享