摘要:
By:demote摘要: 在Linux下通过mdadm创建软RAID创建raid0:mdadm --create --verbose /dev/md0 --raid-devices=4 --level=0 --chunk=64k /dev/sdc /dev/sdd /dev/sde /dev/sdf--create表示创建--verbose可以获得更多的信息/dev/md0表示创建的目标名字,可以改变--raid-devices=4 表示由4个设备组成(若为其他类型的RAID会有最少设备数限制,比如RAID5为3等)--level==0表示创建RAID0--chunk=64k 表示stripe 阅读全文
随笔档案-2012年06月
Connection activation failed Device not managed by NetworkManager
2012-06-21 13:31 by Demote, 304 阅读, 收藏,
摘要:
转自:http://hi.baidu.com/doughtymild/blog/item/75a377ad678864184b36d6b4.html系统中有两个服务在管理网络,所以需要停掉一个,1. Remove Network Manager from startup Services.chkconfig NetworkManager off2. Add Default Net Managerchkconfig network onStop NetworkManager firstservice NetworkManager stopand then start Default Manag 阅读全文
Git related
2012-06-20 16:50 by Demote, 240 阅读, 收藏,
摘要:
By: demoteFor: 记录GIT的学习和使用1. 管理时忽略一些文件 使用.gitignore文件,例如1 *.swp2 *.so2. 使用.gitignore时无法通过git add *添加文件 错误提示:fatal: no files added 使用git add .3. 行结束符自动转换 错误提示:warning: LF will be replaced by CRLF... 重新设置git如下git config --global core.autocrlf false4. 删除本地/远程分支git branch -d branchnamegit branch -... 阅读全文
Git, Submin, Centos6
2012-06-20 10:02 by Demote, 773 阅读, 收藏,
摘要:
By: demote摘要: 在CentOS上搭建Git服务器,通过Submin作为管理界面。程序版本:CentOS 6.0Git 1.7.1(随CentOS 6.0安装)Submin 2.0.3(http://supermind.nl/submin/)安装流程:1. CentOS的安装 选择合适的包按正常流程安装即可。2. Git安装 CentOS 6.0中已包含Git 1.7.1, 若未安装使用yum install git安装即可3. Submin安装 将安装包导入Linux中,解压后执行python setup.py install 更多安装说明参见安装包中INSTALL文件及... 阅读全文
GNUPLOT 学习手记
2012-06-19 09:41 by Demote, 1113 阅读, 收藏,
摘要:
基本操作 setdatafile separator "," //设置数据文件的分隔符为comma,用于GNUPLOT绘制.csv文件 set term png //设置输出图像的格式,还有诸如jpg,eps等 set output "output.png" //设置输出到文件 set xlabel "time" //设置x坐标为'time' set ylabel "block number" //设置y坐标为'block number' set size 0.5,0.5 //长宽均 阅读全文
<转>Why You Should Write a Blog Post Today
2012-06-18 11:25 by Demote, 297 阅读, 收藏,
摘要:
From:http://java.dzone.com/articles/why-you-should-write-blog-postBlogging was quite a trend a few years ago, but with the rise of Facebook & Twitter, it’s fallen out of favor with some. Well, I’m here to tell you that you should open your own blog today, and if you own a blog but haven’t posted 阅读全文
Tex 123
2012-06-13 14:30 by Demote, 237 阅读, 收藏,
摘要:
1. 项目符号\begin{itemize} \item item1 \item item2 \item item3\end{itemize}2. 编号\begin{enumerate} \item number1 \item number2 \item number3\end{enumerate}3. 脚注\begin{description} \item{def7} description7 \footnote{this is a example of footnote 1}\end{description}4. 页面/字体设置页面设置 ht... 阅读全文
浙公网安备 33010602011771号