概要
公式のインストールガイドにすべて記載されているが備忘として残す。
https://groupsession.jp/support/setup_linux.html
Javaのインストール
# mkdir /usr/local/java # cd /usr/local/java # wget -d https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.7%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.7_10.tar.gz # tar xzvf OpenJDK11U-jdk_x64_linux_hotspot_11.0.7_10.tar.gz # echo "JAVA_HOME=/usr/local/java/jdk-11.0.7+10" >> /root/.bash_profile # echo "PATH=\$JAVA_HOME/bin:\$PATH" >> /root/.bash_profile # echo "export PATH" >> /root/.bash_profile # source /root/.bash_profile # java -version openjdk version "11.0.7" 2020-04-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)
tomcatのインストール
# wget -d http://ftp.kddilabs.jp/infosystems/apache/tomcat/tomcat-9/v9.0.34/bin/apache-tomcat-9.0.34.tar.gz # tar xzvf apache-tomcat-9.0.34.tar.gz # echo "CATALINA_HOME=/usr/local/java/apache-tomcat-9.0.34" >> /root/.bash_profile # echo "PATH=\$CATALINA_HOME/bin:\$PATH" >> /root/.bash_profile # echo "export PATH" >> /root/.bash_profile # source /root/.bash_profile # /usr/local/java/apache-tomcat-9.0.34/bin/startup.sh # /usr/local/java/apache-tomcat-9.0.34/bin/shutdown.sh
GROUPSESSIONのインストール
# wget -d http://dl1.gs.sjts.co.jp/v4/download/files/4.9.5/gsession.war # mv gsession.war /usr/local/java/apache-tomcat-9.0.34/webapps/ # /usr/local/java/apache-tomcat-9.0.34/bin/startup.sh