给大家一个福利,使用CentOS7搭建服务器的,一键设置,免去众多代码,使用SH脚本安
回复:
文件包之所以有60+M,是包含了JDK1.6.0.45安装包,注意是64位的哟,32位的可以寻度娘,sh脚本相应位置修改!
yygfml
回复:
bluewind
回复:
由于脚本错误,重新上传文件至百度云,链接: http://pan.baidu.com/s/1o64BF7O 密码: 3gq2
yygfml
回复:
安装脚本和JDK1.6下载地址:传送门
yygfml
回复:
yum安装wget后运行的脚本,apache运行正常,mysql也运行正常,并且建了数据库,OA文件包也放在了/usr/tomcat/webapps 这个目录下,数据库也导入数据成功了,可是http://localhost:8080/oa/setup和http://ip:8080/oa/setuo都打不开,求解!
liyulei
回复:
好吧,后来检查了下,是我防火墙没关!!!!
liyulei
回复:
注意:
1.关闭防火墙 systemctl stop firewalld.service
2.下载wget yum install wget
3.系统必须为centos7
4.OA放置目录为 /usr/tomcat/webapps目录下
centos7 一键配置一米OA服务器
给大家一个福利,使用CentOS7搭建服务器的,一键设置,免去众多代码,使用SH脚本安装,文件放在我的百度盘,链接: http://pan.baidu.com/s/1o64BF7O 密码: 3gq2
上传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天哟!
liyulei
回复:
从新总结了下安装步骤,后者可以借鉴安装步骤1.系统必须为centos7(我用的是最小化安装)2.安装wget yum install wget3.下载shell安装脚本链接: http://pan.baidu.com/s/1o64BF7O 密码: 3gq24.上传yimioa_setup.tar.gz至你的服务器5.在服务器目录设定权限 chmod +x yimioa_setup.tar.gz6.解压缩 tar -zxvf yimioa_setup.tar.gz7.运行脚本 ./yimioa_setup.sh8.在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 --permanent15.修改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 --permanent17.重新启动 shutdown -r now18.设置数据库,按照官方教程设置就行,注意端口号为3306 打开网页http://服务器IP/srtup19.用服务器IP就能打开OA了默认密码是11111120.如果觉得打开网页慢也可以试试端口转发命令但是貌似这个命令需要添加到开机启动,用这个命令需要将server.xml端口号改回到8080iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080
liyulei
回复:
CentOS7 防火墙添加端口方法:firewall-cmd --permanent --zone=public --add-port=8080(改成你需要的端口)/tcp远程管理mysql还需增加下面的服务端口
firewall-cmd --zone=public --add-service=mysql
yygfml
首页 一米OA Web端 回复