Confluence 清理卸载重装

Confluence 安装中断报错

The SystemInformationService could not be retrieved from the container. Therefore very limited information is available in this error report.
The SystemInformationService could not be retrieved due to the following error: java.lang.IllegalStateException: Spring Application context has not been set
Cause
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)
Continue reading Confluence 清理卸载重装

yum update 出现的问题

出现 Found *** pre-existing rpmdb problem(s)

Error: python-devel conflicts with python-2.7.5-80.el7_6.x86_64
 You could try using --skip-broken to work around the problem
** Found 10 pre-existing rpmdb problem(s), 'yum check' output follows:
firewalld-filesystem-0.6.3-2.el7_7.1.noarch is a duplicate with firewalld-filesystem-0.5.3-5.el7.noarch
python-2.7.5-86.el7.x86_64 is a duplicate with python-2.7.5-80.el7_6.x86_64
python-firewall-0.6.3-2.el7_7.1.noarch is a duplicate with python-firewall-0.5.3-5.el7.noarch
python-libs-2.7.5-86.el7.x86_64 is a duplicate with python-libs-2.7.5-80.el7_6.x86_64
urw-base35-bookman-fonts-20170801-10.el7.noarch has installed conflicts urw-fonts < ('3', '2.4', '25'): urw-fonts-2.4-16.el7.noarch
Continue reading yum update 出现的问题

Centos 7 下 yum 安装 Supervisor | frp 配置

Supervisor 安装

Centos 7 下 yum 安装

# yum install -y epel-release
# yum install -y supervisor
# systemctl enable supervisord # 开机自启动
# systemctl start supervisord # 启动supervisord服务

# systemctl status supervisord # 查看supervisord服务状态
# ps -ef|grep supervisord # 查看是否存在supervisord进程
Continue reading Centos 7 下 yum 安装 Supervisor | frp 配置

CentOS 7 一些记录

最小安装完成后无法联网,需要手动开启网络访问

cd /etc/sysconfig/network-scripts/

找到网卡 例如 ifcfg-eno33

vi ifcfg-eno33

将最后一行的 ONBOOT=no 改为 ONBOOT=yes 然后退出 vi

退出重启 network

service network restart

CentOS 6 无法安装 Swoole 提示 GCC 4.8 or later required

自行编译安装 gcc,依然提示,

当使用 gcc -v 提示已安装 gcc version 4.8.2

但使用 yum install gcc 提示是 4.4 且为最新版本

解决办法,卸载 yum 版 gcc,然后重新编译安装

yum remove gcc

CentOS 6 升级安装gcc 4.8

https://blog.csdn.net/bdss58/article/details/78175892

1. 导入CERN’s GPG key

rpm --import http://linuxsoft.cern.ch/cern/slc68/x86_64/RPM-GPG-KEY-cern

2. 添加slc6-devtoolset yum源

wget -O /etc/yum.repos.d/slc6-devtoolset.repo http://linuxsoft.cern.ch/cern/devtoolset/slc6-devtoolset.repo

3. 安装devtoolset-2

yum install devtoolset-2

4. 生效devtoolset-2

source /opt/rh/devtoolset-2/enable

可以将此命令写入.bashrc中,以免每次手动执行

echo 'source /opt/rh/devtoolset-2/enable' >> ~/.bashrc

验证一下gcc版本:

$ gcc --version
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-15)
...