cd <path/to/terracotta/kit>/server/bin ./start-tc-server.sh -f <path/to/server/config>/tc-config.xml
注意:在启动Terracotta服务器前,请先检查需要的java版本。Terracotta5.x需要Java 8的支持。
检查下面的信息日志,以确认服务器是否成功启动, Terracotta Server instance has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9410 successfully, and is now ready for work.
windows下启动成功示例:
Terracotta服务器下载地址:http://www.terracotta.org/open-source/