会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shijiu520
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
下一页
2017年5月11日
linux 环境下nginx 出现access denied Permission denied
摘要: 一般情况下需要把目录的权限设为运行nginx 和 php-fpm 的用户
阅读全文
posted @ 2017-05-11 09:47 shijiu520
阅读(216)
评论(0)
推荐(0)
2017年5月10日
centos 6.5 编译安装 php7.1
摘要: wget http://am1.php.net/get/php-7.1.4.tar.gz/from/this/mirror tar -xf mirror cd php-7.1.4/ yum -y install libjpeg libjpeg-devel libpng libpng-devel fr
阅读全文
posted @ 2017-05-10 16:15 shijiu520
阅读(2105)
评论(0)
推荐(0)
2017年5月5日
php设计模式之
摘要: 目的: 为了避免使用标准方法(新Foo())创建对象的成本,从而创建一个原型,并克隆它 应用场景: 大量数据 (例如在数据库中通过 ORM 创建100000行数据)
阅读全文
posted @ 2017-05-05 16:01 shijiu520
阅读(136)
评论(0)
推荐(0)
php设计模式之单例模式
摘要: 1.目的: 在应用程序中只有一个该对象的实例,该对象将处理所有调用 2.场景举例: 数据库连接 记录器 应用程序的锁文件 3.UML 图: 4.类和方法:
阅读全文
posted @ 2017-05-05 14:53 shijiu520
阅读(105)
评论(0)
推荐(0)
2017年5月3日
centos6 安装 gearman 并 安装php扩展
摘要: Gearman提供了一个通用的应用程序框架,将工作分发给其他更适合做工作的机器或流程,它允许你并行地进行工作,负载均衡处理,跨语言调用.它可以在各种应用中使用,从高可用性web站点到数据库复制事件的传输.换句话说,它是分布式处理通信的神经系统. Gearman是如何工作的? Gearman的应用程序
阅读全文
posted @ 2017-05-03 14:46 shijiu520
阅读(365)
评论(0)
推荐(0)
2017年4月27日
mysql5.5 多实例找回密码
摘要: 1.关闭mysql killall mysqld 2.启动时加--skip-grant-tables 参数 mysqld_safe --defaults-file=/data/3306/my.cnf --skip-grant-table & 3.登录 mysql -uroot -p -S /data
阅读全文
posted @ 2017-04-27 23:23 shijiu520
阅读(189)
评论(0)
推荐(0)
mysql5.5 单实例找回密码
摘要: 1.停止mysql /etc/init.d/mysqld stop 2.使用--skip-grant-tables 启动mysql ,忽略授权登录认证 mysqld_safe --skip-grant-tables --user=mysql & mysql -u root -p 提示:在启动时加--skip-grant-tables 参数,表示忽略授权表验证 登录后 update my...
阅读全文
posted @ 2017-04-27 23:18 shijiu520
阅读(93)
评论(0)
推荐(0)
mysql5.5 3种修改密码方法
摘要: 修改密码法一: mysqladmin -u root -p'oldpassword' password 'newpassword' 法二(进入数据库改) update mysql.user set password=password('newpassword') where user='root' and host='localhost'; flush privileges; 法三(进入数据...
阅读全文
posted @ 2017-04-27 23:13 shijiu520
阅读(703)
评论(0)
推荐(0)
mongodb3.4.4 启动参数说明
摘要: Options: General options: -h [ --help ] show this usage information --version show version information -f [ --config ] arg ...
阅读全文
posted @ 2017-04-27 10:15 shijiu520
阅读(178)
评论(0)
推荐(0)
2017年4月26日
centos 6.9 安装mongodb3.4.4 二进制包
摘要: 1.下载 wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.4.4.tgz 2.解压 tar -xf mongodb-linux-x86_64-3.4.4.tgz 3.拷贝到相应的软件安装目录 cp -R -n mongodb-
阅读全文
posted @ 2017-04-26 14:57 shijiu520
阅读(190)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
下一页
公告