月度归档:2023年02月
docker 修改已有容器重启策略
docker update --restart=always showdoc
MySQL时区配置
[mysqld]
default-time-zone='+8:00'
查询MySQL全局和会话时区(time_zone)当前值
SELECT @@GLOBAL.time_zone, @@SESSION.time_zone;
docker Linux 无法记录命令历史记录解决办法
vi ~/.bashrc , 添加如下命令
export PROMPT_COMMAND="history -a; history -r; $PROMPT_COMMAND"
Cannot find imap library (libc-client.a)/
问题1:configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.
解决:yum install -y libc-client-devel
问题2:
解决:
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so
--with-imap --with-kerberos --with-imap-ssl