1.Linux view number of digits:
Uname-p
x86_64
Uname-a
64-bit display of Linux PS4 2.6.16.46-0.12-SMP #1 SMP Thu may 14:00:09 UTC, x86_64 x86_64 x86_64 gnu/linux back shows x86_64
32-bit display: Linux fc6 2.6.18-1.2798.fc6 #1 SMP Mon Oct 14:54:20 EDT 2006 i686 i686 i386 gnu/linux
2. Download the Software
Jdk:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
There are two types of Linux downloads:
. RPM: While RPM packages are quite similar to the. exe program in Windows, use RPM-to install;
. Tar.gz:tar quite with the. rar format in Windows compressed package, to use TAR-XZF this command and parameter decompression
Http://zhidao.baidu.com/link?url=Fv14gQPBhAhhBLqPDEZGzb33RWEUTZYshQmWMCoZqp6hsDqRs8MXzwdt-snYHuxYuKoCurtLFKCLkUlDAGFGJa
Resin:http://caucho.com/products/resin/download#download
3. Installing the JDK
(1). See if the system has a JDK installed
Rpm-qa |grep Java to see if Java is installed
Echo $PATH See if the environment variable is configured with a Java path
Find/-name Java lookup Java file
A typical Linux server will bring its own JDK, but the version may be 1.4 too low
Enter the/usr/java path and use RPM-IVH to install the. rpm file.
Installing resin
%post (resin-pro-4.0.40-1.x86_64) Scriptlet failed, exit status 1
View Resin version
Cd/home/resin/lib
Java-classpath./resin.jar com.caucho.Version
Conclusion:
Resin 2.1.11 (built Mon SEP 8 09:36:19 PDT 2003)