php7安装smbclient扩展
当前使用Centos7.x系统,php使用7.4版本,wlnmp一键包已支持该扩展 注:CentOS6.x的话需要升级autoconf版本 smbclient扩展包地址:https://pecl.php.net/package/smbclient 1、安装所需 … 阅读全文
当前使用Centos7.x系统,php使用7.4版本,wlnmp一键包已支持该扩展 注:CentOS6.x的话需要升级autoconf版本 smbclient扩展包地址:https://pecl.php.net/package/smbclient 1、安装所需 … 阅读全文
本文以Cetnos7为例,搭建ceph本地镜像源 1、添加阿里云ceph镜像源
1 |
vi /etc/yum.repos.d/ceph.repo |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
[Ceph] name=Ceph packages for $basearch baseurl=https://mirrors.aliyun.com/ceph/rpm-luminous/el7/$basearch enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc priority=1 [Ceph-noarch] name=Ceph noarch packages baseurl=https://mirrors.aliyun.com/ceph/rpm-luminous/el7/noarch enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc priority=1 [ceph-source] name=Ceph source packages baseurl=https://mirrors.aliyun.com/ceph/rpm-luminous/el7/SRPMS enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.aliyun.com/ceph/keys/release.asc priority=1 |
2、安装epel源 [crayon-67bae8 … 阅读全文
当前使用Centos7.x系统,php使用7.4版本,wlnmp一键包已支持该扩展 imap扩展包含在php源码包中 1、安装所需依赖,如果在编译时还提示缺少其他依赖,请自行安装
1 2 |
yum install autoconf gcc gcc-c++ libc-client-devel krb5-devel openssl-devel ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so |
2、下载php … 阅读全文
当前使用Centos7.x系统,php使用7.4版本,wlnmp一键包已支持该扩展 ldap扩展包含在php源码包中 1、安装所需依赖,如果在编译时还提示缺少其他依赖,请自行安装
1 |
yum install autoconf gcc gcc-c++ openldap-devel |
2、下载php … 阅读全文
当前使用CentOS7.x系统,编译smbclient模块,报错error: Could not find libsmbclient.h 解决办法:
1 |
yum install libsmbclient-devel |
~微信打赏~ 赏
当前使用Centos7.x系统,php使用7.1版本,wlnmp一键包已支持该扩展 tidy扩展包含在php源码包中 1、安装所需依赖,如果在编译时还提示缺少其他依赖,请自行安装
1 |
yum install autoconf gcc gcc-c++ libtidy libtidy-devel |
2、下载php … 阅读全文
tunasync是清华大学TUNA镜像源目前使用的镜像方案,github地址:https://github.com/tuna/tunasync 前端页面代码来自:https://github.com/weyo/mirrors tunasync服务启动停止脚本: … 阅读全文
在某些应用场景中,需要特定的gcc版本支持,但是轻易不要去编译gcc、不要去编译gcc、不要去编译gcc,我这里推荐使用红帽提供的开发工具包来管理gcc版本,这样做的好处是随时切换版本,并且可以并存多个版本,不破坏原有gcc环境。 本文基于CentOS7验证通 … 阅读全文
centos7默认提供的openssl版本是1.0.2的,想要升级openssl版本则需要手动进行编译 1、下载openssl
1 2 3 |
cd /usr/local/src/ wget https://www.openssl.org/source/openssl-1.1.1d.tar.gz tar xf openssl-1.1.1d.tar.gz |
2、编译openssl [crayon-67bae82f0ddb1 … 阅读全文
完整报错内容如下
1 |
openssl: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory |
这是由于加载库的时候找不到了,我这里将库的位置添加进来就好了 解决办法:
1 2 |
echo "/usr/local/lib64/" >> /etc/ld.so.conf ldconfig |
~微信打赏~ 赏