[root@192 /]# cd /usr/lib/jvm/java-1.8.0-openjdk [root@192 java-1.8.0-openjdk]# ls ASSEMBLY_EXCEPTION bin demo include jre lib LICENSE sample src.zip tapset THIRD_PARTY_README
[root@192 redis-7.0.10]# cd /usr/local/bin/ [root@192 bin]# ls redis-benchmark redis-check-aof redis-check-rdb redis-cli redis-sentinel redis-server
将Redis安装到系统服务
使用Redis的脚本工具,将Redis安装到系统服务上。
1 2 3 4 5 6 7
[root@192 redis-7.0.10]# cd utils/ [root@192 utils]# ./install_server.sh Welcome to the redis service installer This script will help you easily set up a running redis server
This systems seems to use systemd. Please take a look at the provided example service unit files in this directory, and adapt and install them. Sorry!
# PCRE https://github.com/PCRE2Project/pcre2/releases,例如pcre2-10.45.tar.gz # PCRE编译安装 tar -zxvf pcre2-10.45.tar.gz cd pcre2-10.45 ./configure make make install
1 2 3 4 5 6 7
# Zlib https://www.zlib.net/,例如zlib-1.3.1.tar.gz # Zlib编译安装 tar -zxvf zlib-1.3.1.tar.gz cd zlib-1.3.1 ./configure make make install
1 2 3 4 5 6 7
# OpenSSL https://openssl-library.org/source/,例如openssl-3.5.1.tar.gz # OpenSSL编译安装 tar -zxvf openssl-3.5.1.tar.gz cd openssl-3.5.1 ./config --prefix=/usr/local/openssl --openssldir=/usr/local/openssl make make install
Hello from Docker! This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. (amd64) 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.
To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID: https://hub.docker.com/
For more examples and ideas, visit: https://docs.docker.com/get-started/
[Unit] Description=Docker Application Container Engine Documentation=https://docs.docker.com After=network - online.target firewalld.service Wants=network - online.target [Service] Type=notify # the default is not to use systemd for cgroups because the delegate issues still # exists and systemd currently does not support the cgroup feature set required # for containers run by docker ExecStart=/usr/bin/dockerd --ipv6=false ExecReload=/bin/kill -s HUP $MAINPID # Having non - zero Limit*s causes performance problems due to accounting overhead # in the kernel. We recommend using cgroups to do container - local accounting. LimitNOFILE=infinity LimitNPROC=infinity LimitCORE=infinity # Uncomment TasksMax if your systemd version supports it. # Only systemd 226 and above support this version. #TasksMax=infinity TimeoutStartSec=0 # set delegate yes so that systemd does not reset the cgroups of docker containers Delegate=yes # kill only the docker process, not all processes in the cgroup KillMode=process # restart the docker process if it exits prematurely Restart=on - failure StartLimitBurst=3 StartLimitInterval=60s [Install] WantedBy=multi - user.target