Observable.prototype.debug = function(message: any) { return this.do( (next) => { if(!environment.production) { console.log(message, next); } }, (err)... ...
分类:
Web程序 时间:
2017-01-25 17:44:42
阅读次数:
343
参考文章:http://www.xuliangwei.com/xubusi/422.htmlhttps://open.mesosphere.com/getting-started/install/#master-setuphttps://www.digitalocean.com/community/tutorials/how-to-configure-a-production-ready-mesosphere-cluster-on-ubuntu-14-04安装环境:3台server192..
分类:
其他好文 时间:
2017-01-19 13:13:17
阅读次数:
668
BUG描述:$ is not defined 没有加载jquery成功 原因:Yii2.0将JS代码默认加载页面加载后 解决方案: 第一种方案:最简单方法是在 assets\AppAsset.php 中加上,页面前加载 第二种方案:But in production you usually want ...
分类:
其他好文 时间:
2017-01-12 23:06:07
阅读次数:
267
production环境中iptables常用参数配置 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任。 我相信在实际生产环境中有很多运维的兄弟跟我一样,很少用到iptables的这个命令。因为大家的服务器的防火墙都是关闭的,但是如果你的 服务器是有公网IP的话就会面临各种安全的问题 ...
分类:
其他好文 时间:
2017-01-06 14:12:50
阅读次数:
134
? 标准化运行环境 ,如无特殊情况 ,线上业务的虚拟机 KVM或docker配置一样 ? 标准化运行容器如Tomcat ? 标准化环境标识 ,如每台机器固定路径的appenv文件 ,env=production ,文件内容标识机器属于什么环境如线上环境、测试环境 ? 标准化应用名称规范 ,每个应用有 ...
分类:
其他好文 时间:
2017-01-06 11:15:32
阅读次数:
183
<!DOCTYPE html><html class=''> <head><script src='//production-assets.codepen.io/assets/editor/live/console_runner-5710c30fb566082d9fcb6e7d97ee7e3f2a3 ...
分类:
移动开发 时间:
2017-01-05 11:47:32
阅读次数:
289
问题信息详细: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.p ...
分类:
编程语言 时间:
2017-01-03 18:58:26
阅读次数:
215
前几天,一台Oracle数据库(Oracle Database 10g Release 10.2.0.4.0 - 64bit Production)监控出现"PMON failed to acquire latch, see PMON dump"错误,连接数据库出现短暂异常,告警日志中具体错误如下所... ...
分类:
其他好文 时间:
2016-12-23 14:23:57
阅读次数:
380
最近公司旧的git出点问题,需要把原来Git服务器的数据迁移到新服务器.这里对迁移过程做个简单的记录。1.备份原GIT服务器的数据gitlab-rakegitlab:backup:createRAILS_ENV=production备份后的文件一般是位于/var/opt/gitlab/backups下,文件名如1481886762_gitlab_backup.tar2.新..
分类:
其他好文 时间:
2016-12-16 23:31:40
阅读次数:
313
php安装完成后,并不能直接使用,需要进行一些配置拷贝php配置文件[root@ly-linuxphp-5.6.28]#cpphp.ini-production/usr/local/php/etc/php.ini配置apache[root@ly-linuxphp-5.6.28]#vim/usr/local/apache2/conf/httpd.conf<Directory/>OptionsFollowSymlLinksAllowOverr..
分类:
Web程序 时间:
2016-12-16 01:56:40
阅读次数:
196