
linux
kkdgdfgdf
我 不x想 写
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux crobtab
第1列分钟1~59 第2列小时1~23(0表示子夜) 第3列日1~31 第4列月1~12 第5列星期0~6(0表示星期天) 第6列要运行的命令 下面是crontab的格式: 分 时 日 月 星期 要运行的命令 这里有crontab文件条目的一些例子: 30 21 * * * /usr/local/apache/bin/apachectl restart 上面的例子表转载 2015-07-13 10:51:07 · 582 阅读 · 0 评论 -
Ubuntu 14.04 下 MongoDB 服务器 和 PHP MongoDB Driver 安装
MongoDB 是非常有名的 NOSQL 数据库. 下面是 Ubuntu 14.04 下 MongoDB 的安装, 同时还有针对 PHP 的配置 (driver 安装等), 此方法适用于 Homestead. 安装 MongoDB 1. 添加源 sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7转载 2015-08-28 19:32:15 · 862 阅读 · 0 评论 -
HP-FPM: Socket vs TCP/IP and sysctl tweaking
Tweaking FPM config You may also need to tweak PHP-FPM config to match new sysctl.conf settings. Open PHP-FPM pool config file: vim /etc/php5/fpm/pool.d/www.conf Look for line: ;listen.back转载 2015-08-03 19:13:21 · 377 阅读 · 0 评论 -
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
今天在测试环境使用yum安装,遇到一个问题: Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 处理很简单,修改文件“/etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。转载 2015-09-10 09:15:46 · 466 阅读 · 0 评论 -
How to Change default MySQL Data Directory in Linux111
Instruction’s to Change Default MySQL Data Directory: Follow the below steps to make all the changes. In some cases service name, default data directory or MySQL configuration file path change. So转载 2015-09-10 08:41:08 · 407 阅读 · 0 评论