yum安裝resin4.0

  • 安裝JDKhtml

jdk下載地址java

http://www.oracle.com/technetwork/java/javase/downloads/index.htmllinux

[root@7cest resin]# # wget http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-x64.rpmweb

[root@7cest resin]# rpm -ivh jdk-8u111-linux-x64.rpmwindows

[root@7cest resin]# java -versionoracle

java version "1.8.0_111"app

Java(TM) SE Runtime Environment (build 1.8.0_111-b14)webapp

Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)tcp

 

2、安裝resin4.0ide

[root@7cest resin]# wget http://www.caucho.com/download/rpm-6.8/4.0.49/x86_64/resin-pro-4.0.49-1.x86_64.rpm

[root@7cest resin]# wget http://caucho.com/download/rpm/RPM-GPG-KEY-caucho

[root@7cest resin]# ls

jdk-8u111-linux-x64.rpm  resin-pro-4.0.49-1.x86_64.rpm  RPM-GPG-KEY-caucho

[root@7cest resin]# rpm --import RPM-GPG-KEY-caucho

[root@7cest resin]# yum install openssl-devel –y

[root@7cest resin]# rpm -Uvh resin-pro-4.0.49-1.x86_64.rpm

默認文件狀況:

root@7cest ~]# cd /etc/resin/

[root@7cest resin]# ls         #網站配置文件

app-default.xml  cluster-default.xml  health.xmlkeys  licenses  resin.properties  resin.xml

[root@7cest resin]# ls /var/resin/        #resin應用程序文件

app-infdoc  endorsed  logproject-jars  resin-data  resin-infwatchdog-data  webapp-jars  webapps

[root@7cest resin]# ls /usr/local/share/resin       #resin庫文件和bin文件

binlib  libexec64

 

 

官網說明:

http://www.caucho.com/resin-4.0/admin/starting-resin.xtp

When Resin is installed on a Unix system:

Unix Directories

/etc/resin/resin.properties  # configuration properties

/etc/resin/resin.xml         # configuration file

/etc/resin/licenses/         # license location

/etc/resin/keys/             # openssl keys

 

/var/resin/                  # resin.root (content)

/var/resin/webapps/          # default deployment directory

 

/var/log/resin/              # resin logs

 

/usr/local/share/resin/      # resin.home (binaries and libraries)

When Resin is installed on a Windows system:

啓動設置:

[root@7cest ~]# resinctl start

[root@7cest ~]# /sbin/chkconfig resin on

[root@7cest ~]# /etc/init.d/resin restart

[root@7cest ~]# ss -tunlp | grep java

tcpLISTEN     0      128127.0.0.1:6800                  *:*users:(("java",pid=3923,fd=44))

tcpLISTEN     0      128127.0.0.1:6600                  *:*users:(("java",pid=3876,fd=31))

tcpLISTEN     0      128:::8080                 :::*users:(("java",pid=3923,fd=53))

 

 

配置網站登陸:

1、防火牆配置:

[root@7cest resin]# firewall-cmd --zone=public --add-port=8080/tcp --permanent

success

[root@7cest resin]# firewall-cmd --zone=public --add-port=6600/tcp --permanent

success

[root@7cest resin]# firewall-cmd --zone=public --add-port=6800/tcp --permanent

success

[root@7cest resin]# firewall-cmd –reload

 

2windows客戶端web網頁登陸

http://192.168.137.200:8080/

相關文章
相關標籤/搜索