linux iSCSI target配置全过程一:Install iSCSI target for
Linux1,操作系统:[root@rac2 ~]# cat /etc/issueEnterprise Linux Enterprise Linux AS
release 4 (October Upd...
分类:
系统相关 时间:
2014-05-26 13:40:12
阅读次数:
503
1、在配置文件my.ini最后增加:skip-grant-tables2、重启mysql服务:net
stop mysqlnet start mysql3、无密码进入数据库,重置密码为root:mysql -u root -puse mysqlupdate
user set password=PAS...
分类:
数据库 时间:
2014-05-26 13:10:21
阅读次数:
311
Linux命令格式:command [options]
[arguments]command:命令options: 参数[] 表示是可选的; 表示是可变化的; x|y|z 表示只能选择一个;-abc
表示三个参数(或任何二个)的混合使用1.whereis[root@rusk...
分类:
系统相关 时间:
2014-05-26 12:42:32
阅读次数:
386
这是一道很常见的题,看题的时候看漏了root to
leaf的leaf,以为只要从root开始就可以了,太不仔细了,sigh~ 其实类似的题目在Career
Cup的4.9,那个题是任意路径,不必从root到leaf,要求更高。一直以来我都有这样的疑问,迭代的变量(如下例中的path、total)如...
分类:
其他好文 时间:
2014-05-26 12:09:21
阅读次数:
329
http://www.iwangzheng.com/[root@a02]$show
dbs;changhong_tv_cms 0.078GB[root@a02]$ mongodump -d changhong_tv_cms
-o/temp/db_mongo.20140521.mongo/worksp...
分类:
数据库 时间:
2014-05-26 10:30:39
阅读次数:
407
linux中用shell获取昨天、明天或多天前的日期:在Linux中对man date -d
参数说的比较模糊,以下举例进一步说明:# -d, --date=STRING display time described by STRING, not
`now’[root@Gman root]# dat...
分类:
系统相关 时间:
2014-05-26 09:42:15
阅读次数:
320
LTMP 指的 linux + tengine + mysql + php。我下载的 CentOS
6.5 32位, 自带了 apache、mysql, 我得卸载掉。1.切换到root用户[admin@localhost ~]$ su -
root[root@localhost /]# find /...
分类:
其他好文 时间:
2014-05-26 09:06:11
阅读次数:
242
在Windows系统中查看内存的使用情况很简单,想必大家都已经耳熟能详了,那么在linux系统如何查看内存使用情况呢?下面和大家分享在Linux
下查看内存使用情况的free命令: [root@scs-2 tmp]# free total used free shared buffers c...
分类:
系统相关 时间:
2014-05-26 09:04:17
阅读次数:
352
编译器错误消息:CS0016:未能写入输出文件“c:\Windows\Microsoft.NET\Framework\v2.0.50727
\TemporaryASP.NETFiles\root\9b70b3a1\3eb1115f\App_Code.aez6e3ev.dll”--
“拒绝访问。”产生...
分类:
其他好文 时间:
2014-05-24 10:25:53
阅读次数:
217
有时候某个用户不乖,但是还不想删除他的帐号只是想给他点儿颜色看看,或者出于某种权限管理不想让他/她使用这个帐号,那么冻结帐号就是最好的方法了,linux中的帐号密码保存在/etc/shadow文件里面,禁用帐号的办法就是修改/etc/shadow.还有一个更简便快捷的方法:通过passwd
-l |...
分类:
系统相关 时间:
2014-05-24 08:12:00
阅读次数:
445