Linux centos7 sbt installation configuration

L inux SBT Installation Configuration 

1.sbt official website to download , xFTP into / opt / SBT under :

2. unzip :

3. cd SBT  , vim SBT , edit the following, save and exit.   

 

 

4. Authorization : chmod u + x ./sbt

5. Configuration Environment variables:

v in   / etc / profile:

Add: Export the PATH = / opt / SBT / SBT /: $ the PATH

6. Update the configuration file: Source  / etc / Profile

7. versions: SBT sbtVersion 

Above .

Annex : Linux in to compile the project code, to be set up about three steps:

1. Replace / opt / SBT / SBT / the conf under repo.properties  
2. Replace / opt / SBT / SBT / bin under the sbt-launch.jar  
3. Replace /root/.ivy2 under the cache directory  

 

 

Guess you like

Origin www.cnblogs.com/frantz/p/11469969.html