suse

安装Apache和PHP7 在SUSE Linux Enterprise Server

 

zypper in apache2

zypper in apache2-mod_php7

Apache的默认文档根目录是/srv/www/htdocs/目录 , 而 Centos7 是/var/www/html

配置文件是/etc/apache2/httpd.conf。

配置存储在的/etc/apache2/conf.d /目录。

标签

docker on suse linux 12sp5

linux-134:~ # docker pull registry.suse.com/suse/sles12sp5
Using default tag: latest
latest: Pulling from suse/sles12sp5
588a9fcc4a90: Pull complete
Digest: sha256:dbfcc66daee31b4b94cdc920c2446d4e4b44b2ba6bc3f121868ee0c2afa90ca0
Status: Downloaded newer image for registry.suse.com/suse/sles12sp5:latest
registry.suse.com/suse/sles12sp5:latest
linux-134:~ # sle2docker list
Available pre-built images:
No pre-built image found.

标签

suse 安装Gluster需要安装 python3-requests

rpm -ivh glusterfs-6.10-100.1.x86_64.rpm
warning: glusterfs-6.10-100.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 4b432c0e: NOKEY
error: Failed dependencies:
        python3-requests is needed by glusterfs-6.10-100.1.x86_64
 

安装pip
python3 -m ensurepip --default-pip

升级pip
pip install --upgrade pip 

安装python3

zypper in python3 python3-base

安装python3-requests库 单单是这个还不够,gluster提示没有找到
python3 -m pip install requests

标签
订阅 suse