LINUX
文章平均质量分 65
wshxgxiaoli
这个作者很懒,什么都没留下…
展开
-
LINUX制做本地YUM源
1. 先启动HTTPD服务,挂载光驱, 并拷贝光盘中所有目录到指定的目录下。[root@localhost ~]# service httpd startStarting httpd: [ OK ][root@localhost ~]# chkconfig httpd on[root原创 2013-11-20 15:52:07 · 3489 阅读 · 0 评论 -
ISCSID
1. 服务端安装软件包。rpm -ivh perl-Config-General-2.40-1.el5.rf.noarch.rpmrpm -ivh scsi-target-utils-0.0-5.20080917snap.el5.i386.rpm2. 创建LV。for i in {1..18}; do lvcreate -L 1G -n scsi_$i VolGroup00; do原创 2013-11-20 15:57:43 · 660 阅读 · 0 评论 -
解决CRON无法编辑
当CRONTAB -E 无法编辑的时候,想执行计划任务的方法。1. 新增加一个目录:mkdir runcron2. 要这个目录中写入脚本:[root@gd2s93 runcron]# cat 1.cron #!/bin/bashecho `date +%y-%d` >> /root/1.txt3. 编写CRONTAB[root@gd2s93 runc原创 2013-11-20 15:59:35 · 552 阅读 · 0 评论 -
DNS配置(11G RAC)
1. 安装DNS所需的包:[root@rac3 CentOS]# rpm -ivh bind-9.3.6-20.P1.el5.x86_64.rpm warning: bind-9.3.6-20.P1.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897Preparing... ###原创 2013-11-20 15:54:55 · 551 阅读 · 0 评论