1. 准备

     yum install cmake
    yum install -y bison
    yum install -y libaio-devel
    yum install -y boost
    下载 percona-server-5.7.19-17.tar.gz
    下载好 boost_1_59_0.tar.gz 和 MySQL 的源码放在一起
  2. 编译

     编译使用的参数参考官方文档https://dev.mysql.com/doc/refman/5.7/en/source-configuration-options.html
    
     在源码的路径下,新建cmk文件夹
    在cmk 目录下执行以下命令 cmake .. -DBUILD_CONFIG=mysql_release \
    -DINSTALL_LAYOUT=STANDALONE \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DENABLE_DTRACE=OFF \
    -DWITH_EMBEDDED_SERVER=OFF \
    -DWITH_INNODB_MEMCACHED=ON \
    -DWITH_SSL=bundled \
    -DWITH_ZLIB=system \
    -DWITH_PAM=ON \
    -DCMAKE_INSTALL_PREFIX=/var/mysql/ \
    -DINSTALL_PLUGINDIR="/var/mysql/lib/plugin" \
    -DDEFAULT_CHARSET=utf8 \
    -DDEFAULT_COLLATION=ucs2_general_ci \
    -DWITH_EDITLINE=bundled \
    -DFEATURE_SET=community \
    -DCOMPILATION_COMMENT="MySQL Server (GPL)" \
    -DWITH_DEBUG=OFF \
    -DWITH_BOOST=.. 注意:
    -DDEFAULT_COLLATION=ucs2_general_ci 默认字符集选择问题,可能导致后面启动报错 ,可以修改为 utf8_general_ci

    cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DBUILD_CONFIG=mysql_release \
    -DFEATURE_SET=community \
    -DWITH_EMBEDDED_SERVER=OFF 编译完成后,可以看到
    -- Configuring done
    -- Generating done make -j 2
    安装
    make install
  3. 初始化数据库

     初始化
    /var/mysql/bin/mysqld --defaults-file=/var/mysql/etc/my.cnf --initialize --user=mysql 初始话后日志中会产生一个随机密码,5.6默认无密码
    2017-11-22T08:49:21.879950Z 1 [Note] A temporary password is generated for root@localhost: j5t>4&dZrnts 登录后必须修改密码,才能进一步操作
    [mysql@oracle mysql]$ /var/mysql/bin/mysql -uroot -h127.1 -P3306 -p'j5t>4&dZrnts'
    mysql: [Warning] Using a password on the command line interface can be insecure.
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 5
    Server version: 5.7.19-17 Copyright (c) 2009-2017 Percona LLC and/or its affiliates
    Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> show processlist;
    ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.
    mysql> alter user 'root'@'localhost' identified by 'wsaq12#$';
    Query OK, 0 rows affected (0.00 sec)
  4. 编译报错&解决

     4.1 Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
    安装ncurses-devel后解决
    yum install ncurses-devel 4.2 Required PAM dev library not found. Please install PAM development files!
    安装pam-devel
    yum install pam-devel 4.3 mysql 5.7.19初始化数据库错误
    初始化命令:
    /var/mysql/bin/mysqld --defaults-file=/var/mysql/etc/my.cnf --initialize --user=mysql 错误日志:
    2017-11-22T08:42:50.832649Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
    2017-11-22T08:42:50.832734Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
    2017-11-22T08:42:50.832978Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2017-11-22T08:42:50.834040Z 0 [ERROR] COLLATION 'ucs2_general_ci' is not valid for CHARACTER SET 'utf8'
    2017-11-22T08:42:50.834074Z 0 [ERROR] Aborting 解决:修改my.cnf后重新初始化,由于编译时,指定了 ucs2_general_ci,导致与 UTF8 不符 [client]
    default-character-set = utf8mb4 [mysqld]
    character_set_server=utf8mb4 4.3 编译成功的日志
    -- Running cmake version 2.8.12.2
    -- Could NOT find Git (missing: GIT_EXECUTABLE)
    -- Configuring with MAX_INDEXES = 64U
    -- The C compiler identification is GNU 4.8.5
    -- The CXX compiler identification is GNU 4.8.5
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- CMAKE_GENERATOR: Unix Makefiles
    -- Looking for include file libaio.h
    -- Looking for include file libaio.h - found
    -- Looking for io_queue_init in aio
    -- Looking for io_queue_init in aio - found
    -- Looking for SHM_HUGETLB
    -- Looking for SHM_HUGETLB - found
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Check size of void *
    -- Check size of void * - done
    -- SIZEOF_VOIDP 8
    -- Performing Test HAVE_C_SHIFT_OR_OPTIMIZATION_BUG
    -- Performing Test HAVE_C_SHIFT_OR_OPTIMIZATION_BUG - Failed
    -- Performing Test HAVE_CXX_SHIFT_OR_OPTIMIZATION_BUG
    -- Performing Test HAVE_CXX_SHIFT_OR_OPTIMIZATION_BUG - Failed
    -- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD
    -- Performing Test HAVE_C_FLOATING_POINT_FUSED_MADD - Failed
    -- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD
    -- Performing Test HAVE_CXX_FLOATING_POINT_FUSED_MADD - Failed
    -- Performing Test HAVE_C_FP_CONTRACT_FLAG
    -- Performing Test HAVE_C_FP_CONTRACT_FLAG - Success
    -- Performing Test HAVE_CXX_FP_CONTRACT_FLAG
    -- Performing Test HAVE_CXX_FP_CONTRACT_FLAG - Success
    -- MySQL 5.7.19-17
    -- Packaging as: percona-server-5.7.19-17-Linux-x86_64
    -- Local boost dir /root/percona-server-5.7.19-17/boost_1_59_0
    -- Local boost zip /root/percona-server-5.7.19-17/boost_1_59_0.tar.gz
    -- Found /root/percona-server-5.7.19-17/boost_1_59_0/boost/version.hpp
    -- BOOST_VERSION_NUMBER is #define BOOST_VERSION 105900
    -- BOOST_INCLUDE_DIR /root/percona-server-5.7.19-17/boost_1_59_0
    -- Performing Test HAVE_LLVM_LIBCPP
    -- Performing Test HAVE_LLVM_LIBCPP - Failed
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Looking for floor
    -- Looking for floor - not found
    -- Looking for floor in m
    -- Looking for floor in m - found
    -- Looking for gethostbyname_r
    -- Looking for gethostbyname_r - found
    -- Looking for bind
    -- Looking for bind - found
    -- Looking for crypt
    -- Looking for crypt - not found
    -- Looking for crypt in crypt
    -- Looking for crypt in crypt - found
    -- Looking for setsockopt
    -- Looking for setsockopt - found
    -- Looking for dlopen
    -- Looking for dlopen - not found
    -- Looking for dlopen in dl
    -- Looking for dlopen in dl - found
    -- Looking for sched_yield
    -- Looking for sched_yield - found
    -- Looking for clock_gettime
    -- Looking for clock_gettime - found
    -- Looking for timer_create
    -- Looking for timer_create - not found
    -- Looking for timer_create in rt
    -- Looking for timer_create in rt - found
    -- Looking for atomic_thread_fence
    -- Looking for atomic_thread_fence - not found
    -- Looking for atomic_thread_fence in atomic
    -- Looking for atomic_thread_fence in atomic - not found
    -- Looking for backtrace
    -- Looking for backtrace - found
    -- Looking for include file alloca.h
    -- Looking for include file alloca.h - found
    -- Looking for include file arpa/inet.h
    -- Looking for include file arpa/inet.h - found
    -- Looking for include file dlfcn.h
    -- Looking for include file dlfcn.h - found
    -- Looking for include file execinfo.h
    -- Looking for include file execinfo.h - found
    -- Looking for include file fpu_control.h
    -- Looking for include file fpu_control.h - found
    -- Looking for include file grp.h
    -- Looking for include file grp.h - found
    -- Looking for include file ieeefp.h
    -- Looking for include file ieeefp.h - not found
    -- Looking for include file langinfo.h
    -- Looking for include file langinfo.h - found
    -- Looking for include file malloc.h
    -- Looking for include file malloc.h - found
    -- Looking for include file netinet/in.h
    -- Looking for include file netinet/in.h - found
    -- Looking for include file poll.h
    -- Looking for include file poll.h - found
    -- Looking for include file pwd.h
    -- Looking for include file pwd.h - found
    -- Looking for include file strings.h
    -- Looking for include file strings.h - found
    -- Looking for include file sys/cdefs.h
    -- Looking for include file sys/cdefs.h - found
    -- Looking for include file sys/ioctl.h
    -- Looking for include file sys/ioctl.h - found
    -- Looking for include file sys/mman.h
    -- Looking for include file sys/mman.h - found
    -- Looking for include file sys/resource.h
    -- Looking for include file sys/resource.h - found
    -- Looking for include file sys/select.h
    -- Looking for include file sys/select.h - found
    -- Looking for include file sys/socket.h
    -- Looking for include file sys/socket.h - found
    -- Looking for include files curses.h, term.h
    -- Looking for include files curses.h, term.h - found
    -- Looking for include file termios.h
    -- Looking for include file termios.h - found
    -- Looking for include file termio.h
    -- Looking for include file termio.h - found
    -- Looking for include file unistd.h
    -- Looking for include file unistd.h - found
    -- Looking for include file sys/wait.h
    -- Looking for include file sys/wait.h - found
    -- Looking for include file sys/param.h
    -- Looking for include file sys/param.h - found
    -- Looking for include file fnmatch.h
    -- Looking for include file fnmatch.h - found
    -- Looking for include file sys/un.h
    -- Looking for include file sys/un.h - found
    -- Looking for include file vis.h
    -- Looking for include file vis.h - not found
    -- Looking for include file sasl/sasl.h
    -- Looking for include file sasl/sasl.h - not found
    -- Looking for include file sys/devpoll.h
    -- Looking for include file sys/devpoll.h - not found
    -- Looking for include file sys/epoll.h
    -- Looking for include file sys/epoll.h - found
    -- Looking for TAILQ_FOREACH
    -- Looking for TAILQ_FOREACH - found
    -- Looking for _aligned_malloc
    -- Looking for _aligned_malloc - not found
    -- Looking for backtrace
    -- Looking for backtrace - found
    -- Looking for printstack
    -- Looking for printstack - not found
    -- Looking for index
    -- Looking for index - found
    -- Looking for clock_gettime
    -- Looking for clock_gettime - found
    -- Looking for cuserid
    -- Looking for cuserid - found
    -- Looking for directio
    -- Looking for directio - not found
    -- Looking for ftruncate
    -- Looking for ftruncate - found
    -- Looking for compress
    -- Looking for compress - not found
    -- Looking for crypt
    -- Looking for crypt - found
    -- Looking for dlopen
    -- Looking for dlopen - found
    -- Looking for fchmod
    -- Looking for fchmod - found
    -- Looking for fcntl
    -- Looking for fcntl - found
    -- Looking for fdatasync
    -- Looking for fdatasync - found
    -- Looking for fdatasync
    -- Looking for fdatasync - found
    -- Looking for fedisableexcept
    -- Looking for fedisableexcept - found
    -- Looking for fseeko
    -- Looking for fseeko - found
    -- Looking for fsync
    -- Looking for fsync - found
    -- Looking for gethostbyaddr_r
    -- Looking for gethostbyaddr_r - found
    -- Looking for gethrtime
    -- Looking for gethrtime - not found
    -- Looking for getnameinfo
    -- Looking for getnameinfo - found
    -- Looking for getpass
    -- Looking for getpass - found
    -- Looking for getpassphrase
    -- Looking for getpassphrase - not found
    -- Looking for getpwnam
    -- Looking for getpwnam - found
    -- Looking for getpwuid
    -- Looking for getpwuid - found
    -- Looking for getrlimit
    -- Looking for getrlimit - found
    -- Looking for getrusage
    -- Looking for getrusage - found
    -- Looking for initgroups
    -- Looking for initgroups - found
    -- Looking for issetugid
    -- Looking for issetugid - not found
    -- Looking for getuid
    -- Looking for getuid - found
    -- Looking for geteuid
    -- Looking for geteuid - found
    -- Looking for getgid
    -- Looking for getgid - found
    -- Looking for getegid
    -- Looking for getegid - found
    -- Looking for lstat
    -- Looking for lstat - found
    -- Looking for madvise
    -- Looking for madvise - found
    -- Looking for malloc_info
    -- Looking for malloc_info - found
    -- Looking for memrchr
    -- Looking for memrchr - found
    -- Looking for mlock
    -- Looking for mlock - found
    -- Looking for mlockall
    -- Looking for mlockall - found
    -- Looking for mmap64
    -- Looking for mmap64 - found
    -- Looking for poll
    -- Looking for poll - found
    -- Looking for posix_fallocate
    -- Looking for posix_fallocate - found
    -- Looking for posix_memalign
    -- Looking for posix_memalign - found
    -- Looking for pread
    -- Looking for pread - found
    -- Looking for pthread_condattr_setclock
    -- Looking for pthread_condattr_setclock - found
    -- Looking for pthread_sigmask
    -- Looking for pthread_sigmask - found
    -- Looking for readlink
    -- Looking for readlink - found
    -- Looking for realpath
    -- Looking for realpath - found
    -- Looking for setfd
    -- Looking for setfd - not found
    -- Looking for sigaction
    -- Looking for sigaction - found
    -- Looking for sleep
    -- Looking for sleep - found
    -- Looking for stpcpy
    -- Looking for stpcpy - found
    -- Looking for stpncpy
    -- Looking for stpncpy - found
    -- Looking for strlcpy
    -- Looking for strlcpy - not found
    -- Looking for strndup
    -- Looking for strndup - found
    -- Looking for strnlen
    -- Looking for strnlen - found
    -- Looking for strlcat
    -- Looking for strlcat - not found
    -- Looking for strsignal
    -- Looking for strsignal - found
    -- Looking for fgetln
    -- Looking for fgetln - not found
    -- Looking for strsep
    -- Looking for strsep - found
    -- Looking for tell
    -- Looking for tell - not found
    -- Looking for vasprintf
    -- Looking for vasprintf - found
    -- Looking for memalign
    -- Looking for memalign - found
    -- Looking for nl_langinfo
    -- Looking for nl_langinfo - found
    -- Looking for ntohll
    -- Looking for ntohll - not found
    -- Looking for clock_gettime
    -- Looking for clock_gettime - found
    -- Looking for epoll_create
    -- Looking for epoll_create - found
    -- Looking for inet_ntop
    -- Looking for inet_ntop - found
    -- Looking for kqueue
    -- Looking for kqueue - not found
    -- Looking for timeradd
    -- Looking for timeradd - found
    -- Looking for timerclear
    -- Looking for timerclear - found
    -- Looking for timercmp
    -- Looking for timercmp - found
    -- Looking for timerisset
    -- Looking for timerisset - found
    -- Looking for include file sys/time.h
    -- Looking for include file sys/time.h - found
    -- Looking for include file sys/times.h
    -- Looking for include file sys/times.h - found
    -- Looking for times
    -- Looking for times - found
    -- Looking for gettimeofday
    -- Looking for gettimeofday - found
    -- Looking for lrand48
    -- Looking for lrand48 - found
    -- Looking for TIOCGWINSZ
    -- Looking for TIOCGWINSZ - found
    -- Looking for FIONREAD
    -- Looking for FIONREAD - found
    -- Looking for FIONREAD
    -- Looking for FIONREAD - not found
    -- Looking for SIGEV_THREAD_ID
    -- Looking for SIGEV_THREAD_ID - found
    -- Looking for SIGEV_PORT
    -- Looking for SIGEV_PORT - not found
    -- Looking for log2
    -- Looking for log2 - found
    -- Looking for isinf
    -- Looking for isinf - found
    -- Performing Test HAVE_CXX_ISINF
    -- Performing Test HAVE_CXX_ISINF - Success
    -- Looking for timer_create
    -- Looking for timer_create - found
    -- Looking for timer_settime
    -- Looking for timer_settime - found
    -- Looking for kqueue
    -- Looking for kqueue - not found
    -- Looking for EVFILT_TIMER
    -- Looking for EVFILT_TIMER - not found
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- Check size of char *
    -- Check size of char * - done
    -- Check size of long
    -- Check size of long - done
    -- Check size of short
    -- Check size of short - done
    -- Check size of int
    -- Check size of int - done
    -- Check size of long long
    -- Check size of long long - done
    -- Check size of off_t
    -- Check size of off_t - done
    -- Check size of time_t
    -- Check size of time_t - done
    -- Check size of struct timespec
    -- Check size of struct timespec - done
    -- Check size of uint
    -- Check size of uint - done
    -- Check size of ulong
    -- Check size of ulong - done
    -- Check size of u_int32_t
    -- Check size of u_int32_t - done
    -- Performing Test HAVE_VISIBILITY_HIDDEN
    -- Performing Test HAVE_VISIBILITY_HIDDEN - Success
    -- Checking stack direction : -1
    -- Looking for include files time.h, sys/time.h
    -- Looking for include files time.h, sys/time.h - found
    -- Looking for O_NONBLOCK
    -- Looking for O_NONBLOCK - found
    -- Performing Test HAVE_PAUSE_INSTRUCTION
    -- Performing Test HAVE_PAUSE_INSTRUCTION - Success
    -- Performing Test HAVE_BUILTIN_UNREACHABLE
    -- Performing Test HAVE_BUILTIN_UNREACHABLE - Success
    -- Performing Test HAVE_BUILTIN_EXPECT
    -- Performing Test HAVE_BUILTIN_EXPECT - Success
    -- Performing Test HAVE_BUILTIN_STPCPY
    -- Performing Test HAVE_BUILTIN_STPCPY - Success
    -- Performing Test HAVE_GCC_ATOMIC_BUILTINS
    -- Performing Test HAVE_GCC_ATOMIC_BUILTINS - Success
    -- Performing Test HAVE_GCC_SYNC_BUILTINS
    -- Performing Test HAVE_GCC_SYNC_BUILTINS - Success
    -- Looking for netinet/in6.h
    -- Looking for netinet/in6.h - not found
    -- Check size of struct sockaddr_in6
    -- Check size of struct sockaddr_in6 - done
    -- Check size of struct in6_addr
    -- Check size of struct in6_addr - done
    -- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY
    -- Performing Test HAVE_SOCKADDR_STORAGE_SS_FAMILY - Success
    -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN
    -- Performing Test HAVE_SOCKADDR_IN_SIN_LEN - Failed
    -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN
    -- Performing Test HAVE_SOCKADDR_IN6_SIN6_LEN - Failed
    -- Performing Test HAVE_IMPLICIT_DEPENDENT_NAME_TYPING
    -- Performing Test HAVE_IMPLICIT_DEPENDENT_NAME_TYPING - Failed
    -- Looking for chown
    -- Looking for chown - found
    -- Looking for include file numa.h
    -- Looking for include file numa.h - not found
    -- Looking for include file numaif.h
    -- Looking for include file numaif.h - not found
    -- NUMA library missing or required version not available
    -- Check size of socklen_t
    -- Check size of socklen_t - failed
    -- Looking for crc32
    -- Looking for crc32 - found
    -- Looking for compressBound
    -- Looking for compressBound - found
    -- Looking for deflateBound
    -- Looking for deflateBound - found
    -- Performing Test HAVE_NO_UNUSED_CONST_VAR
    -- Performing Test HAVE_NO_UNUSED_CONST_VAR - Success
    -- Check size of mbstate_t
    -- Check size of mbstate_t - done
    -- Performing Test HAVE_LANGINFO_CODESET
    -- Performing Test HAVE_LANGINFO_CODESET - Success
    -- Looking for wcsdup
    -- Looking for wcsdup - found
    -- Check size of wchar_t
    -- Check size of wchar_t - done
    -- Check size of wint_t
    -- Check size of wint_t - done
    -- Found Curses: /usr/lib64/libcurses.so
    -- Looking for tputs in /usr/lib64/libcurses.so
    -- Looking for tputs in /usr/lib64/libcurses.so - found
    -- Performing Test HAVE_DECL_TGOTO
    -- Performing Test HAVE_DECL_TGOTO - Success
    -- Looking for strvis
    -- Looking for strvis - not found
    -- Looking for strunvis
    -- Looking for strunvis - not found
    -- WITH_PROTOBUF=bundled
    -- Performing Test HAVE_NO_SIGN_COMPARE
    -- Performing Test HAVE_NO_SIGN_COMPARE - Success
    -- Performing Test HAVE_NO_UNUSED_TYPEDEFS
    -- Performing Test HAVE_NO_UNUSED_TYPEDEFS - Success
    -- Performing Test HAVE_NO_IGNORED_QUALIFIERS
    -- Performing Test HAVE_NO_IGNORED_QUALIFIERS - Success
    -- Performing Test HAVE_NO_RETURN_TYPE
    -- Performing Test HAVE_NO_RETURN_TYPE - Success
    -- Performing Test HAVE_NO_UNUSED_FUNCTION
    -- Performing Test HAVE_NO_UNUSED_FUNCTION - Success
    -- Performing Test HAVE_MAYBE_UNINITIALIZED
    -- Performing Test HAVE_MAYBE_UNINITIALIZED - Success
    -- Performing Test HAVE_UNUSED_BUT_SET
    -- Performing Test HAVE_UNUSED_BUT_SET - Success
    -- protobuf version is 2.6
    -- You need to set WITH_CURL. This variable needs to point to curl library.
    -- Performing Test HAVE_SYS_THREAD_SELFID
    -- Performing Test HAVE_SYS_THREAD_SELFID - Failed
    -- Performing Test HAVE_SYS_GETTID
    -- Performing Test HAVE_SYS_GETTID - Success
    -- Performing Test HAVE_PTHREAD_SETNAME_NP
    -- Performing Test HAVE_PTHREAD_SETNAME_NP - Failed
    -- Performing Test HAVE_PTHREAD_GETTHREADID_NP
    -- Performing Test HAVE_PTHREAD_GETTHREADID_NP - Failed
    -- Performing Test HAVE_INTEGER_PTHREAD_SELF
    -- Performing Test HAVE_INTEGER_PTHREAD_SELF - Success
    -- Performing Test HAVE_NO_BUILTIN_MEMCMP
    -- Performing Test HAVE_NO_BUILTIN_MEMCMP - Success
    -- Looking for sched_getcpu
    -- Looking for sched_getcpu - found
    -- Looking for nanosleep
    -- Looking for nanosleep - found
    -- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE
    -- Performing Test HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE - Success
    -- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE
    -- Performing Test HAVE_IB_GCC_SYNC_SYNCHRONISE - Success
    -- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE
    -- Performing Test HAVE_IB_GCC_ATOMIC_THREAD_FENCE - Success
    -- Performing Test HAVE_IB_GCC_ATOMIC_COMPARE_EXCHANGE
    -- Performing Test HAVE_IB_GCC_ATOMIC_COMPARE_EXCHANGE - Success
    -- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC
    -- Performing Test HAVE_IB_ATOMIC_PTHREAD_T_GCC - Success
    -- Performing Test HAVE_IB_LINUX_FUTEX
    -- Performing Test HAVE_IB_LINUX_FUTEX - Success
    -- Looking for asprintf
    -- Looking for asprintf - found
    -- Using cmake version 2.8.12.2
    -- Performing Test HAVE_UNUSED_BUT_SET_VARIABLE
    -- Performing Test HAVE_UNUSED_BUT_SET_VARIABLE - Success
    -- Disabling -Wunused-but-set-variable warning for building NDB
    -- Performing Test HAVE_STRICT_ALIASING
    -- Performing Test HAVE_STRICT_ALIASING - Success
    -- Disabling -Wstrict-aliasing warning for building NDB
    -- Not building NDB
    -- Building with TokuDB storage engine = 1
    -- Performing Test HAVE_STDCXX11
    -- Performing Test HAVE_STDCXX11 - Success
    -- Performing Test TOKUDB_OK
    -- Performing Test TOKUDB_OK - Success
    -- Performing Test HAVE_C__Wno_missing_field_initializers
    -- Performing Test HAVE_C__Wno_missing_field_initializers - Success
    -- Performing Test HAVE_CXX__Wno_missing_field_initializers
    -- Performing Test HAVE_CXX__Wno_missing_field_initializers - Success
    -- Performing Test HAVE_C__Wno_vla
    -- Performing Test HAVE_C__Wno_vla - Success
    -- Performing Test HAVE_CXX__Wno_vla
    -- Performing Test HAVE_CXX__Wno_vla - Success
    -- Looking for include file bits/functexcept.h
    -- Looking for include file bits/functexcept.h - not found
    -- Looking for include file byteswap.h
    -- Looking for include file byteswap.h - found
    -- Looking for include file endian.h
    -- Looking for include file endian.h - found
    -- Looking for include file fcntl.h
    -- Looking for include file fcntl.h - found
    -- Looking for include file inttypes.h
    -- Looking for include file inttypes.h - found
    -- Looking for include file libkern/OSAtomic.h
    -- Looking for include file libkern/OSAtomic.h - not found
    -- Looking for include file libkern/OSByteOrder.h
    -- Looking for include file libkern/OSByteOrder.h - not found
    -- Looking for include file limits.h
    -- Looking for include file limits.h - found
    -- Looking for include file machine/endian.h
    -- Looking for include file machine/endian.h - not found
    -- Looking for include file malloc/malloc.h
    -- Looking for include file malloc/malloc.h - not found
    -- Looking for include file malloc_np.h
    -- Looking for include file malloc_np.h - not found
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for include file pthread_np.h
    -- Looking for include file pthread_np.h - not found
    -- Looking for include file stdlib.h
    -- Looking for include file stdlib.h - found
    -- Looking for include file string.h
    -- Looking for include file string.h - found
    -- Looking for include file syscall.h
    -- Looking for include file syscall.h - found
    -- Looking for include file sys/endian.h
    -- Looking for include file sys/endian.h - not found
    -- Looking for include file sys/file.h
    -- Looking for include file sys/file.h - found
    -- Looking for include file sys/malloc.h
    -- Looking for include file sys/malloc.h - not found
    -- Looking for include file sys/prctl.h
    -- Looking for include file sys/prctl.h - found
    -- Looking for include file sys/statvfs.h
    -- Looking for include file sys/statvfs.h - found
    -- Looking for include file sys/syscall.h
    -- Looking for include file sys/syscall.h - found
    -- Looking for include file sys/sysctl.h
    -- Looking for include file sys/sysctl.h - found
    -- Looking for include file sys/syslimits.h
    -- Looking for include file sys/syslimits.h - not found
    -- Looking for M_MMAP_THRESHOLD
    -- Looking for M_MMAP_THRESHOLD - found
    -- Looking for CLOCK_REALTIME
    -- Looking for CLOCK_REALTIME - found
    -- Looking for O_DIRECT
    -- Looking for O_DIRECT - found
    -- Looking for F_NOCACHE
    -- Looking for F_NOCACHE - not found
    -- Looking for MAP_ANONYMOUS
    -- Looking for MAP_ANONYMOUS - found
    -- Looking for PR_SET_PTRACER
    -- Looking for PR_SET_PTRACER - found
    -- Looking for PR_SET_PTRACER_ANY
    -- Looking for PR_SET_PTRACER_ANY - found
    -- Looking for malloc_size
    -- Looking for malloc_size - not found
    -- Looking for malloc_usable_size
    -- Looking for malloc_usable_size - found
    -- Looking for valloc
    -- Looking for valloc - found
    -- Looking for nrand48
    -- Looking for nrand48 - found
    -- Looking for random_r
    -- Looking for random_r - found
    -- Looking for mincore
    -- Looking for mincore - found
    -- Looking for dlsym
    -- Looking for dlsym - not found
    -- Looking for dlsym
    -- Looking for dlsym - found
    -- Looking for backtrace
    -- Looking for backtrace - found
    -- Looking for pthread_rwlockattr_setkind_np
    -- Looking for pthread_rwlockattr_setkind_np - found
    -- Looking for pthread_yield
    -- Looking for pthread_yield - found
    -- Looking for pthread_yield_np
    -- Looking for pthread_yield_np - not found
    -- Checking prototype pthread_yield for PTHREAD_YIELD_RETURNS_VOID - False
    -- Performing Test PTHREAD_YIELD_RETURNS_INT
    -- Performing Test PTHREAD_YIELD_RETURNS_INT - Success
    -- Performing Test HAVE_GNU_TLS
    -- Performing Test HAVE_GNU_TLS - Success
    -- Performing Test HAVE_C_-Wno-missing-field-initializers
    -- Performing Test HAVE_C_-Wno-missing-field-initializers - Success
    -- Performing Test HAVE_CXX_-Wno-missing-field-initializers
    -- Performing Test HAVE_CXX_-Wno-missing-field-initializers - Success
    -- Performing Test HAVE_C_-Wstrict-null-sentinel
    -- Performing Test HAVE_C_-Wstrict-null-sentinel - Failed
    -- Performing Test HAVE_CXX_-Wstrict-null-sentinel
    -- Performing Test HAVE_CXX_-Wstrict-null-sentinel - Success
    -- Performing Test HAVE_C_-Winit-self
    -- Performing Test HAVE_C_-Winit-self - Success
    -- Performing Test HAVE_CXX_-Winit-self
    -- Performing Test HAVE_CXX_-Winit-self - Success
    -- Performing Test HAVE_C_-Wswitch
    -- Performing Test HAVE_C_-Wswitch - Success
    -- Performing Test HAVE_CXX_-Wswitch
    -- Performing Test HAVE_CXX_-Wswitch - Success
    -- Performing Test HAVE_C_-Wtrampolines
    -- Performing Test HAVE_C_-Wtrampolines - Success
    -- Performing Test HAVE_CXX_-Wtrampolines
    -- Performing Test HAVE_CXX_-Wtrampolines - Success
    -- Performing Test HAVE_C_-Wlogical-op
    -- Performing Test HAVE_C_-Wlogical-op - Success
    -- Performing Test HAVE_CXX_-Wlogical-op
    -- Performing Test HAVE_CXX_-Wlogical-op - Success
    -- Performing Test HAVE_C_-Wmissing-format-attribute
    -- Performing Test HAVE_C_-Wmissing-format-attribute - Success
    -- Performing Test HAVE_CXX_-Wmissing-format-attribute
    -- Performing Test HAVE_CXX_-Wmissing-format-attribute - Success
    -- Performing Test HAVE_C_-Wno-error=missing-format-attribute
    -- Performing Test HAVE_C_-Wno-error=missing-format-attribute - Success
    -- Performing Test HAVE_CXX_-Wno-error=missing-format-attribute
    -- Performing Test HAVE_CXX_-Wno-error=missing-format-attribute - Success
    -- Performing Test HAVE_C_-Wno-error=address-of-array-temporary
    -- Performing Test HAVE_C_-Wno-error=address-of-array-temporary - Failed
    -- Performing Test HAVE_CXX_-Wno-error=address-of-array-temporary
    -- Performing Test HAVE_CXX_-Wno-error=address-of-array-temporary - Failed
    -- Performing Test HAVE_C_-Wno-error=tautological-constant-out-of-range-compare
    -- Performing Test HAVE_C_-Wno-error=tautological-constant-out-of-range-compare - Failed
    -- Performing Test HAVE_CXX_-Wno-error=tautological-constant-out-of-range-compare
    -- Performing Test HAVE_CXX_-Wno-error=tautological-constant-out-of-range-compare - Failed
    -- Performing Test HAVE_C_-Wno-error=maybe-uninitialized
    -- Performing Test HAVE_C_-Wno-error=maybe-uninitialized - Success
    -- Performing Test HAVE_CXX_-Wno-error=maybe-uninitialized
    -- Performing Test HAVE_CXX_-Wno-error=maybe-uninitialized - Success
    -- Performing Test HAVE_C_-Wno-ignored-attributes
    -- Performing Test HAVE_C_-Wno-ignored-attributes - Failed
    -- Performing Test HAVE_CXX_-Wno-ignored-attributes
    -- Performing Test HAVE_CXX_-Wno-ignored-attributes - Failed
    -- Performing Test HAVE_C_-Wno-error=extern-c-compat
    -- Performing Test HAVE_C_-Wno-error=extern-c-compat - Failed
    -- Performing Test HAVE_CXX_-Wno-error=extern-c-compat
    -- Performing Test HAVE_CXX_-Wno-error=extern-c-compat - Failed
    -- Performing Test HAVE_C_-Wno-pointer-bool-conversion
    -- Performing Test HAVE_C_-Wno-pointer-bool-conversion - Failed
    -- Performing Test HAVE_CXX_-Wno-pointer-bool-conversion
    -- Performing Test HAVE_CXX_-Wno-pointer-bool-conversion - Failed
    -- Performing Test HAVE_C_-fno-rtti
    -- Performing Test HAVE_C_-fno-rtti - Failed
    -- Performing Test HAVE_CXX_-fno-rtti
    -- Performing Test HAVE_CXX_-fno-rtti - Success
    -- Performing Test HAVE_C_-fno-exceptions
    -- Performing Test HAVE_C_-fno-exceptions - Success
    -- Performing Test HAVE_CXX_-fno-exceptions
    -- Performing Test HAVE_CXX_-fno-exceptions - Success
    -- Performing Test HAVE_C_-Wno-error=nonnull-compare
    -- Performing Test HAVE_C_-Wno-error=nonnull-compare - Failed
    -- Performing Test HAVE_CXX_-Wno-error=nonnull-compare
    -- Performing Test HAVE_CXX_-Wno-error=nonnull-compare - Failed
    -- Performing Test HAVE_C_-Wpacked
    -- Performing Test HAVE_C_-Wpacked - Success
    -- Performing Test HAVE_CXX_-Wpacked
    -- Performing Test HAVE_CXX_-Wpacked - Success
    -- Performing Test HAVE_C_-fno-omit-frame-pointer
    -- Performing Test HAVE_C_-fno-omit-frame-pointer - Success
    -- Performing Test HAVE_CXX_-fno-omit-frame-pointer
    -- Performing Test HAVE_CXX_-fno-omit-frame-pointer - Success
    -- Performing Test HAVE_C_-Wno-error=strict-overflow
    -- Performing Test HAVE_C_-Wno-error=strict-overflow - Success
    -- Performing Test HAVE_CXX_-Wno-error=strict-overflow
    -- Performing Test HAVE_CXX_-Wno-error=strict-overflow - Success
    -- Performing Test HAVE_-Wno-error=strict-overflow
    -- Performing Test HAVE_-Wno-error=strict-overflow - Success
    -- Performing Test HAVE_C_-Wextra
    -- Performing Test HAVE_C_-Wextra - Success
    -- Performing Test HAVE_CXX_-Wextra
    -- Performing Test HAVE_CXX_-Wextra - Success
    -- Performing Test HAVE_C_-Wbad-function-cast
    -- Performing Test HAVE_C_-Wbad-function-cast - Success
    -- Performing Test HAVE_CXX_-Wbad-function-cast
    -- Performing Test HAVE_CXX_-Wbad-function-cast - Failed
    -- Performing Test HAVE_C_-Wno-missing-noreturn
    -- Performing Test HAVE_C_-Wno-missing-noreturn - Success
    -- Performing Test HAVE_CXX_-Wno-missing-noreturn
    -- Performing Test HAVE_CXX_-Wno-missing-noreturn - Success
    -- Performing Test HAVE_C_-Wstrict-prototypes
    -- Performing Test HAVE_C_-Wstrict-prototypes - Success
    -- Performing Test HAVE_CXX_-Wstrict-prototypes
    -- Performing Test HAVE_CXX_-Wstrict-prototypes - Failed
    -- Performing Test HAVE_C_-Wmissing-prototypes
    -- Performing Test HAVE_C_-Wmissing-prototypes - Success
    -- Performing Test HAVE_CXX_-Wmissing-prototypes
    -- Performing Test HAVE_CXX_-Wmissing-prototypes - Failed
    -- Performing Test HAVE_C_-Wmissing-declarations
    -- Performing Test HAVE_C_-Wmissing-declarations - Success
    -- Performing Test HAVE_CXX_-Wmissing-declarations
    -- Performing Test HAVE_CXX_-Wmissing-declarations - Success
    -- Performing Test HAVE_C_-Wpointer-arith
    -- Performing Test HAVE_C_-Wpointer-arith - Success
    -- Performing Test HAVE_CXX_-Wpointer-arith
    -- Performing Test HAVE_CXX_-Wpointer-arith - Success
    -- Performing Test HAVE_C_-Wshadow
    -- Performing Test HAVE_C_-Wshadow - Success
    -- Performing Test HAVE_CXX_-Wshadow
    -- Performing Test HAVE_CXX_-Wshadow - Success
    -- Performing Test HAVE_C_-Wcast-align
    -- Performing Test HAVE_C_-Wcast-align - Success
    -- Performing Test HAVE_CXX_-Wcast-align
    -- Performing Test HAVE_CXX_-Wcast-align - Success
    -- Performing Test HAVE_STDCXX0X
    -- Performing Test HAVE_STDCXX0X - Success
    -- Building with MyRocks storage engine = 1
    -- Looking for include file linux/falloc.h
    -- Looking for include file linux/falloc.h - found
    -- Looking for fallocate
    -- Looking for fallocate - found
    -- Looking for pam_authenticate in pam
    -- Looking for pam_authenticate in pam - found
    -- Looking for getpwnam_r
    -- Looking for getpwnam_r - found
    -- Looking for getgrgid_r
    -- Looking for getgrgid_r - found
    -- Looking for include file security/pam_misc.h
    -- Looking for include file security/pam_misc.h - found
    -- Looking for include file security/openpam.h
    -- Looking for include file security/openpam.h - not found
    -- Looking for CLOCK_REALTIME
    -- Looking for CLOCK_REALTIME - found
    -- Performing Test HAVE_STDCXX03
    -- Performing Test HAVE_STDCXX03 - Success
    -- tokudb-backup-plugin include backup HotBackup
    -- Performing Test HAVE_UNUSED_TYPEDEFS
    -- Performing Test HAVE_UNUSED_TYPEDEFS - Success
    -- Performing Test HAVE_PEERCRED
    -- Performing Test HAVE_PEERCRED - Success
    -- Using Boost headers from /root/percona-server-5.7.19-17/boost_1_59_0
    -- Performing Test CXX_HAVE_SIGN_COMPARE
    -- Performing Test CXX_HAVE_SIGN_COMPARE - Success
    -- Performing Test CXX_HAVE_UNUSED_VARIABLE
    -- Performing Test CXX_HAVE_UNUSED_VARIABLE - Success
    -- MYSQLX - Text log of protobuf messages enabled
    -- Performing Test HAVE_UNUSED_PARAMETER
    -- Performing Test HAVE_UNUSED_PARAMETER - Success
    -- Looking for le64toh
    -- Looking for le64toh - found
    -- Looking for le32toh
    -- Looking for le32toh - found
    -- Looking for le16toh
    -- Looking for le16toh - found
    -- Looking for htole64
    -- Looking for htole64 - found
    -- Looking for htole32
    -- Looking for htole32 - found
    -- Looking for htole16
    -- Looking for htole16 - found
    -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN
    -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Failed
    -- Performing Test HAVE_STRUCT_IFREQ_IFR_NAME
    -- Performing Test HAVE_STRUCT_IFREQ_IFR_NAME - Success
    -- Performing Test HAVE_XDR_OPS_X_PUTINT32
    -- Performing Test HAVE_XDR_OPS_X_PUTINT32 - Success
    -- Performing Test HAVE_XDR_OPS_X_GETINT32
    -- Performing Test HAVE_XDR_OPS_X_GETINT32 - Success
    -- Performing Test HAVE___CONST
    -- Performing Test HAVE___CONST - Success
    -- Performing Test HAVE_RPC_INLINE_T
    -- Performing Test HAVE_RPC_INLINE_T - Failed
    -- Performing Test OLD_XDR
    -- Performing Test OLD_XDR - Failed
    -- Performing Test X_GETPOSTN_NOT_USE_CONST
    -- Performing Test X_GETPOSTN_NOT_USE_CONST - Success
    -- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES
    -- Performing Test HAS_INCOMPATIBLE_POINTER_TYPES - Failed
    -- Performing Test X_PUTLONG_NOT_USE_CONST
    -- Performing Test X_PUTLONG_NOT_USE_CONST - Failed
    -- Creating LDAP authentication SASL client library.
    -- Looking for include file sasl/sasl.h
    -- Looking for include file sasl/sasl.h - not found
    -- Looking for include file lber.h
    -- Looking for include file lber.h - not found
    -- Required SASL library is missing. Skipping the LDAP SASL client authentication plugin.
    -- Library perconaserverclient depends on OSLIBS -lpthread;/usr/lib64/libz.so;m;rt;dl
    -- Check size of long long
    -- Check size of long long - done
    -- Check size of long
    -- Check size of long - done
    -- Check size of int
    -- Check size of int - done
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    -- Googletest was not found. gtest-based unit tests will be disabled. You can run cmake . -DENABLE_DOWNLOADS=1 to automatically download and build required components from source.
    -- If you are inside a firewall, you may need to use an https proxy: export https_proxy=http://example.com:80
    -- Performing Test HAVE_MISLEADING_INDENTATION
    -- Performing Test HAVE_MISLEADING_INDENTATION - Failed
    -- INSTALL perconaserverclient.pc lib/pkgconfig
    -- Skipping deb packaging on unsupported platform .
    -- CMAKE_BUILD_TYPE: RelWithDebInfo
    -- COMPILE_DEFINITIONS: _GNU_SOURCE;_FILE_OFFSET_BITS=64;HAVE_CONFIG_H;HAVE_LIBEVENT1
    -- CMAKE_C_FLAGS: -fPIC -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement
    -- CMAKE_CXX_FLAGS: -fPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter
    -- CMAKE_C_LINK_FLAGS:
    -- CMAKE_CXX_LINK_FLAGS:
    -- CMAKE_C_FLAGS_RELWITHDEBINFO: -O3 -D_FORTIFY_SOURCE=2 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
    -- CMAKE_CXX_FLAGS_RELWITHDEBINFO: -O3 -D_FORTIFY_SOURCE=2 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /root/percona-server-5.7.19-17/debug

MySQL5.7 编译安装的更多相关文章

  1. Linux中MySQL5.6编译安装与MySQL5.7二进制安装步骤

    首先,介绍一下MySQL的几种安装方式 1.RPM.Yum 的安装方式:安装方便.安装速度快,无法定制 2.二进制:不需要安装,解压即可使用,不能定制功能 3.编译安装:可定制,安装慢. 编译安装中需 ...

  2. centos7.2 mysql5.5编译安装

    环境 centos7.2 源码包mysql5.5.38 mysql5.5开始,源码配置编译工具configure变成了cmake,所以先要去把cmake装上.并安装make,bison,cmake,g ...

  3. mysql5.5编译安装

    MySQL是一个关系型数据库管理系统 ,由瑞典MySQL AB公司开发,目前属于Oracle 公司.MySQL分为社区版和商业版,由于其体积小.速度快.总体拥有成本低,尤其是开放源码 这一特点,一般中 ...

  4. mysql5.6编译安装

    1.安装编译源码所需的工具和库 yum install gcc gcc-c++ ncurses-devel perl -y yum -y install wget gcc-c++ ncurses nc ...

  5. MySQL5.5编译安装以及Debug

    MySQL5.5以上版本安装是需要cmake 安装步骤: 设置编译参数cmake  -DCMAKE_INSTALL_PREFIX='/data1/guosong/mysql_debug'  -DDEF ...

  6. mysql5.5编译安装过程(自己总结)

    一,安装过程 //创建mysql安装目录,创建数据存放目录,创建用户和用户组与赋予数据存放目录权限 mkdir -p /usr/local/mysql/ mkdir -p /data/mysql/ g ...

  7. CentOS MySql5.6编译安装

    生产环境中,mysql服务器上边最好什么服务都不要再安装!!! 一.准备工作: # yum -y install make gcc-c++ cmake bison-devel ncurses-deve ...

  8. CentOS7.5源码编译安装mysql5.7.29

    #查看系统版本 [root@ctos3 ~]# cat /etc/redhat-release CentOS Linux release (Core) #下载源码包,需要注意的是mysql5.7 编译 ...

  9. 【转】linux 编译安装nginx,配置自启动脚本

    linux 编译安装nginx,配置自启动脚本 本文章来给各位同学介绍一篇关于linux 编译安装nginx,配置自启动脚本教程,希望有需要了解的朋友可一起来学习学习哦. 在公司的suse服务器装ng ...

随机推荐

  1. Spring Boot Starter 的基本封装

    1)spring-boot-starter这是Spring Boot的核心启动器,包含了自动配置.日志和YAML. 2)spring-boot-starter-amqp通过spring-rabbit来 ...

  2. Python Pandas 时间序列双轴折线图

    时间序列pv-gmv双轴折线图 import numpy as np import pandas as pd import matplotlib.pyplot as plt n = 12 date_s ...

  3. C++对windows控制面板的操作

    经常碰到程序无法卸载, 就老是骂微软搞的什么安装方式,安装好了不能卸载. 后来就打算研究一下windows是如何卸载程序的,一个程序安装完后留下了什么信息用于后面的卸载. 研究对象win7 64位, ...

  4. 原生js的remove方法代表删除节点

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...

  5. 异常HTTP Status 500 - Illegal access to constructor, is it public? java.lang.IllegalAccessException: Class com.opensymphony.xwork2.ObjectFactory can not access a member of class action.CoreAction with

    Exception report message Illegal access to constructor, is it public? description The server encount ...

  6. PHP计算年龄

    <?php $birthday = strtotime('1992-10-03'); $time = time();//2019-03-14; function datediffage($bir ...

  7. SparkContext初始化之SparkScheduler初始化

  8. OC 使用CIFilter添加图片

    +(UIImage *)createInviteImgWithUserCodeStr:(NSString *)userCode{ userCode = [NSString stringWithForm ...

  9. Ubuntu虚拟机识别不了SD卡的解决办法

    前提,你的虚拟机已经安装了VMware Tools. Step 1: 出现这种情况先查看计算机中的虚拟机的VMware USB Arbitration Service是否启用(注意是VMware US ...

  10. python框架之Django(14)-rest_framework模块

    APIView django原生View post请求 from django.shortcuts import render, HttpResponse from django import vie ...