全文検索:
- 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 ... 60,62c60,62 < httpd=${HTTPD-/usr/sbin/httpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} --- > httpd=${HTT
- 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
- 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... map /var/lib/ceph/osd/ceph-0/activate.monmap --keyfile - --bluestore-block-wal-path /dev/optane/waldb --... /ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory 2020-09-02 18:30:10.730 7f4ea281a700... map /var/lib/ceph/osd/ceph-0/activate.monmap --keyfile - --bluestore-block-wal-path /dev/optane/waldb --
- 16 unboundでキャッシュサーバ @01_linux:01_net
- username: "unbound" directory: "/etc/unbound" logfile: "/var/log/unbound.log" use-syslog: no log-queries: no log-time-ascii: yes pidfile: "/var/run/unbound/unbound.pid" root-hints: "/etc... 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-
- 75 Proftpd @01_linux:01_net
- e on TLSProtocol TLSv1.2 TLSRSACertificateFile /usr/local/proftpd/etc/proftpd.cert.pem TLSRSACertificateKeyFile /usr/local/proftpd/etc/proftpd.key.pem TLSCip... oftpd.log SyslogLevel info PidFile /usr/local/proftpd/var/pr... hoge.com AuthOrder mod_auth_file.c AuthUserFile /etc/proftpd.pa
- 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_... in DEFAULT=/home/mail/$DOMAIN/$USER\@$DOMAIN/ LOCKFILE=/home/mail/procmail.lock LOGFILE=/home/mail/procmail.log VERBOSE=on ##:0 c ##* ^From.*shinya.matsui@ho
- 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'/>
- 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
- 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
- 82 CentOS 5.8 + Apache 2.2 + PHP 5.3 + suPHP 0.7.1 @01_linux:02_www
- /usr/local/etc/suphp.conf === <code> [global] logfile=/var/log/httpd/suphp_log loglevel=info webserver_... 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
- 03 Linux swapスペース追加 @01_linux:99_その他
- e console> # cd /root # dd if=/dev/zero of=/SwapFile bs=1024 count=1024000 # mkswap /SwapFile # chmod 600 /SwapFile # swapon /SwapFile </code> ===== 確認コマンド ===== <code console> # swapon -s Filename
- 15 CentOS6 suPHP7.2 @01_linux:02_www
- user=apache \ --with-setid-mode=owner \ --with-logfile=/var/log/httpd/suphp_log \ --with-min-uid=100 \ -... etc/suphp.conf ===== <code> [global] ;Path to logfile ;logfile=/var/log/suphp.log logfile=/var/log/httpd/suphp.log ;Loglevel loglevel=info ;User Apache is running a
- 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... t_cert_area] => /opt/openssl-1.0.2r/ssl [ini_cafile] => [ini_capath] => ) </code> {{tag>php}}