adduser和addgroup命令讲解
在Alpine Linux下创建用户和组命令分别是adduser和addgroup,本文主要介绍这两个命令相关参数及使用。 adduser
1 |
adduser [OPTIONS] USER [GROUP] |
adduser创建新用户或将用户添加到组 -h DIR … 阅读全文
在Alpine Linux下创建用户和组命令分别是adduser和addgroup,本文主要介绍这两个命令相关参数及使用。 adduser
1 |
adduser [OPTIONS] USER [GROUP] |
adduser创建新用户或将用户添加到组 -h DIR … 阅读全文
完整报错内容如下: crypto/mem_sec.c:33:13: fatal error: linux/mman.h: No such file or directory 33 | # include <linux/mman.h> | ^~~~~ … 阅读全文
本文以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-600c79 … 阅读全文
RabbitMQ是一个开源的消息代理和队列服务器,通过Erlang编写,用来通过普通协议在完全不同的应用之间共享数据。并且RabbitMQ是基于高级消息队列(AMQP)协议的。 当前以Centos7系统为例,部署RabbitMQ3.7.x,由于RabbitMQ … 阅读全文
当前使用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 … 阅读全文
rsync的配置方法请参考(请先阅读这篇文章)https://blog.whsir.com/post-1501.html 本文只是在本机做了一个演示示例,请灵活运用 主动拉取 现只想同步某类型的文件,假设我只想同步所有以.jpg结尾的文件 [crayon-60 … 阅读全文
当前使用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服务启动停止脚本: … 阅读全文