04 2012 档案
摘要:本文是转载,原文地址:http://blog.51yip.com/linux/1176.html一,什么的是apt-get高级包装工具(英语:Advanced Packaging Tools,简称:APT)是Debian及其衍生发行版(如:ubuntu)的软件包管理器。APT可以自动下载,配置,安装二进制或者源代码格式的软件包,因此简化了 Unix系统上管理软件的过程,apt-get命令一般需要root权限执行,所以一般跟着sudo命令。它根yum ,pacman,installpkg等性质差不多,是系统软件的管理工具。会用其中一种基本上都会用了。二,apt-get中文参数用法:apt-get
阅读全文
摘要:lftp是一个很稳定很好用的命令行ftp工具。get命令用来下载文件,却无法下载文件夹。如果要上传和下载文件夹,就要用到mirror命令了。 简单示例: 下载:mirror rdir ldir // 将远程目录rdir下载到本地目录ldir 上传:mirror -R ldir rdir // 将本地目录ldir上传到远程目录rdir 下面是help mirror的帮助信息:lftp :~> help mirror Usage: mirror [OPTS] [remote [local]]Mirror specified remote directory to local d...
阅读全文
摘要:如果直接在python shell使用django template有可能会出错,具体情况如下: 代码:1 from django import template2 t = template.Template('My name is {{ name }}.') 出错: 1 Traceback (most recent call last): 2 File "<pyshell#4>", line 1, in <module> 3 t = template.Template('My name is {{ name }}.'
阅读全文
摘要:在windows 7系统上使用setup.py install的方法安装好django,然后在执行执行django-admin.pystartprojectmysite 新建站点的时候出现以下报错信息Traceback (most recent call last): File "G:\python\python27\Scripts\django-admin.py", line 2, in <module> from django.core import managementImportError: No module named django.core具体原因
阅读全文

浙公网安备 33010602011771号