备注:redhat 6 系列OS安装步骤一致。 此处安装redhat 6.5 64位版本,即rhel-server-6.5-x86_64-dvd.iso 一、安装RHEL 6.5 用光盘成功引导系统,会出现下面的界面 界面说明: Install or upgrade an existing syst... ...
分类:
其他好文 时间:
2017-04-01 13:19:44
阅读次数:
209
刚才给views.py文件添加了一个路由地址: 没想到如题错误:AssertionError: View function mapping is overwriting an existing endpoint function: admin.main 我没怎么看错误信息,直接拿着复制百度去了..- ...
分类:
移动开发 时间:
2017-03-31 13:04:51
阅读次数:
1525
这次的任务是在路径代表目录而不是文件时展示目录内容列表。如何处理一个url(统一资源定位符)呢?这次我们先定义了一个类列表,以后可以将各个可能用到的处理方法放入列表中省去了在源码中加if,增强了代码的复用性 然后依然是三种上节中有的情况:existing_file,no_file,always_fa ...
分类:
编程语言 时间:
2017-03-22 00:45:28
阅读次数:
222
查看,修改主机名hostname查看主机名,临时更改主机名,永久更改主机名vi/etc/sysconfig/network将HOSTNAME字段修改成用户所需主机名保存退出即可,例如:查看主机名临时修改主机名永久修改主机名(vi/etc/sysconfig/network)更改HOSTNAME更改后可以使用hostname主机名进行生..
分类:
系统相关 时间:
2017-03-21 23:12:18
阅读次数:
222
http://stackoverflow.com/questions/4855561/difference-between-git-remote-add-and-git-clone ...
分类:
其他好文 时间:
2017-03-21 12:25:38
阅读次数:
194
安装有常用有:远程网络安装、U盘安装、光盘安装三种方式,以下为光盘进行安装1.出现引导界面,选择安装或升级现有系统,选择第一个安装系统。Installorupgradeanexistingsystem安装或升级现有的系统installsystemwithbasicvideodriver安装过程中采用基本的显卡驱动Rescueinsta..
分类:
系统相关 时间:
2017-03-20 10:54:22
阅读次数:
179
https://www.pythonanywhere.com Deploying an existing Django project on PythonAnywhere Deploying a Django project on PythonAnywhere is a lot like runni ...
分类:
编程语言 时间:
2017-03-17 16:17:01
阅读次数:
665
Working with patches Prepare quilt configuration Adding a new patch Edit an existing patch Adding or editing kernel patches Adding or editing toolchai ...
分类:
其他好文 时间:
2017-03-15 18:57:38
阅读次数:
346
在日常工作中,我们会遇到以下的情况,一个表每日数万级的增长,而查询的数据通常是在本月或今年,以前的数据偶尔会用到,但查询和插入的效率越来越慢,用数据库分区会有助于解决这个问题。关于分区的理论知识网上很多我这里就不在累赘,我从一个实际例子出发,看如何将一个已经运行了很长时间的普通表进行分区。 回到目录 ...
分类:
数据库 时间:
2017-03-14 13:26:21
阅读次数:
200
MongoDB will not create an index on a collection if the index entry for an existing document exceeds the index key limit (1024 bytes). You can however ...
分类:
数据库 时间:
2017-03-04 17:11:05
阅读次数:
549