全文検索:
- 23 Apache vhost一覧 @01_linux:02_www
- i-https-vhost.conf:1) 127.0.0.1:80 is a NameVirtualHost default server status.localho... f/vhosts/00_status-vhost.conf:1) port 80 namevhost status.localhost (/opt/bitnami/apache/conf/vhosts/00_status-vhost.conf:1) port 80 namevhost www.example.com (/opt/bitnami/apache/conf/vh... wild alias * *:80 is a NameVirtualHost default server www.example.co
- 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
- 06 Ubuntu Network設定 @01_linux:30_ubuntu
- ond0 addresses: - 10.10.0.10/16 nameservers: addresses: [] search: [] ... 100.0.10/16 gateway4: 100.100.255.254 nameservers: addresses: - 8.8.8.8 ... - 10.10.0.101/16 gateway4: 10.10.0.1 nameservers: addresses: - 8.8.8.8 ve... - 10.10.0.101/16 gateway4: 10.10.0.1 nameservers: addresses: - 8.8.8.8 ve
- 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 ---------... rsh snapshot-info test01 --snapshotname 20230128 Name: 20230128 Domain: test01 Curren
- 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
- 変更 <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <... 更 <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> ... idge='br1'/> <target dev='vnet1'/> <alias name='net1'/> <address type='pci' domain='0x0000' ... v='vnet1'/> <model type='virtio'/> <alias name='net1'/> <address type='pci' domain='0x0000'
- 37 LINSOTR + OpenStack @01_linux:13_storage
- insecure: "yes" kolla_install_type: source docker_namespace: kolla # Cinder enable_cinder: "yes" enable... _backend_check: True cinder_enabled_backends: - name: linstor-drbd - name: nfs-1 # Cinder-Backup enable_cinder_backup: "yes" cinder_backup_driver: "nfs"
- 02 MySQL max_connections @01_linux:11_データベース:01_mysql
- --------------+----------------------+ | Variable_name | Value | +----------... ax%'; +----------------------+-------+ | Variable_name | Value | +----------------------+-------+... ected%'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | Thr
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- List of databases Name | Owner | Encoding | Collate | Ctype | Ac... esql.auto.conf primary_conninfo = へ追加 application_name=postgresql ## Secondaryは下記をコメントアウト # grep synchronous_standby_names /data/postgresql.conf synchronous_standby_names = 'postgresql' # standby servers that provide sync re
- 05 KVM Multi-Queue @01_linux:10_network
- net]] ===== xml修正 ===== <color #ed1c24><driver name='vhost' queues='N'/></color> この部分追加 <code> <inte... ult'/> <model type='virtio'/> <driver name='vhost' queues='N'/> </interface> </code> =====
- 16 unboundでキャッシュサーバ @01_linux:01_net
- un/unbound/unbound.pid" root-hints: "/etc/unbound/named.cache" hide-identity: yes hide-version: yes hard... サーバのhintファイル ==== <code> # wget -O "/etc/unbound/named.cache" ftp://FTP.INTERNIC.NET/domain/named.cache # chown unbound:unbound /etc/unbound/named.cache </code> ==== ログファイル作成 ==== <code> # touch /va
- 03 iperf3 @01_linux:09_ベンチマーク
- s between periodic bandwidth reports -F, --file name xmit/recv the specified file -A, --af