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

最新文章

  1. EntityFrameWork使用MySql数据库分页的BUG
  2. bug report: Jump to the invalid address stated on the next line at 0x0: ???
  3. 计蒜客 删除字母&#39;c&#39;
  4. C#打开摄像头抓取照片然后退出
  5. Linux 4.6分支已到生命尽头 请尽快升级至Linux 4.7.1
  6. Java基础之序列化对象——反序列化对象(DeserializeObjects)
  7. p++ ++p
  8. OpenCV cv::Mat类
  9. Oracle中synonym和index
  10. C# 多个个Dictionary合并更优雅的写法
  11. Android菜鸟的成长笔记(27)——ViewPager的使用
  12. javascript 之作用域-06
  13. Spring Cloud 之 Feign
  14. git使用基本故障
  15. 小程序里let和var以及const区别
  16. ijkplayer总结
  17. 2-2:python之控制结构
  18. P3167 [CQOI2014]通配符匹配
  19. overflow属性的用法
  20. 定义c/c++全局变量/常量几种方法的区别(转载)

热门文章

  1. 关于python实现与体重秤蓝牙ble通信研究(Linux)
  2. POST请求发送的表单数据和json数据的区别及python代码实现
  3. FP6397S5 高效、高频同步DC-DC降压变频器IC
  4. 【java】【File】用File相关类写一个小工具,完成从指定目录下抽取指定文件并复制到新路径下完成重命名的功能
  5. 单一JVM同步锁实现
  6. Python异步爬虫(aiohttp版)
  7. hook详解和应用
  8. 【JVM】根节点枚举与安全点
  9. LeetCode HOT 100:子集(简单易懂的回溯)
  10. 2022i春秋-冬季赛nan’s analysis