logo

mediatombのインストール

<!– 20141109 add –>

  • &lt;filesystem-charset&gt;UTF-8&lt;/filesystem-charset&gt;
    
  • &lt;metadata-charset&gt;CP932&lt;/metadata-charset&gt;
    

    <scripting script-charset="UTF-8">

/etc/init.d/mediatomb start

chkconfig mediatomb on

iptablesの開放 [#k6720ca6]

One minute to read

MegaRAID Storage Manager Application for Linuxのインストール

./ibm_utl_msm_15.03.01.00_linux_32-64.bin /usr/

unzip ibm_utl_msm_15.03.01.00_linux_32-64.bin

cd image

cat -e install.sh

sed -i "s/\r//" install.sh

find ./ -name "*.sh" -exec chmod u+x {} ;

chmod u+x 32bit/install.csh

chmod u+x 64bit/install.csh

./install.sh -a

/etc/init.d/lsi_mrdsnmpd status

lsi_mrdsnmpagent (pid 20626 20623) を実行中… アンインストール [#aaaffde2]

2 minutes to read

Megaraid storagemanagerクライアントのコマンド版インストール

-LSIのURL

Number of Controllers = 1 Host Name = HOGEHOSt01 Operating System = Linux2.6.32-431.11.2.el6.x86_64

System Overview :


Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth

0 Controller 8 4 1 0 1 0 Opt On - N 0 Opt

Ctl=Controller Index|DGs=Drive groups|VDs=Virtual drives|Fld=Failed PDs=Physical drives|DNOpt=DG NotOptimal|VNOpt=VD NotOptimal|Opt=Optimal Msng=Missing|Dgd=Degraded|NdAtn=Need Attention|Unkwn=Unknown sPR=Scheduled Patrol Read|DS=DimmerSwitch|EHS=Emergency Hot Spare Y=Yes|N=No|ASOs=Advanced Software Options|BBU=Battery backup unit Hlth=Health|Safe=Safe-mode boot Virtual Drive 追加 [#h50ebd3f]

=======


DG/VD TYPE State Access Consist Cache sCC Size Name

0/0 RAID1 Optl RW Yes RWBD - 930.390 GB

/opt/MegaRAID/storcli/storcli64 /c0 add vd type=raid1 drives=252:2,252:3

Controller = 0 Status = Success Description = Add VD Succeeded

/opt/MegaRAID/storcli/storcli64 /c0 show

Virtual Drives = 2

VD LIST :


DG/VD TYPE State Access Consist Cache sCC Size Name

0/0 RAID1 Optl RW Yes RWBD - 930.390 GB 1/1 RAID1 Optl RW No NRWBD - 930.390 GB

Physical Drives = 4

※↑VD LISTにVDが一つ追加されている。

PD LIST :


EID:Slt DID State DG Size Intf Med SED PI SeSz Model Sp

252:0 10 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U 252:1 9 Onln 0 930.390 GB SATA HDD N N 512B HGST HTS721010A9E630 U 252:2 11 Onln 1 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U 252:3 12 Onln 1 930.390 GB SATA HDD N N 512B TOSHIBA MQ01ABD100H U

※↑StateがUGoodからOnln(Online)に変わっている。

設定追加ヘルプ [#vbea7836]

3 minutes to read

MenuBar

One minute to read

mjpg-streamerの表示色々

wget -O /tmp/snapshot.jpg http://[IPアドレス]:8000/?action=snapshot ※ベーシック認証を使用している場合は–http-user=ユーザー名 –http-password=パスワードをwgetのオプションとして追加する。

One minute to read

mod_deflate:データをgzip圧縮して高速転送

 # Mozilla4系などの古いブラウザで無効、しかしMSIEは除外
 BrowserMatch ^Mozilla/4\.0[678] no-gzip
 BrowserMatch ^Mozilla/4 gzip-only-text/html
 BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
 
 # gifやjpgなど圧縮済みのコンテンツは再圧縮しない
 SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|ico)$ no-gzip dont-vary
 SetEnvIfNoCase Request_URI _\.utxt$ no-gzip

  # htmlやcssなどは圧縮
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/xml
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/atom_xml
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/x-httpd-php

</IfModule> レスポンスヘッダに「Content-Encodeing gzip」とあれば正常に圧縮されています。

One minute to read