随笔分类 -  服务器

摘要:配置镜像加速器 针对Docker客户端版本大于 1.10.0 的用户 您可以通过修改daemon配置文件/etc/docker/daemon.json来使用加速器 sudo mkdir -p /etc/docker sudo tee /etc/docker/daemon.json <<-'EOF' 阅读全文
posted @ 2022-07-07 16:53 MargoHu 阅读(46) 评论(0) 推荐(0)
摘要:LNMP一键安装教程 安装步骤:1、使用putty或类似的SSH工具登陆VPS或服务器;登陆后运行:screen -S lnmp如果提示screen: command not found 命令不存在可以执行:yum install screen 或 apt-get install screen安装, 阅读全文
posted @ 2021-05-02 11:12 MargoHu 阅读(1226) 评论(0) 推荐(0)
摘要:服务器配置文件同步 rsync 文件同步脚本。 参考:https://blog.whsir.com/post-1097.html 客户端安装:yum -y install rsync # Debian$ sudo apt-get install rsync# Red Hat$ sudo yum in 阅读全文
posted @ 2021-02-04 01:40 MargoHu 阅读(203) 评论(0) 推荐(0)
摘要:配置服务器文件 同步 rsync 文件同步脚本。 参考:https://blog.whsir.com/post-1097.html 客户端安装:yum -y install rsync # Debian$ sudo apt-get install rsync# Red Hat$ sudo yum i 阅读全文
posted @ 2021-01-25 10:13 MargoHu 阅读(133) 评论(0) 推荐(0)
摘要:Nginx转发配置 # upstream web1{ # server 172.18.54.3:9201 weight=9; # #tp需要重写路由,本机项目另外起个服务 # server 127.0.0.1:9201 weight=1; #} server { listen 80; #listen 阅读全文
posted @ 2020-12-08 01:26 MargoHu 阅读(472) 评论(0) 推荐(0)
摘要:Redis内存满了怎么办 https://www.cnblogs.com/meizhoulqp/p/11658544.html dijia1349 2019-09-07 11:08:00 845 收藏 1 文章标签: 数据库 操作系统 版权 Redis占用内存大小配置 我们知道Redis是基于内存的 阅读全文
posted @ 2020-12-03 22:20 MargoHu 阅读(197) 评论(0) 推荐(0)
摘要:IOS型号映射表 { "iPhone1,1":"iPhone 2G", "iPhone1,2":"iPhone 3G", "iPhone2,1":"iPhone 3GS", "iPhone3,1":"iPhone 4 (GSM)", "iPhone3,2":"iPhone 4 (GSM Rev. A 阅读全文
posted @ 2020-09-29 17:38 MargoHu 阅读(453) 评论(0) 推荐(0)
摘要:Linux安装redis服务 一:系统环境 centos 6.x 版本:redis 5.x 二:编译,安装 #下载和编译 1.yum install wget 2. wget http://download.redis.io/releases/redis-5.0.7.tar.gz 3. tar xf 阅读全文
posted @ 2020-04-18 20:17 MargoHu 阅读(153) 评论(0) 推荐(0)
摘要:thphp(tp5)项目网站从Apache换成nginx报500 百度了一下,查看资料是Nginx配置fastcgi.conf的问题,打开文件编辑既可,如下图: 阅读全文
posted @ 2019-11-14 13:43 MargoHu 阅读(428) 评论(0) 推荐(0)