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:

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:

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

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

USTC-lup

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值