• Linux 超过46 views围观 0条评论
      多实例启动 /usr/bin/mysqld_multi –defaults-extra-file=/etc/mysql/cfg3307.cnf –log=/var/log/mysql/mysql_3307.log start /usr/bin/mysqld_multi –defaults-extra-file=/etc/mysql/cfg3308.cnf –log=/var/log/mysql/mysql_3308.log start /usr/bin/mysqld_multi –defaults-extra-file=/etc/mysql/cfg3309.cnf &...
    10-11
  • Linux 超过34 views围观 0条评论
    适用于环境的 1.停止相应实例 /usr/bin/mysqld_multi –defaults-extra-file=/etc/mysql/cfg3309.cnf –log=/var/log/mysql/mysql_3309.log stop 2.修改相应实例配置文件 [mysqld3309] skip-grant-tables  #增加一条跳过权限检测 "/etc/mysql/cfg3309.cnf" 39L, 1682C 3.开启实例 4.登录修改密码 [root@shjhmysql02 tmp]# mysql...
    10-11
  • Linux 超过58 views围观 0条评论
    #!/bin/sh # Database infoDB_USER=”root”DB_PASS=” “DB_HOST=” “DB_NAME=”–all-databases”DB_PORT=”3308″DB_UNAME=”XXX_3308″ BIN_DIR=”/usr/bin”            BCK_DIR=”/opt/dbbackup” &...
    09-27
  • Linux 超过49 views围观 0条评论
    报错日志如下,数据库无法起来 Thread pointer: 0x0Attempting backtrace. You can use the following information to find outwhere mysqld died. If you see no messages after this, something wentterribly wrong…stack_bottom = 0x0 thread_stack 0x48000/usr/libexec/mysqld(my_print_stacktrace+0x3d)[0x7f176b69b96d]/usr/libexec/mysqld(handle_fat...
    09-27
  • Linux 超过239 views围观 0条评论
    官方文档https://www.elastic.co/guide/en/kibana/current/rpm.html Logstash1、安装jdk Logstash的运行依赖于Java运行环境。# yum -y install java-1.8.0[root@elk01 ~]# java -vUnrecognized option: -vError: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit.[root@elk01 ~]# java -versionopenjdk vers...
    09-27
  • Linux 超过82 views围观 0条评论
    健康检测验证 配置 upstream oaweb { ip_hash; server 172.16.1.25:80  max_fails=2 fail_timeout=10s;  #默认每1S检测一次 失败两次 10S内将不再分配连接 server 172.16.1.26:80  max_fails=2 fail_timeout=10s; } —-参数说明—- max_fails=number      # 设定Nginx与服务器通信的尝试失败...
    09-18