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

EPICS Archiver Appliance在Centos7的定制部署的更多相关文章

  1. CentOS7.4安装部署openstack [Liberty版] (二)

    继上一篇博客CentOS7.4安装部署openstack [Liberty版] (一),本篇继续讲述后续部分的内容 一.添加块设备存储服务 1.服务简述: OpenStack块存储服务为实例提供块存储 ...

  2. centos7 下zookeeper 部署 单机多实例模式

    centos7 下zookeeper 部署 本文参考https://www.linuxidc.com/Linux/2016-09/135052.htm 1.创建/usr/local/zookeeper ...

  3. centos7 下 安装部署nginx

    centos7 下 安装部署nginx 1.nginx安装依赖于三个包,注意安装顺序 a.SSL功能需要openssl库,直接通过yum安装: #yum install openssl b.gzip模 ...

  4. CentOS7.4下部署hadoop3.1.1

    CentOS7.4下部署hadoop3.1.1 契机 由于工作原因要部署hadoop的集群,习惯使用最新的稳定版本2018年的时候由于时间紧破部署了2.7.2版本,最新由于又要部署有研究了一下3.x的 ...

  5. Hadoop生态圈-CentOs7.5单机部署ClickHouse

    Hadoop生态圈-CentOs7.5单机部署ClickHouse 作者:尹正杰 版权声明:原创作品,谢绝转载!否则将追究法律责任. 到了新的公司,认识了新的同事,生产环境也得你去适应新的集群环境,我 ...

  6. CentOS7.4安装部署openstack [Liberty版] (一)

    一.OpenStack简介 OpenStack是一个由NASA(美国国家航空航天局)和Rackspace合作研发并发起的,以Apache许可证授权的自由软件和开放源代码项目. OpenStack是一个 ...

  7. CentOS7服务器上部署深度/机器学习环境推荐首选anaconda3

    CentOS7服务器上部署深度/机器学习环境推荐首选anaconda3,亲测~~ 因为可以创建不同的环境版本或虚拟环境 CentOS7服务器安装anaconda3后,CentOS7服务器开启后自动将a ...

  8. 在CentOS7 开发与部署 asp.net core app笔记

    原文:在CentOS7 开发与部署 asp.net core app笔记 版权声明:本文为博主原创文章,未经博主允许不得转载. https://blog.csdn.net/lihongzhai/art ...

  9. 记录centos7下tomcat部署war包过程

    记录centos7下tomcat部署war包过程 1.官网下载tomcat安装包.gz结尾的 2.上传到/usr/local/ ,并解压到tomcat目录下 3.进入tomcat/bin目录,运行./ ...

  10. 在阿里云Centos7.6中部署nginx1.16+uwsgi2.0.18+Django2.0.4

    上次在网上找了一个在阿里云Centos7.6中部署nginx1.16+uwsgi2.0.18+Django2.0.4的文档,可能是这个文档不是最新版的,安装的时候遇到了很多问题, 最后跟一个大神要了一 ...

随机推荐

  1. i春秋破译

    点开题目就是一段密文 TW5650Y - 0TS UZ50S S0V LZW UZ50WKW 9505KL4G 1X WVMUSL510 S001M0UWV 910VSG S0 WFLW0K510 1 ...

  2. DLR 的扩展库 Dynamitey

    .NET 在 CLR 对动态语言或者脚本语言的支持是通过DLR 完成的, Miguel de Icaza对 DLR 的特点概括如下: 一个针对动态语言的共享式类型系统: 一个共享的 AST,可以被语言 ...

  3. BrokenPipeError错误和subprocess.run()超时参数在Windows上无效

    1.问题的发现   今天,一个在windows上运行良好的python脚本放到linux下报错,提示错误 BrokenPipeError: [Errno 32]Broken pipe.经调查是subp ...

  4. 【Shell案例】【wc记录单词长度、for循环和if、awk文本分析工具】7、打印字母数小于8的单词

    描述写一个 bash脚本以统计一个文本文件 nowcoder.txt中字母数小于8的单词. 示例:假设 nowcoder.txt 内容如下:how they are implemented and a ...

  5. 【Scala】思维导图

    思维导图:http://naotu.baidu.com/file/8ac705df572cd2f131aff5f0ed9c4c88?token=871f7d35671c6287 Scala 算术运算 ...

  6. meta标签补充

    shrink-to-fit=no 使用"width=device-width"会导致页面按比例缩小,以适应超出视口边界的内容. 使用将"shrink-to-fit=no& ...

  7. 《HTTP权威指南》– 3.HTTP方法和状态码

    常见HTTP方法: 常用HTTP方法 描述 是否包含主体 GET 从服务器获取一份文档 否 HEAD 只从服务器获取文档的首部 否 POST 向服务器发送需要处理的数据 是 PUT 将请求的主体部分存 ...

  8. PHP7.2 装mongodb 遇到的坑,完美解决!

    公司要做QA安全测试,组长就丢了一个源码包给我,什么资料都无. 系统是个Laravel框架,源码都是从线上git下来.然后看了本地composer.json 没有生成vendor 第一步安装 comp ...

  9. NOIP-2022游寄

    NOIP-2022游寄 Day 1 虽然没有上次去南京CSP-S那么激动,但还是有点小开心的,毕竟能水掉两天课.Phigros重度沉迷患者,推了4个小时的分.坐右前方那哥们好卷,在车上写图论-- JS ...

  10. 2、postman调试

    Postman接口调试: postman博客参考 Postman是一个API(接口)开发协作平台,其提供了发送请求.检查响应.自动化测试.数据模拟.服务监控.文档分享等一系列与API(接口)开发有关的 ...