- 博客(24)
- 资源 (17)
- 收藏
- 关注
转载 How to Install PostgreSQL 9.5 on CentOS/RHEL 7/6/5 and Fedora 23/22
PostgreSQL 9.5 Released. PostgreSQL is an open source object-relational, highly scalable, SQL compliant database management system. PostgreSQL is developed at the University of California at Berkele
2016-12-14 14:05:58 511
原创 ubuntu 安装ssh openssh-server
安装过程出错:sudo apt-get install openssh-server输出如下错误:Reading package lists... DoneBuilding dependency tree Reading state information... DoneSome packages could not be installed. Th
2016-12-31 23:27:56 1879
原创 阿里云挂载云盘
参考文章: http://jingyan.baidu.com/article/27fa73269c9ffe46f8271fda.html最后做到自动挂载:根据自己的情况作修改: mkfs.ext4 /dev/xvdb echo '/dev/vdb1 /data1 ext3 defaults 0 0' >> /etc/fstab mount -a
2016-12-29 17:04:22 5096
转载 EnvironmentError: mysql_config not found
sudo apt-get install libmysqlclient-devapt-get install libmysqlclient-dev python-dev
2016-12-28 14:13:35 286
原创 A dark variant of the 'Cranefly' theme
from : http://misago-project.org/thread/a-dark-variant-of-the-cranefly-theme-276/A dark variation of the Misago Cranefly theme (this was released over 2 years ago, I'm not sure how w
2016-12-26 15:43:15 500
转载 使用pypi镜像源加速第三方库在线安装
用easy_install和pip来安装第三方库很方便 它们的原理其实就是从Python的官方源pypi.python.org/pypi 下载到本地,然后解包安装。 不过因为某些原因,访问官方的pypi不稳定,很慢甚至访问不了。 跟ubuntu的apt和centos的yum有各个镜像源一样,pypi也有。 pipy国内镜像目前有:http://pypi.douban.c
2016-12-24 08:39:12 402
原创 django1.9数据更新
models更改之前,同步到数据库中:新建sql文件:python manage.py makemigrations更新到数据库中:python manage.py migrate
2016-12-23 14:43:54 801
原创 Stash Git error “fatal: remote error: CAPTCHA required”
在用stash或者bitbucket时,git pull可能出现标题所示的错误: 解决办法:1.在网页界面上退出后重新登录试试2. The problem was a malformed URL: it should behttps://[email protected]/scm/~username/project.git instead of s
2016-12-23 10:34:17 6550 1
转载 Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied Is a mongod instanc
64down voteacceptedI was having the same problem on a Ubuntu ec2 instance. I was following this amazon article on page 7:http://d36cz9buwru1tt.cloudfront.net/AWS_NoSQL_MongoDB.pdfM
2016-12-21 11:07:08 2805
转载 Django i18n国际化
最近在看Django的国际化,看了很多贴子,终于有了比较系统的认识,在这里做一下简单总结。先来看两个概念:国际化:是指为了该软件在任何地区的潜在使用而进行程序设计的过程。 它包括了为将来翻译而标记的文本(比如用户界面要素和错误信息等)、日期和时间的抽象显示以便保证不同地区的标准得到遵循、为不同时区提供支持,并且一般确保代码中不会存在关于使用者所在地区的假设。 您会经常看到国际化被缩
2016-12-19 01:52:13 1447
转载 解决ssh的"Write failed: Broken pipe"问题
问题场景服务器环境:阿里云 Linux CentOS 主机客户端:Mac OSX Terminal问题现象用 ssh 命令连接服务器之后,如果一段时间不操作,再次进入 Terminal 时会有一段时间没有响应,然后就出现错误提示:Write failed: Broken pipe只能重新用 ssh 命令进行连接。解决方法方法一:如
2016-12-17 21:14:43 2695
转载 pycharm out of memory的解决方法
版权归作者所有,任何形式转载请联系作者。作者:petanne(来自豆瓣)来源:https://www.douban.com/note/524704389/分配给pycharm的内存不够了。编辑pycharm配置文件D:\Program Files\PyCharm 4.5.4\bin\pycharm.exe.vmoptionsD:\Program Files\PyCh
2016-12-15 10:21:29 14348
转载 postgresql常用命令
1 命令行登录数据库有两种方式,一是直接在系统shell下执行psql命令;而是先进入psql环境,然后再连接数据库。下面分别给出实例:(1)直接登录执行命令:psql -h 172.16.35.179 -U username -d dbname ,其中username为数据库用户名,dbname为要连接的数据库名,执行后提示输入密码如下:Password for user
2016-12-14 14:17:59 384
原创 psql: FATAL: Ident authentication failed for user “postgres”
django后台用的是postgresql数据库,但是启动是的时候报如下错误:psql: FATAL: Ident authentication failed for user “postgres”这个一般是pg_hba.conf文件中未设置 成功 ,方法如下:先找出pg_hba.conf的位置 find / -name pg_hba.con
2016-12-14 13:36:43 17309 1
转载 安装psycopg2出错:Error:pg_config executable not found的解决
1安装psycopg2PostgreSQL database adapter for the Python programming language. Its main features are the complete implementation of the Python DB API 2.0 specification and the thread safety (severa
2016-12-14 10:53:09 9078
原创 Could not resolve URL for hyperlinked relationship using view name
使用djangorestframwork时出现下面的问题Could not resolve URL for hyperlinked relationship using view name mtool:api:wafsetting-detail这里应该查找url的路径对不对:如下url(r'^app/', include('app.urls', n
2016-12-08 18:16:54 4010
转载 meteor安装太慢问题
今天想在centos下安装meteor,但是curl install.meteor.com | sh这个命令太不给力了,下载非常之慢,实在不能忍就去https://install.meteor.com/看了看,一眼就能明白是个shell脚本,发现是这个地址下载慢一起的: https://d3sqy0vbqsdhku.cloudfront.net/packages-b
2016-12-06 17:43:21 2077
转载 SQLite Can't open — Meteor create app
主要就是权限的问题: down voteacceptedIt may be a permission error.In order to fix this issue, you could try to adjust the permission by running this command:sudo chown -R $USE
2016-12-06 17:39:10 510
转载 hubot安装初探
来自info的介绍Hubot作为GitHub的开源chatbot,正在彻底又革命的改变GitHub的运维工作:自动部署、报表、监控、精简配置、发推,还有许多其他功能一起打造并增强着GitHub的远程工作文化。 我们通过GitHub持续扩展的Hubot指令库来规范程序与服务器之间交互方式。这些通过指令实现的交互方式,可以帮助我们了解其他GitHub员工的工作状态,并且提高新员工学习一些基本工作的
2016-12-03 06:50:42 2867
原创 Deploying Rocket.Chat on Ubuntu
Recommended Fastest Server Install via SnapsThis is the easiest way for you to get your server up and running on all supported Linux (Ubuntu, etc).Installing using:sudo snap install rocketch
2016-12-03 06:24:37 1167
原创 ubuntu 上安装最新的postgresql 9.6版本
For any Ubuntu version you need to can do this by the official PostgreSQL Apt Repository.Ubuntu Xenial (16.04)sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg
2016-12-01 17:29:03 6830
原创 postgresql relate
create user:CREATE USER davide WITH PASSWORD 'jw8s0F4';ExamplesTo create a new database:CREATE DATABASE lusiadas; To create a database sales owned by user salesapp with a
2016-12-01 15:36:37 470
原创 ubuntu上跑python连接pg,报错 ImportError: No module named psycopg2
sudo apt-get build-dep python-psycopg2
2016-12-01 11:46:32 4997
原创 安装python-ldap fatal error: lber.h: No such file or directory
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-devsudo apt-get install -y python-dev libldap2-dev libsasl2-dev libssl-devsudo yum install python-develsudo yum install openldap-
2016-12-01 09:36:20 24293 1
libdmtx库 pydmtx Libdmtx php_dmtx
2013-12-12
ImageMagick-6.8.7-6.tar.gz
2013-11-22
oracle连接MYSQL的库
2010-12-28
facelets example program 编程 例子 JavaJazzUp.pdf
2010-01-21
ajax4jsf-1.0.6.jarajax4jsf-1.0.6.jar
2009-12-13
myfaces的jar包,是官网最新的。
2009-07-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人