转载

btProface

btProface
https://www.bt.cn/

CenOS安装btProface指令
yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh

http://108.61.219.107:8888

JDK下载地址Linux X86
http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-i586.rpm?AuthParam=1521027194_0356c00b576450656d0092911eee051e

下载jdk
wget -c http://download.oracle.com/otn-pub/java/jdk/8u161-b12/2f38c3b165be4555a1fa6e98c45e0808/jdk-8u161-linux-i586.rpm?AuthParam=1521027194_0356c00b576450656d0092911eee051e

安装jdk
rpm -ivh 文件地址+文件名

配置Java环境
vi /etc/profile

JAVA_HOME=/usr/java/jdk1.8.0_161
CLASSPATH=%JAVA_HOME%/lib:%JAVA_HOME%/jre/lib
PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
export PATH CLASSPATH JAVA_HOME

立即生效
source /etc/profile

tomcat下载
wget -c http://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-8/v8.5.29/bin/apache-tomcat-8.5.29.tar.gz

tomcat安装
tar -zxvf apache-tomcat-8.5.29.tar.gz

cd /root/apache-tomcat-8.5.29
cd /root/apache-tomcat-8.5.29/bin
cd /root/apache-tomcat-8.5.29/webapps/ROOT

vi /etc/profile
TOMCAT_HOME=/root/apache-tomcat-8.5.29/webapps/ROOT


JAVA_OPTS="-Xms512m -Xmx1024m -Xss1024K -XX:PermSize=512m -XX:MaxPermSize=1024m"
export TOMCAT_HOME=/root/apache-tomcat-8.5.29
export CATALINA_HOME=/root/apache-tomcat-8.5.29
export JRE_HOME=/usr/java/jdk1.8.0_161/jre
export JAVA_HOME=/usr/java/jdk1.8.0_161

curl http://localhost:8080


正文到此结束
Loading...