linux
linux下apache+weblogic安装配置?
一、linux下apache+weblogic安装配置?
1。设置apche文档根路径为/var/www/html
2。设置服务器监听端口为8080
3。设置缺省主页文件为index。htm,并在文档主目录下写一个测试用的index。htm文件
4。设置管理员的email地址为你的邮件地址
5。
启动apache服务器并进行验证 答案:1。编辑/etc/httpd/conf/httpd。conf documentroot "/var/www/html" port 8080 directoryindex index。htm serveradmin wujispace@126。
com 2。service httpd start 3。在浏览器中输入 http://serverip:8080 6。 在mysql中,建立一个用户test,口令为123456;授权他只能查询mysql库中的db表,可以查询、更新、添加、删除user表,并允许该用户从本地或者远程都可以登录mysql数据库服务器。
请进行测试。
二、linux安装WebLogic?
在Linux环境中安装建议使用普通用户安装,weblogic也会自动提示使用普通用户安装。
1、Linux新建普通用户weblogic:
2、创建用户组:groupaddweblogic3、创建用户添加用户组weblogci指定家录:useradd-gweblogic-m-d/home/lipweblogic设置密码passwdxxxxx4、指定用户目录chown-Rweblogic:weblogic/home5、执行ll可查看目录属组6、普通用户配置jdk环境变量7、在普通用户家目录下会有一个.bash_profile文件修改该文件即可8、普通用户下配置环境变量9、JDK环境变量设置:exportJAVA_HOME=/jdk安装路径exportPATH=$JAVA_HOME/bin:$PATHexportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar修改后生效:source/etc/profile
三、linux下apache+weblogic怎么安装配置?
在Linux环境中安装建议使用普通用户安装,weblogic也会自动提示使用普通用户安装。
1、Linux新建普通用户weblogic:
2、创建用户组:groupaddweblogic3、创建用户添加用户组weblogci指定家录:useradd-gweblogic-m-d/home/lipweblogic设置密码passwdxxxxx4、指定用户目录chown-Rweblogic:weblogic/home5、执行ll可查看目录属组6、普通用户配置jdk环境变量7、在普通用户家目录下会有一个.bash_profile文件修改该文件即可8、普通用户下配置环境变量9、JDK环境变量设置:exportJAVA_HOME=/jdk安装路径exportPATH=$JAVA_HOME/bin:$PATHexportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar修改后生效:source/etc/profile
四、weblogic安装配置?
1、Linux新建普通用户weblogic:
2、创建用户组:groupaddweblogic3、创建用户添加用户组weblogci指定家录:useradd-gweblogic-m-d/home/lipweblogic设置密码passwdxxxxx4、指定用户目录chown-Rweblogic:weblogic/home5、执行ll可查看目录属组6、普通用户配置jdk环境变量7、在普通用户家目录下会有一个.bash_profile文件修改该文件即可8、普通用户下配置环境变量9、JDK环境变量设置:exportJAVA_HOME=/jdk安装路径exportPATH=$JAVA_HOME/bin:$PATHexportCLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar修改后生效:source/etc/profile
五、Linux如何看weblogic是否安装?
没有这样的命令,不能直接通过命令在操作系统下看weblogic的版本,当然如果安装weblogic的时候使用的都是默认值,可以通过目录名看出weblogic的版本,但如果安装时改了目录名这个方法就不行了。
六、linux下weblogic12.1.2怎么卸载?
卸载weblogic 在linux下直接删除安装的文件就好了。
七、weblogic如何看应用是否正常 linux?
可以看应用能否正常访问,也可以登录管理控制台或查日志看是否有报错信息。
八、springmvc使用weblogic发布,怎么配置?
一般来说我们都是在应用程序里面配置jdbc数据源,因为这样可以脱离web服务器的设置,比较容易移植,但是也有情况使我们必须使用web容器配置数据源,例如如果要用的多个数据库时,在中间件中配置数据源就比较方便。
先讲下如何在weblogic中配置数据源,以weblogic9.3.2为例。启动weblogic,进入console页面, 在左侧Domain Structure面板选择Services,然后选择jdbc—-Data Sources,在这里将会显示现有的所有数据源,点击页面左上角的Lock&Edit,然后点New来新建一个数据源,Name跟JNDI Name由用户命名,一般用相同的,如test,Database Type则是选择你要连接的数据库类型,驱动会自己帮你选择,一般不用做修改。接下来的,用户都应该很熟悉,无非是ip地址,sid,用户名密码等。完成后将在DataSource列表里看到刚新建的数据源,jndi name就是我们待会再Spring中要用到的。在数据源configuration–connection pool中可以配置连接池的初始大小,以及最大大小,以及每次增长长度。
在Spring中ApplicationContext.xml中配置如下,一个jndiTemplate,里面可以设置一些属性,这里就不再介绍, dataSource中主要写对jndi的name就ok了,这样这个dataSource就可用了。
九、LINUX查看JDK和Weblogic版本命令?
没有这样的命令,不能直接通过命令在操作系统下看weblogic的版本,当然如果安装weblogic的时候使用的都是默认值,可以通过目录名看出weblogic的版本,但如果安装时改了目录名这个方法就不行了。
十、怎么使用linux命令查看weblogic的版本?
没有这样的命令,不能直接通过命令在操作系统下看weblogic的版本,当然如果安装weblogic的时候使用的都是默认值,可以通过目录名看出weblogic的版本,但如果安装时改了目录名这个方法就不行了。
热点信息
-
在Python中,要查看函数的用法,可以使用以下方法: 1. 使用内置函数help():在Python交互式环境中,可以直接输入help(函数名)来获取函数的帮助文档。例如,...
-
一、java 连接数据库 在当今信息时代,Java 是一种广泛应用的编程语言,尤其在与数据库进行交互的过程中发挥着重要作用。无论是在企业级应用开发还是...
-
一、idea连接mysql数据库 php connect_error) { die("连接失败: " . $conn->connect_error);}echo "成功连接到MySQL数据库!";// 关闭连接$conn->close();?> 二、idea连接mysql数据库连...
-
要在Python中安装modbus-tk库,您可以按照以下步骤进行操作: 1. 确保您已经安装了Python解释器。您可以从Python官方网站(https://www.python.org)下载和安装最新版本...