全文検索:
- KVMでWindowsを動かし、virtio化 @01_linux:08_仮想化
- |virtioドライバ]]も一緒に定義しておく <code console> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/tmp/test.img'/> ... et dev='vdb' bus='virtio'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu'/... ディスクイメージ定義をvirtioに変更する。 <code console> <disk type='file' device='disk'> <driver name='qemu' t
- 01 JuJu Maas Openstack @01_linux:08_仮想化:juju
- > $ vim mymaas.yaml clouds: maas-server: type: maas auth-types: [oauth1] endpoint: http://192.168.0.10:5240/MAAS </code> ==== 登録 ==== <c... , credential is not region specific]: Using auth-type "oauth1". Enter maas-oauth: Credential "maas-se... e on the client: Cloud Regions Default Type Credentials Source Description localhost
- 05 ゲストCentOS5をVirtio化 @01_linux:08_仮想化:kvm
- sk ===== target dev をvda へ、busをvirtioに変更 <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/de... dev='hda' bus='ide'/> </disk> ↓ ↓ 変更 <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/
- 08 qcow2 バックアップ 外部へ取得する場合(online external) @01_linux:08_仮想化:kvm
- e> <code> # virsh dumpxml testvm . . . <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/ima... /testvm.testsnap' index='3'/> <backingStore type='file' index='2'> <format type='qcow2'/> <source file='/var/lib/libvirt/images/testvm.q
- 01 ネットワーク設定nmcli @01_linux:21_centos7
- cli c NAME UUID TYPE DEVICE eth0 f534e21a-5656-4730-ae0f-57f23a... === デバイス確認 ===== <code> # nmcli device DEVICE TYPE STATE CONNECTION eth1 ethernet ... erface-name eth3 新規コネクション追加 # nmcli con add type ethernet ifname eth3 con-name eth3 <color #ed1c2... ===== Bonding ===== <code> nmcli connection add type bond autoconnect no con-name bond0 ifname bond0
- 06 CentOS7 systemctlでCASのramdisk起動スクリプト @01_linux:21_centos7
- Open Cas ramdisk) After=network.target [Service] Type=simple RemainAfterExit=yes ExecStart=/bin/ramdisk... le vpnclient ===== Service タイプのオプション ===== ==== Type ==== |Type=simple|指定コマンドがフォアグラウンドで実行を継続する場合。コマンドを実行したらすぐに起動完了と判定| |Type=forking|子プロセスをバックグラウンドで起動して、最初のコマンドをは終了する場合。 \\ 最
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1 @01_linux:02_www
- ption tells mod_suphp to handle requests with the type <mime-type>. # Please note this only works, if an action for the handler is specified # in the suPHP co... n tells mod_suphp to NOT handle requests with the type <mime-type>. # suPHP_RemoveHandler <mime-type> </code> ===== Apache側修正 ===== === /etc/httpd/conf/htt
- 仮想化KVM @01_linux:08_仮想化
- ev='hd'/> ↓ <boot dev='cdrom'/> <disk type='file' device='cdrom'> <driver name='qemu'/... hdc' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='1' unit='0'/> </disk> <disk type='file' device='floppy'> <driver name='qemu' type='raw'/> <source file='/CDROM/virtio-win-1.1
- 37 MegaCliのSmart情報 @01_linux:99_その他
- 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 465.761 GB [0x3a386030 Sectors] ... Device Speed: 6.0Gb/s Link Speed: 6.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Tem... 0 Last Predictive Failure Event Seq Number: 0 PD Type: SATA Raw Size: 465.761 GB [0x3a386030 Sectors] ... Device Speed: 6.0Gb/s Link Speed: 6.0Gb/s Media Type: Hard Disk Device Drive: Not Certified Drive Tem
- 02 Postfix + amavisd + clamav @01_linux:03_mail
- exe-ms|dll)$', # banned file(1) types, rudimentary ↓ コメントアウト。exe,dllも送信できるようにする。 2... exe-ms|dll)$', # banned file(1) types, rudimentary </code> === 添付ファイルがはじかれるので、この部分をコメ... exe-ms|dll)$', # banned file(1) types, rudimentary # qr'^\.(exe|lha|tnef|cab|dll)$', # banned file(1) types ・ ・ ・ ); </code> === ウィルスや、スパムの最終的な処理方法 D_BOUNC
- 17 LVMミラー @01_linux:99_その他
- > ===== ミラーLVM作成 ===== <code console> lvcreate --type raid1 -L 1G -n lvraid1 VG01 lvcreate --type raid5 -L 1G -n lvraid5 VG01 lvcreate --type raid10 -L 1G -n lvraid10 VG01 </code> ==== 確認方法 ==== <cod... > 再度新たなディスクでミラー化 <code console> # lvconvert -v --type raid1 -m 1 VG01/lvraid1 /dev/vdc /dev/vde </code>
- 13 Zabbixでsnmptrapを受信(Zabbix2系) @01_linux:04_監視:zabbix
- 28 ZBXTRAP 192.168.42.254 PDU INFO: notificationtype TRAP version ... 1 VARBINDS: DISMAN-EVENT-MIB::sysUpTimeInstance type=67 value=Timeticks: (447355799) 51 days, 18:39:17.99 SNMPv2-MIB::snmpTrapOID.0 type=6 value=OID: SNMPv2-MIB::snmpTraps SNMPv2-MIB::snmpTraps type=4 value=STRING: "Test Message" </code> ===== ③
- 29 TGT で thin provision @01_linux:01_net
- <code> # tgt-admin -s LUN: 1 Type: disk SCSI ID: IET 00010001 ... Thin-provisioning: Yes Backing store type: rdwr Backing store path: /mnt/disk.t... nt: 0 Descriptor present (DP): 0 Provisioning type: 2 </code> ===== クライアント側と、サーバ側で交互に確認 ===== -o d
- 40 CentOS VLAN tag @01_linux:01_net
- oc/net/vlan/config VLAN Dev name | VLAN ID Name-Type: VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD eth0.210 | 210 | eth0 </code> ===== ③network-scriptを設定 ===... nfig/network へ以下を追加 === <code> VLAN=yes VLAN_NAME_TYPE=DEV_PLUS_VID_NO_PAD </code> === 1.eth0は、インターフェース
- IPMIコマンド @01_linux:01_net
- SFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=jp106 rd_LVM_LV=VolG00/LogVol01 rd_LV... SFONT=latarcyrheb-sun16 crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=jp106 rd_LVM_LV=VolG00/LogVol01 rd_LV... ne Redirection after BIOS/POST - Enabled Terminal Type - VT100 </code> BIOS セットアップユーティリティへのアクセスとファンクション