01 2019 档案
摘要:1、使用Homebrew安装MongoDB brew install mongodb 2、MongoDB启动方式 To have launchd start mongodb now and restart at login: brew services start mongodbOr, if you
阅读全文
摘要:原始SQl语句: select ip, group_concat(id) as id from whitelist group by ip; 方法一: Django-ORM实现: 1、创建Concat类: 2、 使用模型类管理器查询 # 待验证 方法二: 当模型查询API不够用时,您可以回退到编写原
阅读全文
摘要:http://www.cnblogs.com/wuxl360/p/5920330.html http://blog.5ibc.net/p/51020.html 需要安装的东西 redis.io/download">redis-3.0.7ruby-1.8.7:sudo apt-get install
阅读全文
摘要:配置ssh 1.输入命令:cd ~/.ssh 然后输入: $ ls 会看到以下内容:authorized_keys2 id_dsa known_hosts config id_dsa.pub 如图: 2.如果没有.ssh文件,这个时候你就要输入命令:$ ssh-keygen -t rsa -C "e
阅读全文
浙公网安备 33010602011771号