随笔分类 -  linux/ubuntu

摘要:转载:http://www.cnblogs.com/kevingrace/p/6137881.html 阅读全文
posted @ 2018-03-02 15:47 spectrelb 阅读(274) 评论(0) 推荐(0)
摘要:转载自 http://php note.com/article/detail/793 阅读全文
posted @ 2018-02-28 16:00 spectrelb 阅读(189) 评论(0) 推荐(0)
摘要:命令 mkdir vp src/{lib/,bin/,doc/{info,product},logs/{info,product},service/deploy/{info,product}} 控制台显示接口 mkdir: created directory 'src' mkdir: created 阅读全文
posted @ 2018-02-05 15:46 spectrelb 阅读(279) 评论(0) 推荐(0)
摘要:Ubuntu sudo 出现unable to resolve host 解决方法 Ubuntu环境, 假设这台机器名字叫abc(机器的hostname), 每次执行sudo 就出现这个警告讯息: sudo: unable to resolve host abc 虽然sudo 还是可以正常执行, 所 阅读全文
posted @ 2018-02-01 13:23 spectrelb 阅读(662) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/simanstar/article/details/9106997 阅读全文
posted @ 2017-09-18 13:49 spectrelb 阅读(163) 评论(0) 推荐(0)
摘要:注意:安装该扩展不要求安装ImageMagick从http://pecl.php.net/package/imagick找到imagick的最新的版本 Linux代码 wget http://pecl.php.net/get/imagick-3.4.3.tgz tar -xzvf imagick-3 阅读全文
posted @ 2017-05-16 14:53 spectrelb 阅读(1810) 评论(0) 推荐(0)
摘要:wget https://pecl.php.net/get/mongodb-1.2.6.tgztar -zxvf mongodb-1.2.6.tgz cd mongodb-1.2.6 /usr/bin/phpize ./configure --with-php-config=/usr/bin/php 阅读全文
posted @ 2017-05-15 14:42 spectrelb 阅读(488) 评论(0) 推荐(0)
摘要:wget https://github.com/phpredis/phpredis/archive/2.2.4.tar.gztar -zxvf 2.2.4.tar.gz cd phpredis-2.2.7 # 进入 phpredis 目录 /usr/bin/phpize # php安装后的路径 ./ 阅读全文
posted @ 2017-05-15 14:40 spectrelb 阅读(405) 评论(0) 推荐(0)
摘要:下载Composer: 安装Composer: 设置全局命令: 查看是否安装与设置成功: 阅读全文
posted @ 2017-05-15 14:37 spectrelb 阅读(1104) 评论(0) 推荐(0)
摘要:想要编译安装PHP首先需要安装对应的编译工具。 Ubuntu上使用如下命令安装编译工具和依赖包: wget http://php.net/get/php-5.6.30.tar.gz tar -zxvf php-5.6.30 cd php-5.6.30 ./configure --prefix=/us 阅读全文
posted @ 2017-05-15 14:36 spectrelb 阅读(151) 评论(0) 推荐(0)
摘要:http://www.nginx.cn/install ubuntu和debain下的apt方式安装软件很方便,特别是对于新手安装和卸载nginx。 由于nginx不能动态添加模块,所以会经常安装和卸载、升级。 apt安装nginx方法sudo apt-add-repository ppa:ngin 阅读全文
posted @ 2017-05-10 16:18 spectrelb 阅读(601) 评论(0) 推荐(0)
摘要:首先把VM设置成上面那样 在ubuntu里面安装ssh http://jingyan.baidu.com/article/ff411625b20a0512e48237b9.html 阅读全文
posted @ 2017-05-10 15:18 spectrelb 阅读(327) 评论(0) 推荐(0)
摘要:crontab -e 查看并且编辑定时脚本命令 每一分钟执行一次脚本,并且写入log */1 * * * * php /var/www/api/cron/Mission/setMeetingDone.php >> /var/log/cron_log/setMeetingDone rm -rf 删除文 阅读全文
posted @ 2017-05-02 11:21 spectrelb 阅读(282) 评论(0) 推荐(0)