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