redis安装nginxjdklinux安装命令
`安装redis
wget http://download.redis.io/releases/redis-5.0.7.tar.gz
tar -zvxf redis-5.0.7.tar.gz
mv /root/redis-5.0.7 /usr/local/redis
cd /usr/local/redis
make
make PREFIX=/usr/local/redis install
./bin/redis-server& ./redis.conf
/usr/local/redis/bin/redis-server& /usr/local/redis/redis.conf
安装nginx
yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel
wget http://nginx.org/download/nginx-1.9.9.tar.gz
tar -zxvf nginx-1.9.9.tar.gz
cd nginx-1.9.9
./configure --prefix=/usr/local/nginx
make && make install
cd /usr/local/nginx/sbin
./nginx
/usr/local/nginx/nginx -s reload
安装jdk
wget https://repo.huaweicloud.com/java/jdk/8u191-b12/jdk-8u191-linux-x64.tar.gz
tar -zxvf jdk-8u191-linux-x64.tar.gz
mv jdk1.8.0_191 /usr/local/jdk1.8.0_191
vim /etc/profile
#java environment
export JAVA_HOME=/usr/local/jdk1.8.0_191
export CLASSPATH=.:${JAVA_HOME}/jre/lib/rt.jar:${JAVA_HOME}/lib/dt.jar:${JAVA_HOME}/lib/tools.jar
export PATH=$PATH:${JAVA_HOME}/bin
ESC
shift+q
wq
source /etc/profile`
以上是 redis安装nginxjdklinux安装命令 的全部内容, 来源链接: utcz.com/z/517592.html