创建数据迁移 使用 Artisan 命令行的 migrate:make 命令创建一个迁移:(在命令行模式下使用) php?artisan?migrate:make?create_users_table ? ? ? ? ? ? 所有的迁移都被存放在 app/database/migrations ...
分类:
数据库 时间:
2015-07-03 16:18:35
阅读次数:
329
内核编译:Step 1:配置内核编译选项。make menuconfigOptional Step :排除编译结果文件(.o)等之间的依赖性。make mrproperOptional Step:清除历史编译结果。make cleanStep 2:编译内核。make bzImage #编译内核make modules #编译各内核模块,如驱动等。make modules_install #将编译好的...
分类:
系统相关 时间:
2015-07-03 12:31:19
阅读次数:
186
1.安装准备(1)下载apache安装包http://archive.apache.org/dist/httpd/2.下载安装apache依赖关联包(共四个:apr,apr-iconv,apr-util,pcre)http://archive.apache.org/dist/apr/(1)安装apr#tarzxvfapr-1.4.6.tar.gz#cdapr-1.4.6#./configure#make#makeinstall(2)安装apr-ic..
分类:
Web程序 时间:
2015-07-03 00:31:10
阅读次数:
160
一、环境描述1、系统:CentOS 6.4 i386 (min)2、登录用户:root3、版本:CMake 2.8.10.24、虚拟机:Oracle VM VirtualBox二、安装步骤步骤一、安装gcc等必备程序包(已安装则略过此步)yum install -y gcc gcc-c++ make...
分类:
系统相关 时间:
2015-07-02 22:22:55
阅读次数:
753
When we cross compiling coreutils, there is an problem of generating man pages, because the source script use the binaries generated by make process to produce man pages, but the cross compiled binarie...
分类:
其他好文 时间:
2015-07-02 19:34:32
阅读次数:
117
升级linux内核(2.6.32->3.10.81),安装docker1.内核升级环境准备
#查看已经安装的和未安装的软件包组,来判断我们是否安装了相应的开发环境和开发库;
yum grouplist
#一般是安装这两个软件包组,这样做会确定你拥有编译时所需的一切工具
yum groupinstall "Development Tools"
#你必须这样才能让 make *con...
分类:
系统相关 时间:
2015-07-02 17:42:38
阅读次数:
287
DECLARE
CURSOR cur_lcy_test IS
SELECT rcta.customer_trx_id, rcta.trx_number, rcta.trx_date
FROM ra_customer_trx_all rcta
WHERE rcta.customer_trx_id = 11993;
--
rec_lcy_test cur_lc...
分类:
数据库 时间:
2015-07-02 17:37:13
阅读次数:
189
To make sure you don’t have any more hardcoded values in your code, create properties. This way, if you ever need to change these values, you only hav...
分类:
编程语言 时间:
2015-07-02 13:38:04
阅读次数:
153
Assimp reports no scene in package:
Something like: sed -i 's/^solid/dilos/' /path/to/your/file (don't forget to make backups).
之后再重新在moveit setup assistant 中对self-collisions重新加载,保存moveit_config...
分类:
其他好文 时间:
2015-07-02 12:21:52
阅读次数:
743