oasys.jar包的准备
oassytem编译好以后,要修改oa里面的配置数据的文件
jar xf oa.jar
修改完以后 重新打包
jar -cvfM0 oasys.jar META_INF org BOOT_INF
oa的安装
- yum -y install -y rng-tools
systemctl start rngd - 从5080 获取 mysql5.7的yum文件
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch
enabled=0 #此处修改为1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
[mysql80-community]
name=MySQL 8.0 Community Server
baseurl=http://repo.mysql.com/yum/mysql-8.0-community/el/7/$basearch
enabled=0 # 此处修改为0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
安装mysql,并且启动 ,systemctl enable mysqld –now
修改的mysql的初始密码
alter user root@localhsot ….. ‘1qaz!QAZ’创建数据库 oasys, charset utf8,
复制oasys.sql 导入数据库 oasys
安装java 1.8.0-openjdk,yum
不要配置java_home ,pathjava -jar oasys.jar
如果验证码出不来,执行以下命令java -jar oasys.jar -Djava.security.egd=file:/dev/./urandom -Dsecurerandom.source=file:/dev/./urandom -Dsecurerandom.strongAlgorithms=SHA1PRNG
- 在你的浏览器访问 http://your_ip,用户名为 soli,密码123456
最后编辑:严锋 更新时间:2025-11-04 14:01