随笔分类 -  linux

摘要:emqx 安装教程 启动失败 根据提示,我们查看启动失败日志 接着我们查看官网,对应常见错误,找到对应的解决办法, 查询 crypto依赖的 .so 动态库列表及其在内存中的地址:(其中 OPENSSL_1.0.2' not found表明指定的 OPENSSL 版本的 .so 库未正确安装) 我是 阅读全文
posted @ 2021-03-06 09:00 suruozhong 阅读(2669) 评论(0) 推荐(0) 编辑
摘要:一,下载安装包 https://www.mongodb.com/download-center/community 二,扔到服务器(我放在/usr/local),然后解压 tar -zxvf mongodb-linux-x86_64-rhel70-4.4.0.tgz 重命名文件夹 mv mongod 阅读全文
posted @ 2020-08-21 17:39 suruozhong 阅读(655) 评论(0) 推荐(1) 编辑
摘要:系统centos8 安装依赖环境 yum install openssl openssl-libs libevent libevent-devel 下载,编译,安装coturn git clone https://github.com/coturn/coturn cd coturn ./config 阅读全文
posted @ 2020-07-13 15:48 suruozhong 阅读(1632) 评论(0) 推荐(0) 编辑
摘要:一,安装好主数据库和从数据库,此处省略 我已经准备好了以下数据库 主: centos 7 mysql 5.7 ip 192.168.1.2 从: centos 7 mysql 5.7 ip 192.168.1.3 二,主数据库配置(192.168.1.2) my.cnf ,添加以下配置 #唯一标识, 阅读全文
posted @ 2020-06-27 17:59 suruozhong 阅读(290) 评论(0) 推荐(0) 编辑
摘要:内网服务器,frpc.ini 增加配置 [common] server_addr = 120.24.*.* server_port = 7000 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 722 local 阅读全文
posted @ 2020-06-27 15:58 suruozhong 阅读(1223) 评论(0) 推荐(0) 编辑
摘要:下载mysql https://dev.mysql.com/downloads/mysql/5.7.html#downloads tar -xvf mysql-5.7.26-linux-glibc2.12-x86_64.tar 重命名 mv /usr/local/mysql-5.7.26-linux 阅读全文
posted @ 2020-04-24 10:54 suruozhong 阅读(138) 评论(0) 推荐(0) 编辑
摘要:Nginx日志主要分为两种: access_log(访问日志)和error_log(错误日志)。 通过访问日志我们可以得到用户的IP地址、浏览器的信息,请求的处理时间等信息。错误日志记录了访问出错的信息,可以帮助我们定位错误的原因。 设置access_log 作用域 可以应用access_log指令 阅读全文
posted @ 2020-04-10 17:25 suruozhong 阅读(613) 评论(0) 推荐(0) 编辑
摘要:服务端配置 [common] bind_port = 7000 #绑定的IP vhost_http_port = 7008 #监听的IP 本地配置 [common] server_addr = 120.24.*.* #服务端IP地址 server_port = 7000 #服务端绑定的端口 [git 阅读全文
posted @ 2020-03-12 11:58 suruozhong 阅读(2813) 评论(0) 推荐(0) 编辑
摘要:修改配置文件 /etc/gitlab/gitlab.rb # 让gitlab的内置nginx监听9002端口 nginx['listen_port'] = 9002 # 设置gitlab的访问路径(是通过外部nginx反向代理访问的) external_url 'http://域名/git' # 让 阅读全文
posted @ 2020-03-12 11:51 suruozhong 阅读(3579) 评论(0) 推荐(0) 编辑
摘要:FastDFS 是用 c 语言编写的一款开源的分布式文件系统。FastDFS 为互联网量身定制, 充分考虑了冗余备份、负载均衡、线性扩容等机制,并注重高可用、高性能等指标,使用 FastDFS 很容易搭建一套高性能的文件服务器集群提供文件上传、下载等服务。 FastDFS 架构包括 Tracker 阅读全文
posted @ 2020-01-17 11:58 suruozhong 阅读(131) 评论(0) 推荐(0) 编辑
摘要:开放外网6379端口访问 修改配置redis.conf 注释掉绑定IP 这两个地方改为no 阅读全文
posted @ 2019-12-30 16:26 suruozhong 阅读(422) 评论(0) 推荐(0) 编辑
摘要:安装pscp和plink https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html 后台部署 - 打包上传并远程调用启动脚本 bat脚本 @echo off rem 打印的中文不乱码,默认是gbk,改为utf8 chcp 65001 阅读全文
posted @ 2019-12-26 10:03 suruozhong 阅读(2388) 评论(0) 推荐(1) 编辑
摘要:安装plink D:\software\PuTTY\plink.exe -batch -pw 123456 root@192.168.1.107 "/home/zhong-auth.sh" @cmd.exe exist -batch禁用所有交互式的提示如果不加上这个参数,会让你确认身份验证 阅读全文
posted @ 2019-12-25 15:56 suruozhong 阅读(3254) 评论(0) 推荐(0) 编辑
摘要:安装pscp https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html cmd脚本 @echo offrem 拷贝的文件名称set name=zhong-auth.jarrem 拷贝文件的目录set folder=E:\git\zh 阅读全文
posted @ 2019-12-24 17:21 suruozhong 阅读(1789) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示