会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
在路上的白羊
博客园
首页
新随笔
联系
订阅
管理
2023年4月28日
docker 安装 nginx
摘要: 一、环境 系统版本:CentOS 7.3,内核:x86_64 uname -r [root@localhost ~]# uname -r 3.10.0-514.el7.x86_64 二、nginx安装 1.先用docker拉去一份nginx的镜像 注意:这里下载的版本与后续docker-compos
阅读全文
posted @ 2023-04-28 15:08 在路上的白羊
阅读(304)
评论(0)
推荐(0)
2023年3月10日
shell脚本
摘要: 1、查看shell解析器 cat /etc/shells 2、创建shell脚本文件 touch helloworld.sh vim helloworld.sh #!/bin/bash echo "hello world" 保存退出 esc :wq 执行sh脚本 sh helloworld 3、设置
阅读全文
posted @ 2023-03-10 16:48 在路上的白羊
阅读(21)
评论(0)
推荐(0)
linux 常用命令
摘要: linux 常用命令有: pwd 命令 使用 pwd 命令找出您所在的当前工作目录(文件夹)的路径。该命令将返回一个绝对(完整)路径,该路径基本上是所有以 / 开头的目录的路径。绝对路径的一个示例是 /home/username。 cd 命令 要浏览 Linux 文件和目录,请使用 cd 命令。根据
阅读全文
posted @ 2023-03-10 09:13 在路上的白羊
阅读(49)
评论(0)
推荐(0)
2022年7月5日
mysql 批量修改字符集以及字符集排序
摘要: SELECT CONCAT('ALTER TABLE `', table_name, '` MODIFY `', column_name, '` ', DATA_TYPE, '(', CHARACTER_MAXIMUM_LENGTH, ') CHARACTER SET utf8mb4 COLLATE
阅读全文
posted @ 2022-07-05 10:23 在路上的白羊
阅读(130)
评论(0)
推荐(0)
2022年4月11日
gitlab修改root管理员密码
摘要: 1.进去gitlab容器 docker exec -it 70bb /bin/bash 2.切换目录 cd /opt/gitlab/bin 3.修改密码 u=User.find(1) 查找用户 u.password='12345678' u.password_confirmation='123456
阅读全文
posted @ 2022-04-11 09:24 在路上的白羊
阅读(836)
评论(0)
推荐(0)
2022年4月8日
centos7修改静态ip
摘要: 查看ip 命令ip addr 修改网卡接口的配置文件 配置文件存放路径:/etc/sysconfig/network-scripts其中ifcfg-eth0就是我们网卡接口的配置文件,vim编辑它 修改前 修改后 TYPE="Ethernet" PROXY_METHOD="none" BROWSER
阅读全文
posted @ 2022-04-08 15:52 在路上的白羊
阅读(62)
评论(0)
推荐(0)
2021年5月10日
centos7 安装gitlab、gitlab-runner
摘要: 运行docker-compose.yml文件之前,先安装docker和docker-compose https://packages.gitlab.com/app/gitlab/gitlab-ce/search version: '3.7' services: gitlab_runner: imag
阅读全文
posted @ 2021-05-10 14:53 在路上的白羊
阅读(437)
评论(0)
推荐(0)
2021年1月7日
vs2019 创建vue项目
摘要: 下载安装 vue js with core 3.1 模版 启动报错的话 在项目vue目录下 执行 npm i命令后 则可成功启动
阅读全文
posted @ 2021-01-07 13:26 在路上的白羊
阅读(1055)
评论(0)
推荐(0)
2021年1月6日
IdentityServer4 实现单点登录
摘要: 服务端 public class Config { /// <summary> /// IDS资源 /// </summary> /// <returns></returns> public static IEnumerable<IdentityResource> GetIds() { return
阅读全文
posted @ 2021-01-06 15:48 在路上的白羊
阅读(534)
评论(0)
推荐(0)
2020年4月13日
net core控制台读取json配置
摘要: public class ConfigurationHelper { private static IConfigurationRoot ConfigurationRoot { get { //读取环境变量 string env = Environment.GetEnvironmentVariabl
阅读全文
posted @ 2020-04-13 10:47 在路上的白羊
阅读(470)
评论(0)
推荐(0)
下一页
公告