摘要: 一、环境 系统版本: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:09 在路上的白羊 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 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 在路上的白羊 阅读(9) 评论(0) 推荐(0) 编辑
摘要: linux 常用命令有: pwd 命令 使用 pwd 命令找出您所在的当前工作目录(文件夹)的路径。该命令将返回一个绝对(完整)路径,该路径基本上是所有以 / 开头的目录的路径。绝对路径的一个示例是 /home/username。 cd 命令 要浏览 Linux 文件和目录,请使用 cd 命令。根据 阅读全文
posted @ 2023-03-10 09:14 在路上的白羊 阅读(33) 评论(0) 推荐(0) 编辑
摘要: SELECT CONCAT('ALTER TABLE `', table_name, '` MODIFY `', column_name, '` ', DATA_TYPE, '(', CHARACTER_MAXIMUM_LENGTH, ') CHARACTER SET utf8mb4 COLLATE 阅读全文
posted @ 2022-07-05 10:23 在路上的白羊 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 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 在路上的白羊 阅读(754) 评论(0) 推荐(0) 编辑
摘要: 查看ip 命令ip addr 修改网卡接口的配置文件 配置文件存放路径:/etc/sysconfig/network-scripts其中ifcfg-eth0就是我们网卡接口的配置文件,vim编辑它 修改前 修改后 TYPE="Ethernet" PROXY_METHOD="none" BROWSER 阅读全文
posted @ 2022-04-08 15:52 在路上的白羊 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 运行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 在路上的白羊 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 下载安装 vue js with core 3.1 模版 启动报错的话 在项目vue目录下 执行 npm i命令后 则可成功启动 阅读全文
posted @ 2021-01-07 13:26 在路上的白羊 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: 服务端 public class Config { /// <summary> /// IDS资源 /// </summary> /// <returns></returns> public static IEnumerable<IdentityResource> GetIds() { return 阅读全文
posted @ 2021-01-06 15:48 在路上的白羊 阅读(488) 评论(0) 推荐(0) 编辑
摘要: public class ConfigurationHelper { private static IConfigurationRoot ConfigurationRoot { get { //读取环境变量 string env = Environment.GetEnvironmentVariabl 阅读全文
posted @ 2020-04-13 10:47 在路上的白羊 阅读(456) 评论(0) 推荐(0) 编辑