ssydxa219的博客
ssydxa219 · 共 334 篇文章
gitlab安装使用
第一步,查看Linux版本信息。 查看Linux系统的版本信息 命令:cat /proc/version 查看Linux系统发行版信息 命令:cat /etc/redhat-release 第二步,安装依赖包。 yum install -y policycoreutils openssh-server openssh-clients postfix systemctl enable sshd systemctl start sshd systemctl enable postfix systemctl start postfix 第三步,下载并安装rpm包。 方法一:通过rpm包进行安装。(…
2024-01-21 22:22 · gitlab安装使用 · 评论(0)
CentOS8安装GitLab
安装gitlab 1.更新本地缓存 sudo yum makecache 2.安装gitlab sudo yum install -y gitlab-ce 3.修改拉代码的地址换成自己的ip和端口 vim /etc/gitlab/gitlab.rb external_url 'http://127.0.0.1:8099' 4.刷新配置(会执行更多文件) gitlab-ctl reconfigure 若卡在ruby_block action run 当前的的窗口不要关闭不要退出,另外开启一个终端启动如下命令 sudo /opt/gitlab/embedded/bin/runsvdir-star…
2024-01-15 10:39 · CentOS8安装GitLab · 评论(0)
调大 IDEA 编译内存大小
调大 IDEA 编译内存大小,File -> Settings -> Build, Execution, Deployment -> Compiler -> Shared build process heap size -javaagent:C:/idea/idea2023.3.3/jetbra/ja-netfilter.jar=jetbrains --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=…
2024-01-15 09:53 · 调大 IDEA 编译内存大小 · 评论(0)
服务器参数设置
1、 关闭防火墙 service iptables stop 2、 修改系统最大的文件打开数 查看当前配置ulimit –a,“open files”参数选项后面的数值就是当前系统支持的最大打开文件数, 永久生效设置方法 /etc/pam.d/login 添加 session required /lib/security/pam_limits.so /etc/security/limits.conf 添加 soft nofile 1512000 hard nofile 1512000 3.vi /etc/sysctl.conf 添加 fs.file-max = 1500000 echo 20…
2024-01-12 11:52 · 服务器参数设置 · 评论(0)
gitlab安装及使用教程
GitLab是项目管理和代码托管平台,可通过Web界面进行访问公开的或者私人项目,常用于源代码版本控制,但是也可以用于保存各类文件。GitLab能够浏览源代码,管理缺陷和注释。GitLab可以管理团队对仓库的访问,非常易于浏览提交过的版本并提供一个文件历史库。GitLab提供一个代码片段收集功能,可以轻松实现代码复用,便于日后有需要的时候进行查找。 当前使用的是私服GitLab,搭建在内部服务器上,只有管理员授予账号才可以访问。 Gitlab环境部署 环境要求:内存不低于2G 第一步,查看Linux版本信息。 查看Linux系统的版本信息 命令:cat /proc/version 查看Lin…
2024-01-12 11:18 · git · 评论(0)
npm 升级npm版本
解决方式 1、先升级npm版本:npm install -g npm 2、npm cache clean --force 3、npm install --registry=https://registry.npm.taobao.org --loglevel=silly:执行上面三条命令
2024-01-12 09:22 · 升级npm版本 · 评论(0)
版本管理
<yyok.name>YYOK</yyok.name> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <java.version>1.8</java.ver…
2023-02-11 10:52 · 版本管理 · 评论(0)
es7.16.2 dataoutput
package com.wugui.eswr; import cn.hutool.core.io.FileUtil; import com.alibaba.fastjson.JSONObject; import com.google.gson.Gson; import org.apache.http.HttpHost; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsP…
2023-01-31 12:51 · es · 评论(0)
npm设置为淘宝镜像地址
配置 npm config set registry https://registry.npmmirror.com/ npm config set disturl https://npmmirror.com/dist yarn config set registry https://registry.npmmirror.com/ yarn config set disturl https://npmmirror.com/dist 验证 npm config get registry 删除 npm config delete registrynpm config delete disturl …
2023-01-04 11:40 · npm · 评论(0)
CryptographyDeprecationWarning
hue runserver /ddhome/bin/hue/build/env/lib/python2.7/site-packages/requests_kerberos-0.12.0-py2.7.egg/requests_kerberos/kerberos_.py:11: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in…
2022-04-06 09:09 · hue · 评论(0)
java版本选择
alternatives --config java alternatives --config javac alternatives --remove alternatives --auto alternatives --config alternatives --display alternatives --set 看当前java版本
2022-02-22 09:20 · java版本选择 · 评论(0)
MYSQL AND COLUME
ALTER TABLE sys_dict ADD COLUMN sorter varchar(255) DEFAULT NULL COMMENT '排序', ADD COLUMN typer varchar(255) DEFAULT NULL COMMENT '类型', ADD COLUMN status varchar(255) DEFAULT '1' COMMENT '状态', ADD COLUMN coder varchar(255) DEFAULT NULL COMMENT '编码', ADD COLUMN pcoder varchar(255) DEFAULT NULL COMME…
2022-01-31 12:08 · MYSQL AND COLUME · 评论(0)
redis install
一、redis单实例搭建 下载redis-5.0.4.tar.gz(最新稳定版本) yum -y install centos-release-scl yum -y install devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-binutils scl enable devtoolset-9 bash cp src/redis-benchmark /home/bin/redis/bin cp src/redis-check-aof /home/bin/redis/bin cp src/redis-check-rdb /home/bin/…
2022-01-28 14:36 · redis install · 评论(0)
PMM安装和部署
服务器信息 生产环境 IP 101.192.3.179 开发环境 IP 101.192.7.76 PMM构构图 PMM监控工具自带监控LINUX,MySQL,MongoDB pmm重要组件 grafana,prometheus https://grafana.com/ //grafana作为数据展示 https://prometheus.io/ //数据采集数据库 mysql数据库服务配置 https://www.percona.com/doc/percona-monitoring-and-management/conf-mysql.html innodb_monitor_enable = …
2022-01-10 11:18 · 传统数仓 · 评论(0)
ApplicationContext
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. yyokay-- 2020-12-07 17:03:52 ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'e…
2020-12-07 19:54 · ApplicationContext · 评论(0)