terracotta安装配置

  1. terracotta下载 terracotta
  2. terracotta配置
    解压terracotta,如解压到d盘。进入terracotta->config-samples,将tc-config-express-reference.xml复制为tc-config.xml并修改:


    
        
        
        
         
        
    
    
        production
    
    
        
            /opt/terracotta/server-data
            /opt/terracotta/server-logs
            /opt/terracotta/server-index
            /opt/terracotta/server-statistics
            9510
            9520
            
                120
            
        
    
    
        logs-%i
    

server的host可以为ip或主机名,如果为主机名时,需要修改hosts文件,加上:
主机名 localhost

  1. terracotta启动
    cd到terracotta/bin
    start-tc-server.bat -f ../config-samples/tc-config.xml

你可能感兴趣的:(terracotta安装配置)