一、基础1、说明:创建数据库CREATE DATABASE database-name2、说明:删除数据库drop database dbname3、说明:备份sql server--- 创建 备份数据的 deviceUSE masterEXEC sp_addumpdevice 'disk', 't...
分类:
数据库 时间:
2014-08-26 13:07:56
阅读次数:
272
查看现有的分区[root@server~]#fdisk-l
Disk/dev/sda:21.5GB,21474836480bytes
255heads,63sectors/track,2610cylinders
Units=cylindersof16065*512=8225280bytes
Sectorsize(logical/physical):512bytes/512bytes
I/Osize(minimum/optimal):512bytes/512bytes
Diskidentifier..
分类:
其他好文 时间:
2014-08-26 11:52:46
阅读次数:
274
NFS挂载故障卡死的问题默认是硬的,改成软的。比如:mount -t nfs -o rw,vers=4,noacl,nocto,noatime,nodiratime,rsize=131072,wsize=524288,async,soft,bg,acregmin=3,acregmax=10,acdi...
分类:
其他好文 时间:
2014-08-26 11:29:25
阅读次数:
334
1)环境准备在关机状态下新添加一块磁盘对新加入的磁盘进行分区,并挂载至指定目录[root@host1~]#fdisk-l/dev/sdb
Disk/dev/sdb:5368MB,5368709120bytes
255heads,63sectors/track,652cylinders
Units=cylindersof16065*512=8225280bytes
Sectorsize(logical/physical):512bytes..
分类:
系统相关 时间:
2014-08-26 03:08:55
阅读次数:
393
Databasemounted.ORA-03113:end-of-fileoncommunicationchannelProcessID:4907SessionID:1Serialnumber:5这种错误的解决方案出现这个报错之后,明明oracle已经mount,此时查看oracle的状态:selectopen_modefromv$database;ERROR:ORA-03114:notconnectedtoORACLE提示oracle就根..
分类:
数据库 时间:
2014-08-26 03:03:26
阅读次数:
284
实验01:YUM配置实验目标学会yum配置实验步骤一、挂光盘1.选择镜像文件2.通过umount命令卸载载[root@localhost~]#umount/dev/cdrom3.通过mount命令卸载载[root@localhost~]#mount/dev/cdrom/media/4.验证二.修改yum配置文件[root@localhost~]#cd/etc/yum.repos.d/[root@localho..
分类:
其他好文 时间:
2014-08-26 03:00:26
阅读次数:
232
新建目录:mkdir;删除rm-r;(文件?)创建新的用户:useradduser;passwduser‘s;(用户组?)查询已安装软件rpm,安装命令yum(yumsearchlibreoffice;yum-yupdate;yuminstalllibreoffice)磁盘配额:edquota-uvbird;umount;mount|grephome;关闭已启动服务:checonfigautofsoff/on;/e..
分类:
其他好文 时间:
2014-08-26 02:58:35
阅读次数:
273
An index is used to speed up searching in the database.By default, when you create this table, your data will be stored on disk and sorted by the "Id"...
分类:
数据库 时间:
2014-08-25 22:30:34
阅读次数:
407
进入虚拟机linux系统里面,右下角有光盘形状的虚拟光驱
选中CD/DVD(圆形)(注意状态是连接的),设置-----然后选择iso镜像文件。如下图
su(root权限)
mkdir /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
??...
分类:
其他好文 时间:
2014-08-25 21:16:14
阅读次数:
287
在前文Android—— 4.2 Vold挂载管理_VolumeManager (三) 中解析了VolumeManager是怎么样抽取Volume实例以及DirectVolume与Volume之间的关系,在上篇Android—— 4.2 Vold挂载管理_NetlinkManager (四)中从kernel开始调用到handleBlockEvent,这里解析一下Vold挂载的真正操作,也就是Volume的操作!...
分类:
移动开发 时间:
2014-08-25 19:22:14
阅读次数:
473