2016年4月21日 星期四

How to create bmc flash cycle under dos

How to create bmc flash cycle under dos

[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
count
:bmc
ipmitool 20 00 02 02
goto bmc


You need put "Yafu.exe"  "count.exe" "ipmitool.exe" to your dos key
----------------------------------------------------------------------------
Or
[autoexec.bat]
Yafu.exe -kcs xxxx.bin -vyes
delay -s 120
count

ipmitool 20 00 02 02

You need put "Yafu.exe" "delay.exe"  "count.exe" "ipmitool.exe" to your dos key

2016年4月13日 星期三

How to create samba share folder under RHEL linux for stress

How to create samba share folder under RHEL linux for stress


1.Disabling SELinux
#vim /etc/selinux/config
SELINUX=disabled
save then reboot
#init 6

2.#mkdir /mnt/stress

#chmod 777 stress
#vim /etc/samba/samba.conf

security = share

[stress]
path = /mnt/stress
browseable = yes 
read only = no
writable = yes 
create mode = 0777 
directory mode = 0777
guest ok = yes
guest only = yes


#service smb restart
3.#service iptables stop