制作流程:kernel->initrd(busybox)->rootfs(busybox)kernel:直接利用/boot/vmlinuz-`uname-r`内核镜像或手动编译生成initrd:编译busybox,在busybox的基础上建立initrdrootfs:同样在busybox的基础上建立rootfs一、为小系统上的新硬盘建立分区并挂载在宿主机的相应目..
分类:
系统相关 时间:
2015-08-18 12:19:21
阅读次数:
295
后续添加:Keepalived实现mysql故障迁移heartbeat+DRBD+mysql高可用MMM构建mysql高可用集群配置环境[root@wdds_1~]#uname-aLinuxwdds_12.6.32-504.el6.x86_64#1SMPWedOct1504:27:16UTC2014x86_64x86_64x86_64GNU/Linux[root@wdds_1~]#ifconfigeth0|grep"inetaddr:"inetaddr:10...
分类:
数据库 时间:
2015-08-17 19:43:46
阅读次数:
177
家里有一台cotext-A9(armv7-a) 的盒子,现在不用了,一直想着废物利用。于是想怎么为这盒子编译程序。目标机器:root@routon-h1:/# uname -aLinux routon-h1 2.6.34 #3 SMP Mon Oct 29 19:01:06 CST 2012 arm...
分类:
系统相关 时间:
2015-08-16 13:34:41
阅读次数:
223
1、实验环境:10.0.10.8nginx反向代理10.0.10.10nginx节点10.0.10.12nginx节点2、系统内核版本:#cat/etc/redhat-releaseCentOSrelease6.6(Final)#uname-r2.6.32-504.3.3.el6.x86_643、在nginx反向代理#catnginx.confworker_processes1;events{worker_connections1024;}http{in..
分类:
其他好文 时间:
2015-08-16 00:51:01
阅读次数:
154
db.properties
#mongodb数据库配置文件
#数据库服务器所在的ip地址
ip=127.0.0.1
#mongodb服务端口号
port=27017
#要连接的库
dbName=yc
#用户名
uname=
#密码
password=
#默认的连接集合
collectionName=voting
...
分类:
数据库 时间:
2015-08-15 23:10:51
阅读次数:
283
1.主键约束(primary key) create table T_User1 ( Id int primary key identity(1,1), UName nvarchar(10) ) 2.非空约束(not null) create table T_User2 ( Id int prima...
分类:
数据库 时间:
2015-08-15 22:43:06
阅读次数:
256
360云Ubuntu安装Dokcer
cat /etc/issue
Ubuntu 14.04.2 LTS \n \l
内核版本
uname -r
3.16.0-30-generic
相比阿里云,提供3.8.0-44-generic 的内核,ubuntu12,在360云就会好很多了,
备注
Docker is supported on t...
分类:
系统相关 时间:
2015-08-15 15:02:11
阅读次数:
293
1.索引的使用 --创建表 create table T_User ( Id int primary key identity(1,1), UNo nvarchar(10), UName nvarchar(10), UAge int ) --创建索引(给字段UName建索引) create inde...
分类:
数据库 时间:
2015-08-15 11:53:37
阅读次数:
144
prepare($sql); $st->bindParam(':title', $title); $st->bindParam(':tid', $tid); $st->bindParam(':mid', $mid); $st->bindParam(':uname', $una...
分类:
其他好文 时间:
2015-08-15 10:20:04
阅读次数:
154
==================================Debian=======================================
1、发行版本
cat/etc/debian_version
5.0.2
2、内核
uname-r
2.6.18-6-amd64
3、机型
dmidecode-ssystem-product-name
PowerEdgeR710
4、安装软件包
apt-get-yinstallnet-tools
5、使用i..
分类:
其他好文 时间:
2015-08-15 06:50:51
阅读次数:
388