|
[原创]centos7 一键配置一米OA服务器
【美味问答】活动提示:该问题已发至QQ群:220692725,103262448, 请等待网友回答,网友将在论坛中回答,也会在群中直接回答快加入这些群与小伙伴们一起交流吧![本帖暂时还没有正确答案,各位加油哦,答对赢积分可兑换美味奖品!]
给大家一个福利,使用CentOS7搭建服务器的,一键设置,免去众多代码,使用SH脚本安装,文件放在我的百度盘,链接: http://pan.baidu.com/s/1c0G1tW8 密码: 8cud 上传yimioa_setup.tar.gz至你的服务器 chmod +x yimioa_setup.tar.gz tar -zxvf yimioa_setup.tar.gz ./yimioa_setup.sh 在input your tomcat manager name处键入你的tomcat管理员用户名 在input your tomcat manager password: 处键入你的tomcat管理员密码 mysql 安全设置的时候设置你的mysql 管理员密码 一路enter后 在input you mysql password 处键入你刚刚设置的mysql 密码配置oa数据库。 OK!搞定, 后面上传license.dll和网页进入OA/setup的方法不用我说. 阿里云CentOS7 64位测试成功,欢迎大家体验,不过仅28天哟! |
|
回复:[原创]centos7 一键配置一米OA服务器
文件包之所以有60+M,是包含了JDK1.6.0.45安装包,注意是64位的哟,32位的可以寻度娘,sh脚本相应位置修改!
|
|
回复:[原创]centos7 一键配置一米OA服务器
|
|
回复:[原创]centos7 一键配置一米OA服务器
|
|
回复:[原创]centos7 一键配置一米OA服务器
|
|
回复:[原创]centos7 一键配置一米OA服务器
yum安装wget后运行的脚本,apache运行正常,mysql也运行正常,并且建了数据库,OA文件包也放在了/usr/tomcat/webapps 这个目录下,数据库也导入数据成功了,可是http://localhost:8080/oa/setup和http://ip:8080/oa/setuo都打不开,求解!
|
|
回复:[原创]centos7 一键配置一米OA服务器
好吧,后来检查了下,是我防火墙没关!!!! |
|
回复:[原创]centos7 一键配置一米OA服务器
注意:
|
|
回复:[原创]centos7 一键配置一米OA服务器
从新总结了下安装步骤,后者可以借鉴
安装步骤 1.系统必须为centos7(我用的是最小化安装) 2.安装wget yum install wget 3.下载shell安装脚本 链接: http://pan.baidu.com/s/1o64BF7O 密码: 3gq2 4.上传yimioa_setup.tar.gz至你的服务器 5.在服务器目录设定权限 chmod +x yimioa_setup.tar.gz 6.解压缩 tar -zxvf yimioa_setup.tar.gz 7.运行脚本 ./yimioa_setup.sh 8.在input your tomcat manager name处键入你的tomcat管理员用户名 在input your tomcat manager password: 处键入你的tomcat管理员密码 9.mysql 安全设置的时候设置你的mysql 管理员密码 10.后面的提示输入y后 enter回车 11.在input you mysql password 处键入你刚刚设置的mysql 密码配置oa数据库。 12.提示安装完成 13.OA文件重命名为OA并放在 /usr/tomcat/webapps目录下 14.打开防火墙80端口:firewall-cmd --zone=public --add-port=80/tcp --permanent 15.修改tomcat端口号及默认主页为OA 修改文件输入命令vi /usr/tomcat/conf/server.xml 将 Define a non-SSL HTTP/1.1 Connector on port 8080 --> <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <!-- A "Connector" using the shared thread pool--> <!-- <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 修改为 Define a non-SSL HTTP/1.1 Connector on port 8080 --> <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> <!-- A "Connector" using the shared thread pool--> <!-- <Connector executor="tomcatThreadPool" port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 在最下面修改目录 <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> 下面添加如下命令 <Context path="" docBase="/usr/tomcat/webapps/oa" debug="0" reloadable="true" /> 16.打开防火墙80端口:firewall-cmd --zone=public --add-port=80/tcp --permanent 17.重新启动 shutdown -r now 18.设置数据库,按照官方教程设置就行,注意端口号为3306 打开网页http://服务器IP/srtup 19.用服务器IP就能打开OA了默认密码是111111 20.如果觉得打开网页慢也可以试试端口转发命令但是貌似这个命令需要添加到开机启动,用这个命令需要将 server.xml端口号改回到8080 iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 |
| |
发起投票





消息
操作
回复
引用
复制