全文検索:
- 44 CentOS7 chronyd NTP @01_linux:01_net
- e> # chronyc sources 210 Number of sources = 4 MS Name/IP address Stratum Poll Reach LastRx Last
- 23 Apache vhost一覧 @01_linux:02_www
- d" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="daemon" id=1 Group: name="daemon" id=1 </code> {{tag>Apache vhost}}
- 18 Windows共有フォルダマウント @01_linux:30_ubuntu
- s-utils ===== マウント ===== mount -t cifs -o username=[username],password=[password] //[server]/[share] /mnt/windows {{tag>日記}}
- 17 ffmpeg @01_linux:30_ubuntu
- O_DIR=./move j=1 for i in `ls ${FROM_DIR}/` do name=`printf "%05d\n" $j` cp ${FROM_DIR}/$i ${TO_DIR}/$name.jpg j=`expr $j + 1` done </code> {{tag>ffmpeg
- 08 qcow2 バックアップ 外部へ取得する場合(online external) @01_linux:08_仮想化:kvm
- ot@hvdev1001:~# virsh snapshot-create-as testvm --name testsnap --no-metadata --disk-only Domain snapsh... <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/li... <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain... <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/li
- 11 KVM名前変更 @01_linux:08_仮想化:kvm
- 名前と、先程メモしたUUIDを入力し保存 <code> # virsh edit 仮想マシン名 <name>表示させたい名前</name> <uuid>メモしたuuid</uuid> </code> ===== 3.ファイル確認 ===== vm-001を変更して、vm-002にした場合。 変更前と変更後の... 義と、新しい定義の2つとも見える。 <code> # virsh list --all Id Name State ----------------------------- -
- 10 qcow2バクアップ 内部スナップショット(internal) @01_linux:08_仮想化:kvm
- ode> # virsh snapshot-create-as --domain test01 --name 20230128 </code> ===== スナップショットの確認 ===== <code> # virsh snapshot-list test01 Name Creation Time State ---------... running # virsh snapshot-info test01 --snapshotname 20230128 Name: 20230128 Domain: test01 Current: yes State: running L
- 92 Gitコマンド @01_linux:99_その他
- svn log -v]のように ==== git log --stat git log --name-status git log --name-only ===== git reset ===== # 全ファイルをステージングから取り除く。ファイルの変更はそのまま残す $ git reset ... <code> # git config -l http.sslverify=false user.name=Shinya Matsui user.email=matsui@fl8.jp core.repos
- 38 cephadmでcephインストール後、openstackで利用 @01_linux:13_storage
- adm install ==== <code> # curl --silent --remote-name --location https://github.com/ceph/ceph/raw/octop... _backend_check: True cinder_enabled_backends: - name: rbd-1 - name: linstor-drbd - name: nfs-1 # Cinder-Backup enable_cinder_backup: "yes" cinder_backup_driver: "nfs
- 05 ゲストCentOS5をVirtio化 @01_linux:08_仮想化:kvm
- 意しておく <code> root# cd /boot root# cp -p initrd-$(uname -r).img initrd-$(uname -r)_ide.img root# mkinitrd -v -f --with=virtio_pci --with=virtio_blk initrd-$(uname -r).img $(uname -r) </code> ===== 2.起動ファイル修正 ===== # virsh edit [VM] ===== Disk ===== target de
- 37 LINSOTR + OpenStack @01_linux:13_storage
- _backend_check: True cinder_enabled_backends: - name: linstor-drbd - name: nfs-1 # Cinder-Backup enable_cinder_backup: "yes" cinder_backup_driver: "nfs"
- 36 LINSTOR Bcache @01_linux:13_storage
- or resource-group set-property BcacheG BCache/PoolName LinstorCache </code> ===== 6.configure bcache in
- 06 AB テスト @01_linux:09_ベンチマーク
- Server Software: Apache/2.2.15 Server Hostname: fl8.jp Server Port: 80 Docume
- 17 Nginx FastCGI Cache @01_linux:02_www
- i_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include fastcgi_params; ### 以下の設定を追加 ### set $do_not_ca
- 02 MySQL max_connections @01_linux:11_データベース:01_mysql
- --------------+----------------------+ | Variable_name | Value | +----------... ax%'; +----------------------+-------+ | Variable_name | Value | +----------------------+-------+... ected%'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | Thr