摘要: 系统 deepin 1. 搭建PHP环境 命令窗口中执行 apt install php 2. 安装数据库 安装mariadb apt install mariadb 初始化 mysql_secure_installation 3. 安装配置composer 安装 apt install compo 阅读全文
posted @ 2023-11-02 16:12 gz_xiaohai 阅读(75) 评论(0) 推荐(0) 编辑
摘要: #### 1. 下载解压PHP7.4 1. php源码包下载地址 [各版本源码包](https://www.php.net/releases/ "各版本源码包") https://www.php.net/releases/ 2. 解压缩 tar -zxvf 命令 ```shell tar -zxvf 阅读全文
posted @ 2023-05-27 22:43 gz_xiaohai 阅读(499) 评论(0) 推荐(0) 编辑
摘要: #### 1. 下载gitlab-runner >下载地址: https://docs.gitlab.cn/runner/install/ # 本文仅演示 deb包安装 # 下载deb安装包 执行安装命令 dpkg -i gitlab-runner_xxx.deb #### 2. 注册gitlab- 阅读全文
posted @ 2023-05-14 00:25 gz_xiaohai 阅读(568) 评论(0) 推荐(0) 编辑
摘要: #### 1. 下载gitlab镜像 docker pull gitlab/gitlab-ce #### 2. 设置docker-compose.yml version: '3.6' services: gitlab: image: 'gitlab/gitlab-ce:latest' restart 阅读全文
posted @ 2023-05-13 22:47 gz_xiaohai 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1. 共享宿主机网络 host # docker-compose.yml中设置 network_mode: host # 此时端口配置 ports 失效 2. 桥接网络 bridge(默认) # 自定义桥接网络 docker network create webnet_db # 数据库服务 使用上面 阅读全文
posted @ 2023-04-24 21:34 gz_xiaohai 阅读(767) 评论(0) 推荐(0) 编辑
摘要: #### 1. 配置扩展目录 1. odoo 配置文件 /opt/odoo/config/odoo.conf # 内容 [options] addons_path = /mnt/extra-addons db_host = localhost db_user = odoo db_name = odo 阅读全文
posted @ 2023-04-19 19:34 gz_xiaohai 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 1. linux软件源配置 # debian软件源 RUN sed -i 's/deb.debian.org/repo.huaweicloud.com/g' /etc/apt/sources.list apt update 2. pip源配置 pip install -i https://repo. 阅读全文
posted @ 2023-04-12 01:52 gz_xiaohai 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1. docker容器进入root用户 docker exec -it --user root xxx bash 2. compose # 启动服务 docker-compose up -d # 停止删除服务 docker-compose down 阅读全文
posted @ 2023-04-10 23:58 gz_xiaohai 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 1. docker-compose.yml配置 version: '3.1' services: web: image: odoo:14 depends_on: - mydb ports: - "8069:8069" network_mode: host environment: - HOST=my 阅读全文
posted @ 2023-04-10 17:22 gz_xiaohai 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 1. Views 视图 button 按钮 属性 type: 主要使用 action 和 object object: 指定name="模型函数" action: 指定name="%(record的id)d" context: 传入上下文参数,如设置context="{'active_id': id 阅读全文
posted @ 2023-04-10 17:14 gz_xiaohai 阅读(31) 评论(0) 推荐(0) 编辑