IET
cat /proc/net/iet/session
查看targetid 和target name对应关系
cat /proc/net/iet/volume
查看导出的lun和本机块设备对应关系
open-iscsi
查看服务状态
service iscsi status
initiator
查看ISCSI启动状态
chkconfig iscsi on;...
分类:
其他好文 时间:
2014-12-22 19:39:14
阅读次数:
211
从配置菜单关闭防火墙是不起作用的,索性在安装的时候就不要装防火墙查看防火墙状态:/etc/init.d/iptablesstatus暂时关闭防火墙:/etc/init.d/iptablesstop禁止防火墙在系统启动时启动/sbin/chkconfig--level2345iptablesoff重启...
分类:
系统相关 时间:
2014-12-22 11:00:49
阅读次数:
197
SHELL脚本:nginxvim /etc/init.d/nginx#!/bin/sh## nginx - this script starts and stops the nginx daemin## chkconfig: - 85 15 # description: Nginx is an...
分类:
Web程序 时间:
2014-12-21 19:18:50
阅读次数:
254
模仿/etc/rc.d/init.d下的任意一个文件的内容,写一个新的文件,名字和你的servicename的名字一样,然后执行chkconfig--addservicename执行成功后,编辑servicename文件,例如:#!/bin/bash
#whoami
#root
#chkconfig:3455149
#description:startsthejbossdeamons
#
JBOSS_HOME=/..
分类:
系统相关 时间:
2014-12-18 06:52:42
阅读次数:
270
再开启VNC开始前我们需要清楚3点1.我的centos目前的桌面版本为[root@localhost~]#gnome-panel--versionGnomegnome-panel2.16.12.vnc服务[root@localhost~]#rpm-qa|grepvncvnc-server-4.1.2-14.el5_3.13.自启动服务设置chkconfig好的,我们一步步来1.centos目前的桌面版本为2.vn..
分类:
其他好文 时间:
2014-12-15 21:59:34
阅读次数:
241
因此需要:service crond start (有的是service cron start)或者/etc/rc.d/init.d/crond start加入开机自动启动:chkconfig --level 35 crond on
分类:
其他好文 时间:
2014-12-11 15:16:03
阅读次数:
132
以下文档于2014-12-10更新先在服务端操作#wget http://pkgs.repoforge.org/rsync/rsync-3.0.9-2.el6.rfx.x86_64.rpm#rpm –ivh rsync-3.0.9-2.el6.rfx.x86_64.rpm#chkconfig rsy...
分类:
其他好文 时间:
2014-12-11 11:54:20
阅读次数:
135
1.1 设置ip地址 执行命令 service network restart 验证: ifconfig1.2 关闭防火墙 执行命令 service iptables stop 验证: service iptables status1.3 关闭防火墙的自动运行 执行命令 chkconfig ipt....
分类:
其他好文 时间:
2014-12-10 17:41:36
阅读次数:
248
对比表,以 apache / httpd 为例任务旧指令新指令使某服务自动启动chkconfig --level 3 httpd onsystemctl enable httpd.service使某服务不自动启动chkconfig --level 3 httpd offsystemctl disab...
分类:
其他好文 时间:
2014-12-10 14:10:41
阅读次数:
193