![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
centos
不善主动的新吖
这个作者很懒,什么都没留下…
展开
-
centos8 docker nginx pm2 node koa2 vue全家
1、centos8安装docker:安装yum-utils软件包(提供yum-config-manager 实用程序)并设置稳定的存储库。yum install -y yum-utilsyum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo安装最新版本的Docker Engine和容器yum install docker-ce docker-ce-cli cont原创 2020-12-23 17:58:08 · 213 阅读 · 0 评论 -
腾讯云centos安装nginx环境
1.安装makeyum -y install gcc automake autoconf libtool makeyum install gcc gcc-c++2、安装pcre-devel devel包主要是头文件之类的,供开发用yum -y install pcre-develyum -y install openssl openssl-devel3.安装pcrePCRE(Perl Compatible Regular Expressions)是一个Perl库,包括 perl 兼容的.原创 2020-05-23 20:53:50 · 252 阅读 · 0 评论 -
nginx部署ws为wss,以及获取真实IP
ws是websocket的统一资源标识符,wss对于ws相当于https对于http,今天把ws部署到服务器的时候提示错误了:Mixed Content: The page at 'https://domain.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://x.x.x.x:xxxx/'. This request has been blocked; this原创 2020-05-16 21:33:55 · 2531 阅读 · 0 评论 -
腾讯云centos安装redis
1、下载安装https://redis.io/可以先到网站看看最新的版本和下载地址。cd /usr/local/srcwget http://download.redis.io/releases/redis-5.0.8.tar.gztar -zxvf redis-5.0.8.tar.gzcd redis-5.0.8./configuremake && make ...原创 2020-03-29 15:57:03 · 251 阅读 · 0 评论 -
centos安装node,使用pm2管理koa
1、安装node.js可以打开网站https://github.com/nodesource/distributions,查看最新版本。curl --silent --location https://rpm.nodesource.com/setup_13.x | sudo bash -yum -y install nodejsnode -v查看安装是否完成。2、nginx的s...原创 2020-03-29 00:00:05 · 205 阅读 · 0 评论 -
腾讯云nginx部署ssl
1、将1_www.domain.com_bundle.crt证书文件和2_www.domain.com.key私钥文件从本地目录拷贝到 Nginx 服务器的/usr/local/nginx/conf目录下。2、编辑 Nginx 根目录下的conf/nginx.conf文件。修改内容如下:server { #SSL 访问端口号为 443 listen ...原创 2020-03-28 10:16:54 · 336 阅读 · 0 评论 -
登陆腾讯云centos安装nginx环境
本地电脑安装putty,下载网址https://www.ssh.com/ssh/putty/download然后输入用户名,默认root输入密码,输入密码时候并不会出现星号,输入完直接会车。安装git:sudo yum install -y git安装nvm:git clone https://github.com/creationix/nvm.git安装node.js:nvm ins...原创 2020-03-28 09:45:46 · 189 阅读 · 0 评论