首页 最新文章网站服务器运维正文

「实战笔记」阿里云ECS更换系统盘后关键步骤

  1、升级linux版本

  2、更新openssl

  yum install -y zlib

  cd openSSL-1.1.0c

  ./config shared zlib

  make

  make install

  mv /usr/bin/openssl /usr/bin/openssl.bak

  mv /usr/include/openssl /usr/include/openssl.bak

  ln -s /usr/local/bin/openssl /usr/bin/openssl

  ln -s /usr/local/include/openssl /usr/include/openssl

  echo "/usr/local/openssl-1.1.0c" >> /etc/ld.so.conf

        echo "/usr/local/lib64" >> /etc/ld.so.conf

  ldconfig -v

  openssl version -a

  3:安装pcre

  yum -y install pcre pcre-devel

  4、安装nginx

  http://175.190.126.175/files/62150000034ACAD8/nginx.org/download/nginx-1.10.2.tar.gz

  ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module --with-http_ssl_module --with-openssl=/usr/local/openssl-1.1.0c

  make

  make install

  修改配置文件nginx.conf

  5、安装jdk、配置环境变量

  6、挂载数据盘alidata

  7、创建应用启动脚本

  8、默认端口修改

  10、redis,activeMQ启动

  11、磁盘挂载

  12、制作快照和镜像备用

评论

精彩评论
  • 2016-12-29 10:07:50

    log4j.appender.R.Encoding=UTF-8
    <param name=Encoding value=UTF-8 />

  • 2016-12-27 08:44:33

    /usr/share/fonts/chinese/TrueType/simsun
    /etc/X11/fs/config
    fc-cache -fv

觉得有用就打赏吧
关注本站公众号,享受更多服务!
联系方式
QQ:########
地址:中国·辽宁
Email:2727987445#qq.com
Copyright ©2015-2023.Powered by 云水客 | 网站地图 | 辽ICP备14000512号-5