当前位置: 首页 >数据库 > EPICS Archiver Appliance在Centos7的定制部署

EPICS Archiver Appliance在Centos7的定制部署

 EPICS Archiver Appliance的定制部署1

 EPICS Archiver Appliance的定制部署2

上面两篇是在Centos8下成功,后来又想在Centos7下跑成功,按上面的试了下,很快就碰到了坑过不去,只好直接求助大神:

###################

Dear Jeong:

    I am an engineer at NSRL of USTC in China, your work is very nice and I can make archive operate on Centos 8 with your instructions.

https://blog.csdn.net/weixin_43767046/article/details/112183683 

and I wrote an process on CSDN as above. Now I want to make it work on Centos 7, I met the following fault and can't go further:

EPICS Archiver Appliance在Centos7的定制部署 _ JavaClub全栈架构师技术笔记

I don't how can I solve this error:ERROR 1054 (42S22) at line 2: Unknown column 'default_role' in 'field list' as above 

lup

***********************

Dear lup,

Please call me Han. I updated the repository, you may check them now. The main issue is your MariaDB is too old in CentOS7. I removed its version dependency from some bash script.
At this moment, I don't have any time to test this environment with CentOS 7, which I don't think I can use in near future. If you test it with CentOS 7 and work with them with your modifications, I always welcome you to push back to my repository through pull request. I am willing to accept your modification with minimal reviews. 

Take care and stay well during this uncertain period!

HTH,

Han

**********************

Dear Han:

  I meet the followings:

EPICS Archiver Appliance在Centos7的定制部署 _ JavaClub全栈架构师技术笔记

lup

*****************

Hi,

You have to upgrade MariaDB or MySQL. That message tells me you use <=MySQL 5.6. Its support is going to end next month. 

Please check  the following site:

  

https://mariadb.com/docs/deploy/upgrade-community-server-cs105-centos7/

And don't use "root" account, your normal account is fine. 

Best,

Han

################################

按照jeonghanlee 先生的指导,在centos7下也成功了,欢迎大家按上面的并结合centos8的流程试一下。记住在/usr/bin/下面ln -s yum dnf一下哦(这还是杰杰站长指导的)

附个history清单吧:

    6  git clone https://github.com/jeonghanlee/epicsarchiverap-env
    8  sudo yum install wget
   10  wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
   12  chmod +x mariadb_repo_setup 
   13  echo "b7519209546e1656e5514c04b4dcffdd9b4123201bcd1875a361ad79eb943bbe mariadb_repo_setup"     | sha256sum -c -
   14  ./mariadb_repo_setup    --mariadb-server-version="mariadb-10.5"
   17  cd epicsarchiverap-env/
   19  make init
   22  make install.pkgs
   23  make db.secure
   24  make db.addAdmin
   25  make db.show
   26  make db.create
   29  make db.show
   30  make sql.fill
   31  make sql.show
   32  make tomcat.get
   33  vi configure/CONFIG_COMMON 
   34  make tomcat.install
   35  make tomcat.sd_start
   36  make tomcat.sd_status
   37  make build
   40  vi configure/CONFIG_COMMON 
   41  make build
   42  make install
   43  make sd_start
   44  make sd_status
   45  sudo systemctl enable epicsarchiverap.service
   47  sudo systemctl disable firewalld
   49  sudo systemctl stop firewalld
   50  sudo systemctl start epicsarchiverap.service

作者:卡西莫多了
来源链接:https://www.cnblogs.com/lup9304/p/14433688.html

版权声明:
1、JavaClub(https://www.javaclub.cn)以学习交流为目的,由作者投稿、网友推荐和小编整理收藏优秀的IT技术及相关内容,包括但不限于文字、图片、音频、视频、软件、程序等,其均来自互联网,本站不享有版权,版权归原作者所有。

2、本站提供的内容仅用于个人学习、研究或欣赏,以及其他非商业性或非盈利性用途,但同时应遵守著作权法及其他相关法律的规定,不得侵犯相关权利人及本网站的合法权利。
3、本网站内容原作者如不愿意在本网站刊登内容,请及时通知本站(javaclubcn@163.com),我们将第一时间核实后及时予以删除。





本文链接:https://www.javaclub.cn/database/118316.html

分享给朋友:

“EPICS Archiver Appliance在Centos7的定制部署” 的相关文章