UNIX中的set和setenv的问题

zocmiu 2002-01-19 04:07:27
我在UNIX下用的是C Shell环境,常常在设置环境时被set和setenv搞得稀里糊涂,大家有明确的吗?麻烦指点。
...全文
108 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
GrADS - Grid Analysis and Display System Version 1.8 http://grads.iges.org/grads GrADS Executables for UNIX & Linux GrADS is distributed free of charge, however certain copyright restrictions do apply; please read the "Licensing Information" at the end of this file. Versions of GrADS are available for several flavors of UNIX, Linux, PCs running Windows 95/NT or DOS, and MacIntosh computers. For download information consult http://grads.iges.org/grads/downloads.html The executables contained in this tar file are typically placed in the directory /usr/local/bin. If you do not have write permission for your /usr/local/bin directory, you can put them in the ~/bin subdirectory of your home directory. cd /usr/local/bin uncompress tarfile.Z tar xvf tarfile After unpacking the first tar file, you should have the following executables: gradsc Classic GrADS - readline only gradshdf GrADS with NCSA netCDF HDF, LATS, GUI, SDF gradsnc GrADS with unidata netCDF, LATS, GUI, SDF gradsdods DODS-enabled GrADS with unidata netCDF, LATS, GUI, SDF gribmap "Maps" a GRIB data set to a GrADS descriptor file gribscan Extracts grid info from a GRIB data set gxeps Converts GrADS metafiles to Postscript gxtran Displays metafiles stnmap Maps station data wgrib See http://wesley.wwb.noaa.gov/wgrib.html The second tar file (data.tar.Z) contains the GrADS fonts and maps data sets is also necessary and can be downloaded from http://grads.iges.org/grads/downloads.html. The contents of data.tar are typically placed in the directory /usr/local/lib/grads, the default location for these files. If you do not have write permission for /usr/local/lib/grads, you can place the files elsewhere, but you must also change the environment variable GADDIR so the GrADS executables will know where to find these files. cd dirname uncompress data.tar.Z tar xvf data.tar setenv GADDIR dirname (If dirname is not /usr/local/lib/grads) Documentation and Additional Information ---------------------------------------- Consult the GrADS homepage http://grads.iges.org/grads LICENSING INFORMATION --------------------- Grid Analysis and Display System (GrADS) Version 1.8 Copyright (c) 1988-2001 by Brian Doty (Center for Ocean-Land-Atmosphere Interactions, Institute for Global Environment and Society, Calverton, MD 20705) All Rights Reserved. Permission is granted for an individual or institution to use this software provided that: 1) The software is not sold in any way. 2) The software is not redistributed beyond your immediate working group without permission. 3) Attribution is given for any GrADS figures used in publications. 4) This copyright and no-warranty information is kept in a conspicuous location and that all references to this notice are maintained. 5) The user agrees to the following NO WARRANTY notice. NO WARRANTY The Grid Analysis and Display System (GrADS) is provided free of charge, thus is provided "as is" WITHOUT WARRANTY OF ANY KIND, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the GrADS program prove defective, you assume the cost of all necessary servicing, repair, or correction. In no event will Brian Doty and/or the Center for Ocean-Land-Atmosphere Interactions and/or the Institute for Global Environment and Society be liable to you for damages, including any lost profits, lost monies, or other special, incidental or consequential damages arising out of the use or inability to use (including but not limited to loss of data or data be rendered inaccurate or losses sustained by third parties or a failure of the program to operate with other software) the program, even if you have been advised of the possibility of such damages, or for any claim by any other party.
安装说明 本系统的UI界面用 .net 2.0 编写,需要安装 .net 2.0 才能运行。 dotNet framework 下载地址:http://www.microsoft.com/downloads/zh-cn/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5 加密核心用 c++ 编写,可以良好运行在 windows 和 linux 系统下。 系统介绍 Java 类文件加密专家是一款针对Java应用程序Class二进制文件加密的软件,系统核心由纯C语言编写,运行效率极高。传统的Java程序加密的方式多为代码混迹方式,但是无论多么复杂的混迹方式,在使用Java代码反编译程序后还是可以看到代码的逻辑结构,这样并没有彻底的保护好您的代码。 Java 类文件加密专家通过分析Class文件的结构,使用1024位加密算法将Class文件数据加密,任何Java反编译工具均不可能对加密后的文件进行破解。 系统特点 1.采用纯C语言开发的内核算法,运行速度极快。 2.彻底保护您的Class二进制文件,任何通过分析Class文件结构来实现反编译的工具均不能对加密后的文件反编译。 使用方法 在要分发您的Java应用程序前,使用Java 类文件加密专家对所有的Class文件或Jar文件进行加密,在您的系统运行参数加入以下内容: 1.WEB应用程序 在您使用的Java Web Server的启动参数,增加以下内容: -agentlib:\JLoader即可。 举例 : 假设您的Java Web Server为Tomcat,以Windows平台为例,Tomcat的存放目录为C:\Tomcat 5.5 ,JLoader.dll存放在c:\windows目录,在Tomcat的bin目录新建一个文件setenv.bat,setenv.bat的内容:set JAVA_OPTS= -agentlib:c:\windows\JLoader %JAVA_OPTS%,保存setenv.bat文件,重新启动Tomcat后就可以正确加载加密类了。 2.独立的Java应用程序 在您的应用程序运行参数加入以下内容: -agentlib:\JLoader 举例: Test.class文件的package为com.test, 在运行您的Test.class或Jar时使用以下方式:java -agentlib:\JLoader <-classpath 您的.jar文件> com.test.Test。 3.EJB组件 运行加密后的EJB组件的方式与运行WEB应用程序类似,找到您的EJB容器的启动配置文件,加入-agentlib:\JLoader 即可。 4.Linux 下如何使用: 请将 libJLoader.so 复制到系统的 /usr/lib 目录下,然后同样在 Java 启动参数加上 -agentlib:JLoader 即可 应用环境 Java 类文件加密专家只能用在JDK1.5及更新版本的JDK,您在Windows平台下加密后的Class文件不必再修改就可以应用于Linux、Unix等平台。 软件注册 注册费用:300 元,做个小软件赚点钱不容易,请各位多多支持。 如果您需要获得更多关于Java 类文件加密专家的信息或注册软件,请联系邮箱 hsit123@126.com 如果您在国内一些知名网站宣传本工具,我将提供免费提供序列号

系统介绍
JavaClass文件加密专家是一款针对Java应用程序Class二进制文件加密的软件,系统核心由纯C语言编写,运行效率极
高。传统的Java程序加密的方式多为代码混迹方式,但是无论多么复杂的混迹方式,在使用Java代码反编译程序后还是可以看
到代码的逻辑结构,这样并没有彻底的保护好您的代码。
JavaClass文件加密专家通过分析Class文件的结构,将Class二进制代码耗时较多的部份抽出并替换为Native C代码,
并且使用1024位加密算法将Class文件数据加密,任何Java反编译工具均不可能对加密后的文件进行破解。

系统特点
1.采用纯C语言开发的内核算法,运行速度极快。
2.抽出了JVM虚拟机耗时较多的代码,替换为原生C代码去执行,加密后的Class文件运行效率比加密前还要快。
3.彻底保护您的Class二进制文件,任何通过分析Class文件结构来实现反编译的工具均不能对加密后的文件反编译。

使用方法
在要分发您的Java应用程序前,使用JavaClass文件加密专家对所有的Class文件或Jar文件进行加密,在您的系统运行参
加入以下内容:
1.WEB应用程序
在您使用的Java Web Server的启动参数,增加以下内容: -agentlib:\brainysoft即
可。
举例 :
假设您的Java Web Server为Tomcat,以Windows平台为例,Tomcat的存放目录为C:\Tomcat 5.5 ,brainysoft.dll存
放在c:\windows目录,在Tomcat的bin目录新建一个文件setenv.bat,setenv.bat的内容:set JAVA_OPTS= -
agentlib:c:\windows\brainysoft %JAVA_OPTS%,保存setenv.bat文件,重新启动Tomcat后就可以正确加载加密类了。
2.独立的Java应用程序
在您的应用程序运行参数加入以下内容: -agentlib:\brainysoft
举例:
Test.class文件的package为com.test, 在运行您的Test.class或Jar时使用以下方式:java -agentlib:
\brainysoft <-classpath 您的.jar文件> com.test.Test。
3.EJB组件
运行加密后的EJB组件的方式与运行WEB应用程序类似,找到您的EJB容器的启动配置文件,加入-agentlib:
\brainysoft 即可。

应用环境
JavaClass文件加密专家只能用在JDK1.5及更新版本的JDK,您在Windows平台下加密后的Class文件不必再修改就可以应
用于Linux、Unix等平台

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧