会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sinsen柳
博客园
首页
新随笔
联系
订阅
管理
2024年11月16日
mac_OS虚拟机VMware Fusion定制虚拟网卡IP地址
摘要: cd /Library/Preferences/VMware\ Fusion vim networking VERSION=1,0 answer VNET_1_DHCP yes answer VNET_1_DHCP_CFG_HASH 4C38E57B8B33183E68351DF648C7C5182
阅读全文
posted @ 2024-11-16 19:06 Sinsen柳
阅读(47)
评论(0)
推荐(0)
2023年11月13日
Centos7 nginx反向代理gitea和grafana&钉钉告警
摘要: 1 安装nginx yum install -y gcc make pcre-devel zlib-devel openssl-develwget https://nginx.org/download/nginx-1.20.1.tar.gztar -zxvf nginx-1.20.1.tar.gzc
阅读全文
posted @ 2023-11-13 14:02 Sinsen柳
阅读(497)
评论(0)
推荐(0)
2023年11月3日
Centos7部署grafana
摘要: 【精选】【Grafana】基于CentOS 7系统安装部署Grafana服务端_源码安装granafa centos 编译-CSDN博客 #修改主机名(可选)hostnamectl set-hostname grafanabashhostnamectl 显示:Static hostname: gra
阅读全文
posted @ 2023-11-03 15:57 Sinsen柳
阅读(400)
评论(0)
推荐(0)
2023年11月1日
Centos7 部署gitea,使用sqlite作为数据源
摘要: # 创建用户git,指定登录shell为Bash,-d指定家目录默认/home/git,-m如果指定的家目录不存在,则创建该目录# 踩坑:-r 不分配登录shell和家目录useradd -s /bin/bash -d -m git #编辑 /etc/sudoers 文件以允许 git 用户在执行
阅读全文
posted @ 2023-11-01 17:00 Sinsen柳
阅读(873)
评论(0)
推荐(0)
2023年10月18日
关于2个mysql报错
摘要: 1 报错: Host ‘127.0.0.1’ is not allowed to connect to this MySQL server vi /etc/my.cnf 注释掉: #skip-name-resolve 2 报错:Access denied for user 'root'@'local
阅读全文
posted @ 2023-10-18 17:57 Sinsen柳
阅读(28)
评论(0)
推荐(0)
2023年9月5日
Centos7 关闭防火墙相关
摘要: #关闭防火墙和SElinux安全模式:systemctl stop firewalldsystemctl disable firewalldsetenforce 0getenforce会显示:Permissive 关闭防火墙 systemctl stop iptablessystemctl disa
阅读全文
posted @ 2023-09-05 15:50 Sinsen柳
阅读(16)
评论(0)
推荐(0)
2023年8月4日
yum下载的包保存到本地
摘要: 1 yum install --downloadonly : #下载yumdownloadonly插件yum install yum-plugin-downloadonly #yum 下载rpm包到指定目录,只下载不安装yum install --downloadonly --downloaddir
阅读全文
posted @ 2023-08-04 15:30 Sinsen柳
阅读(2357)
评论(1)
推荐(1)
shell 脚本:nginx jdk maven node-exporter docker-ce
摘要: 写一个脚本,本地自带nginx1.24源码包,然后自动完成安装,并加入system管理。并设置开启自启动,并启动ng。并完成对80端口的curl测试,返回状态码200打印启动正常的消息: #!/bin/bash # 安装依赖 sudo apt-get update sudo apt-get inst
阅读全文
posted @ 2023-08-04 15:23 Sinsen柳
阅读(45)
评论(0)
推荐(0)
2023年7月26日
centos7 用docker 部署 nacos集群--以mysql持久化--以nginx代理
摘要: 创建一个文件夹,把四个配置文件放进去,然后运行:docker compose -f -d nacos.yml up mysql-schema.sql nacos.confnacos.envnacos.yml mysql-schema.sql 内容: /* * Copyright 1999-2018
阅读全文
posted @ 2023-07-26 13:49 Sinsen柳
阅读(81)
评论(0)
推荐(0)
2023年7月11日
centos7用docker部署Mysql主从复制
摘要: 安装Docker和Docker Compose: 安装预置:sudo yum updateyum install python3-pipsudo yum group install "Development Tools"sudo yum install epel-releasesudo yum in
阅读全文
posted @ 2023-07-11 18:07 Sinsen柳
阅读(72)
评论(0)
推荐(0)
下一页
公告