![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
fatesgo
新手起步
展开
-
Linux只需9行命令安装Nginx
yum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel #下载依赖cd /usr/local #进入用户目录mkdir nginx #创建nginx文件夹wget http://nginx.org/download/nginx-1.13.7.tar.gz # 下载nginx tar包tar -xvf nginx-1.13.7.tar.g.原创 2021-04-26 15:17:21 · 118 阅读 · 0 评论 -
Linux安装Redis并且修改端口号,redis-6.2.2
cd /usr/local/mkdir rediscd rediswget https://download.redis.io/releases/redis-6.2.2.tar.gztar xzf redis-6.2.2.tar.gz #解压cd redis-6.2.2makecd srcmake installcd /usr/local/redis/redis-6.2.2/vi redis.conf修改port 6379为port 3300bind 127.0.0.1 .原创 2021-04-26 15:04:57 · 1809 阅读 · 0 评论 -
Linux安装Java环境,JDK1.8.0
Linux安装Java环境1.cd /usr/local/2. mkdir java #创建java文件夹3. wget https://download.oracle.com/otn/java/jdk/8u291-b10/d7fc238d0cbf4b0dac67be84580cfb4b/jdk-8u291-linux-x64.tar.gz4.tar -xvf jdk-8u291-linux-x64.tar.gz #解压文件5. vi /etc/prof原创 2021-04-26 14:42:10 · 2772 阅读 · 0 评论 -
Nginx配置SSL出现“nginx: [emerg] the “ssl“ parameter requires ngx_http_ssl_module in nginx.conf“
原因默认情况下ssl模块并未被安装,如果要使用该模块则需要在编译nginx时指定–with-http_ssl_module参数。nginx所有进程必须杀掉cd/usr/local/nginx/nginx-1.13.7/ 切换到源码包 ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module 配置SSL模块 make cp /usr/local/ng...原创 2021-04-21 17:56:16 · 574 阅读 · 0 评论