wlan network config

In Ubuntu server, there is pre-installed a package 'wpasupplicant', this could help us to config wireless network. If the package is not installed on your server, please note the command below:

阅读全文

pymssql-configration

In common, we use python/Flask or django in frontend, and backend database using Mysql or Hadoop or the other open source database. But in enterprise environment, we need to use MS SQL Server as backend database. After researching on Web, we often can't get the demo runnable directly, usually, they don't provide base condition: how to prepare

阅读全文

uwsgi debug tips

As an engineer, most of time, we are enjoy the time of developing, but whatever you are an adept or A green hand, you must met a lot of headache issues, and the issue would appear one by one; and even most of time, we don't know where is the problem, so how we trouble shot the issue and hit the bull eye fast.

Unfortunately, I met a problem while deploying my python/flask site and a static site to Nginx server.

阅读全文

nginx + flask + uwsgi产品服务器部署配置

$ sudo apt-get install python-pip python-dev build-essential `build-essential不装 pip包安装无法编译,会报错 $ sudo pip install --upgrade pip $ sudo pip install --upgrade virtualenv

阅读全文

uWSGI startup status 'ok' with warning message:

``` root@serverDev:/var/log/uwsgi/app# sudo service uwsgi restart

阅读全文