全文検索:
- BINDでキャッシュサーバ @01_linux:01_net
- nge round left 70%> # yum -y install bind caching-nameserver bind-chroot </box> ===== named.conf用意 ===== <box orange round left 90%> # cp -p /var/named/chroot/etc/named.caching-nameserver.conf /var/named/chroot/etc/named.conf </box> ===== named.conf ===
- 51 MySQLベンチマーク(mysqlslap) @01_linux:11_データベース:01_mysql
- f Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. R... generated tables. --auto-generate-sql-load-type=name Specify test load type: mi... on in server/client protocol. -c, --concurrency=name Number of clients to simulate for query to run. --create=name File or string to use create tables. --cr
- 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
- 32 CentOS5でTLS1.2 Apache PHP @01_linux:02_www
- _xml.c:364: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:365: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c: At top level: xml/apr_xml.c:... _xml.c:401: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:402: error: ‘apr_xml_parser’ has no member named ‘xp’ xml/apr_xml.c:410: error: ‘apr_xml_parser’
- Apache バーチャルホスト一覧確認 @01_linux:02_www
- MP_VHOSTS VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: _default_:44... conf.d/ssl.conf:81) *:80 is a NameVirtualHost default server mail.flat8.co.... /etc/httpd/conf/httpd.conf:1028) port 80 namevhost mail.flat8.co.jp (/etc/httpd/conf/httpd.conf:1028) port 80 namevhost rikoji.flateight.com (/etc/httpd/conf/httpd.
- 41 CentOS7 NIC名変更 @01_linux:01_net
- ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth0" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth1" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth2" SUBSYSTEM=="net", ACTION=="add",ATTR{address}=="xx:xx:xx:xx:xx:xx",NAME="eth3" </code> ==== 対応 ==== ethX以外の名前付けて、PCIパス指定
- 50 du: WARNING: Circular directory structure. @01_linux:01_net
- : WARNING: Circular directory structure. ====== namedをchrootで動かしている時は、dfのバグでこうなるようです。 https://bugzilla... he following directory is part of the cycle: `./named/chroot/var/named' </code> ===== ログ ===== ■chrootのnamedが動いている場合 <code console> # /etc/init.d/named status version: 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2
- 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
- fio @01_linux:09_ベンチマーク
- size=2G -numjobs=64 -runtime=10 -group_reporting -name=fio ==== ランダムwrite ==== # fio -filename=/tmp/... size=2G -numjobs=64 -runtime=10 -group_reporting -name=fio ==== シーケンシャルread ==== # fio -filename=/tm... size=2G -numjobs=64 -runtime=10 -group_reporting -name=fio ==== ランダムwrite ==== # fio -filename=/tmp/... size=2G -numjobs=64 -runtime=10 -group_reporting -name=fio ==== 結果 ==== 下記はシーケンシャルwriteの一例 ブロックサイズ4k
- 19 HPE Insight Management Agents Trap Alarm @01_linux:12_ツール
- ead/Write Authorized Management Station IP or DNS name (Blank to skip): Enter Read Only Authorized Management Station IP or DNS name (Blank to skip): Enter default SNMP trap communi... to skip): Enter SNMP trap destination IP or DNS name (One word; Blank to skip): The system contact is... -c -f <(echo -e "${EXCLUDE}")) -le 0 ] ;then NAME=${HOST}${HOSTNAME} if [ "${TO}" = "ZABBIX" ]
- 29 Ceph Dashboard @01_linux:13_storage
- {"username": "admin", "lastUpdate": 1592953680, "name": null, "roles": ["administrator"], "password": "... metheus: image: prom/prometheus container_name: prometheus environment: TZ: Asia/Tokyo... a: image: grafana/grafana:7.3.0 container_name: grafana environment: - TZ=Asia/Tokyo ... rter: image: prom/node-exporter container_name: node-exporter ports: - 9100:9100 r
- 29 screenに外からコマンド @01_linux:99_その他
- $THREAD ] do N=`printf "%02d" "${i}"` SCREEN_NAME=${ZONE}-${N} LOG="${LOGDIR}/${ZONE}_${N}.log" ... pr $i + 1` if [ -n "`screen -ls | grep ${SCREEN_NAME}`" ]; then echo "already have session_name. ${SCREEN_NAME}" continue 2 fi screen -R ${SCREEN_NAME} sleep 1 screen -d ${SCREEN_NAME}
- 22 Ceph create-volume でエラー @01_linux:13_storage
- y Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/boot... k Running command: /usr/bin/ceph --cluster ceph --name client.bootstrap-osd --keyring /var/lib/ceph/boot... ar/lib/ceph/osd/ceph-0/keyring --create-keyring --name osd.0 --add-key AQAgZk9fqxUgKRAA8gJEbwtnuVb91YJHV... borted) ** stderr: in thread 7f600913da80 thread_name:ceph-osd stderr: 2020-09-02 18:30:10.567 7f60091
- 14 MariaDB @01_linux:11_データベース:01_mysql
- '; +------------------------+--------+ | Variable_name | Value | +------------------------+---... le'; +-----------------------+-------+ | Variable_name | Value | +-----------------------+------... --------------------------+----------+ | Variable_name | Value | +-----------------------... -------------------------+-----------+ | Variable_name | Value | +------------------------
- 27 resolv.confを変更させない @01_linux:01_net
- の方法だとNetworkManagerでresolvが変更される問題も解決できる。 <code> nameserver 8.8.8.8 nameserver 8.8.4.4 </code> ===== resolv.confを変更させたくない場合 ===== ==== 1.resolv.confを修正 ==== この場合、nameserverを192.168.10.11に変更 <code> ##nameserver 8.8.8.8 ##nameserver 8.8.4.4 nameserver 192.168.10.11 </co