[root@luozhonghua sbin]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for luozhonghua httpd: Could not reliably determine ...
分类:
Web程序 时间:
2017-06-02 12:38:08
阅读次数:
148
一、如何在生产上部署Django? Django的部署可以有很多方式,采用nginx+uwsgi的方式是其中比较常见的一种方式。 二、uwsgi介绍 uWSGI是一个Web服务器,它实现了WSGI协议、uwsgi、http等协议。Nginx中HttpUwsgiModule的作用是与uWSGI服务器进 ...
分类:
其他好文 时间:
2017-05-27 20:02:17
阅读次数:
1880
近期因为session数量添加,须要调整session,也就是要调整process參数。看是比較简单的一个问题,却遭遇了ORA-27300,ORA-27301。因为这个涉及到了有关内核參数kernel.sem的改动。以下是其详细描写叙述。1、故障现象OS版本号:SUSE Linux Enterpri ...
分类:
其他好文 时间:
2017-05-27 13:28:02
阅读次数:
254
Description There are n walruses standing in a queue in an airport. They are numbered starting from the queue's tail: the 1-st walrus stands at the en ...
分类:
其他好文 时间:
2017-05-25 21:54:18
阅读次数:
246
原题 求二叉树的最大路径和 Given a binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to ...
分类:
其他好文 时间:
2017-05-23 10:17:26
阅读次数:
202
反射的意义:通过字符串获取一个类的方法的内存地址,并调用该方法。 格式:if hasattr(self, 'anAttr') func = getattr(self, 'anAttr') #获取内存地址 func() #调用该方法,等价于anAttr() setattr(x, 'y', v) del ...
分类:
编程语言 时间:
2017-05-21 22:30:54
阅读次数:
288
The starting point of all achievements is desire. 成功的第一步是渴望。 Only you desire for somethings, you can have the motivation to achieve them. Maybe it is ...
分类:
其他好文 时间:
2017-05-21 16:05:14
阅读次数:
196
本文转自:http://www.cnblogs.com/TomGui/p/6438686.html An error occurred while starting the application. .NET Core X64 v4.1.1.0 | Microsoft.AspNetCore.Host ...
分类:
移动开发 时间:
2017-05-19 18:38:21
阅读次数:
4025
package com.po; public class Users { private String username; private String password; public Users(){ } public String getUsername() { return username ...
分类:
Web程序 时间:
2017-05-19 11:46:15
阅读次数:
209
最近对 newlib 中的启动代码 crt0 产生了兴趣,于是就分析了下其代码。crt0 的源码位于 libgloss/arm/crt0.S,为了兼容各种 ARM 架构,crt0.S 中有大量的条件判断宏定义,对于只关心 ARMv7e-M 的我来说很是痛苦。刚好手上有个基于 STM32F412 的 ...
分类:
其他好文 时间:
2017-05-18 01:26:47
阅读次数:
210