East-live

Results 10 comments of East-live

```在错误的文件加上 #include 之后,继续执行make -j12,报如下错``` [ 86%] Linking CXX static library ../../../lib/libmigrate.a [ 86%] Built target migrate Consolidate compiler generated dependencies of target repl_manager [ 87%] Building CXX object src/tendisplus/replication/CMakeFiles/repl_manager.dir/repl_manager.cpp.o [...

这个是我的cmake输出 theling@theling:/opt/project/Tendis/tendis/build$ cmake .. #define TENDISPLUS_GIT_SHA1 "97bf3255" #define TENDISPLUS_GIT_DIRTY "216" /usr/bin/c++ using rocksdb-6.23.3 RocksDB git patch, we apply add-property-rocksdb.levelstatsex-in-rocksdb Committer identity unknown *** Please tell me who you are. Run...

配置了git 的 user name 和 user email后 theling@theling:/opt/project/Tendis/tendis/build$ cmake .. #define TENDISPLUS_GIT_SHA1 "97bf3255" #define TENDISPLUS_GIT_DIRTY "216" /usr/bin/c++ using rocksdb-6.23.3 RocksDB git patch, we apply add-property-rocksdb.levelstatsex-in-rocksdb Applying: add property "rocksdb.levelstatsex" in...

现在是报这个错了 theling@theling:/opt/project/Tendis/tendis/build$ make -j12 [ 0%] Built target filterkeydom [ 0%] Built target lz4_static [ 0%] Built target gflags_nothreads_static [ 0%] Built target lookaheadparser [ 0%] Built target archivertest [...

ok,感谢感谢,编译成功了

怎么运行这个命令./build/bin/tendisplus tendisplus.conf提示找不到文件 theling@theling:/opt/project/Tendis/tendis/build$ ./build/bin/tendisplus tendisplus.conf bash: ./build/bin/tendisplus: No such file or directory

找到了 要在tendis目录下运行

**执行这个命令./build/bin/tendisplus tendisplus.conf,这个输出是启动成功了吗** theling@theling:/opt/project/Tendis/tendis$ ./build/bin/tendisplus tendisplus.conf start server with cfg: allow-cross-slot:no aof-enabled:no aof-psync-num:500 bind:"127.0.0.1" bind2:"" binlog-enabled:yes binlog-save-logs:yes binlog-send-batch:256 binlog-send-bytes:16777216 binlog-using-defaultCF:no binlogFileSecs:1200 binlogFileSizeMB:64 binlogRateLimitMB:64 checkkeytypeforsetcmd:no chunkSize:16384 cluster-allow-replica-migration:no cluster-enabled:no cluster-migration-barrier:1 cluster-migration-batch-size:16 cluster-migration-binlog-iters:10 cluster-migration-distance:10000...

可以连接上了 heling@theling:/opt/project/Tendis/tendis$ redis-cli -h 127.0.0.1 -p 51002 127.0.0.1:51002> 那我怎么指定我的服务器ip,而不是用127.0.0.1呢