全文検索:
- 51 MySQLベンチマーク(mysqlslap) @01_linux:11_データベース:01_mysql
- Don't read default options from any option file. --defaults-file=# Only read default options from the given file #. --defaults-extra-file=# Read this file after the global files are read. -?, --help Displa
- 52 MySQLQ sysbench 1.0 @01_linux:11_データベース:01_mysql
- /code> ==== Fileio ==== <code> sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 prepare sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 run sysbench fileio --file-total-size=
- 91 ZabbixのMySQLが遅い @01_linux:04_監視:zabbix
- ==== テーブル分割して、innodb_buffer_pool_sizeとinnodb_log_file_sizeを増やしてみる <code console> # vi /etc/my.cnf innodb_file_per_table innodb_buffer_pool_size=512M innodb_log_file_size=128M </code> innodb_buffer_pool_sizeは、DBのみ動... の70%~80%程度 innodb_log_files_in_group×innodb_log_file_size < innodb_buffer_pool_size innodb_log_file
- 08 qcow2 バックアップ 外部へ取得する場合(online external) @01_linux:08_仮想化:kvm
- ode> # virsh dumpxml testvm . . . <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/var/lib/libvirt/images/testvm.testsnap' index='3'/> <backingStore type='file' index='2'> <format type='qcow2'/> <source file='/var/lib/libvirt/images/testvm.qcow2'/>
- 32 CentOS5でTLS1.2 Apache PHP @01_linux:02_www
- ode> xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected sp... enable-setenvif \ --enable-authn-alias \ --enable-file-cache \ --enable-disk-cache \ --enable-mem-cache ... xt \ --with-curl=/opt/curl-7.58.0 \ --with-config-file-path=/opt/php-5.6.13/etc/ \ --with-config-file-scan-dir=/opt/php-5.6.13/etc/php.d \ --with-mcrypt # wg
- KVMでWindowsを動かし、virtio化 @01_linux:08_仮想化
- oドライバ]]も一緒に定義しておく <code console> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/tmp/test.img'/> <target dev='vdb' bus='virtio'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu'/> <source file='/CDROM/virtio-win-0.1-30.iso'/> <target de
- 22 Ceph create-volume でエラー @01_linux:13_storage
- /ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2020-09-02 18:30:09.744 7f8fd77c0700... /ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2020-09-02 18:30:10.730 7f4ea281a700... 32,min_write_buffer_number_to_merge=2,recycle_log_file_num=32,compaction_style=kCompactionStyleLevel,write_buffer_size=67108864,target_file_size_base=67108864,max_background_compactions=31,
- 16 unboundでキャッシュサーバ @01_linux:01_net
- roundrobin: yes minimal-responses: yes dlv-anchor-file: "/etc/unbound/dlv.isc.org.key" trusted-keys-file: /etc/unbound/root.key val-clean-additional: yes val-... 16 remote-control: control-enable: yes server-key-file: "/etc/unbound/unbound_server.key" server-cert-file: "/etc/unbound/unbound_server.pem" control-key-file
- BINDでキャッシュサーバ @01_linux:01_net
- d configuration files. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create named.conf - edits to this file will be lost on // caching-nameserver package ... directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; mems
- 13 CentOS6メール設定 @01_linux:03_mail
- stname ## 証明書 smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/certs/mail.pem smtpd_tls_key_file = /etc/pki/tls/certs/mail.pem smtpd_tls_session_cache_... # cd postfix.conf.2 # rm *\.* rm: remove regular file `ClamSMTP.master.cf'? y rm: remove regular file `Rgrey.main.cf'? y rm: remove regular file `taRgrey.mai
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1 @01_linux:02_www
- min_uid=500 min_gid=100 ; Security options allow_file_group_writeable=false allow_file_others_writeable=false allow_directory_group_writeable=false allow_dir... <code> # This is the Apache server configuration file providing suPHP support. # It contains the config... HPRC environment variable). # Do *NOT* refer to a file but to the directory the file resides in. # # E.g
- 02 Postfix + amavisd + clamav @01_linux:03_mail
- qr'^\.(exe-ms|dll)$', # banned file(1) types, rudimentary ↓ コメントアウト。exe,dllも送信できる... qr'^\.(exe-ms|dll)$', # banned file(1) types, rudimentary </code> === 添付ファイルがはじかれるので... qr'^\.(exe-ms|dll)$', # banned file(1) types, rudimentary # qr'^\.(exe|lha|tnef|cab|dll)$', # banned file(1) types ・ ・ ・ ); </code> === ウィルスや、スパムの最終的な処理方法
- 09 qcow2 backing file @01_linux:08_仮想化:kvm
- ====== 09 qcow2 backing file ====== ===== backing fileを使って、create ===== from.qcow2 から to.qcow2 を作成 <c... <code> # qemu-img info to.qcow2 image: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 bytes) disk size: 196K cluster_size: 65536 backing file: from.qcow2 Format specific information: comp... .qcow2 # qemu-img info to.qcow2 image: to.qcow2 file format: qcow2 virtual size: 15G (16106127360 byte
- 14 MariaDB @01_linux:11_データベース:01_mysql
- iaDB [(none)]> show global variables like 'innodb_file_per_table'; +-----------------------+-------+ | V... alue | +-----------------------+-------+ | innodb_file_per_table | ON | +-----------------------+----... [(none)]> show global variables like 'innodb_log_file_%'; +---------------------------+----------+ | Va... ------------------------+----------+ | innodb_log_file_size | 50331648 | | innodb_log_files_in_grou
- 33 PHP56 fsockopenでエラー @01_linux:02_www
- get_cert_locations());" Array ( [default_cert_file] => /opt/openssl-1.0.2r/ssl/cert.pem [default_cert_file_env] => SSL_CERT_FILE [default_cert_dir] => /opt/openssl-1.0.2r/ssl/certs [default_cert_dir_env