ssydxa219
- 浏览: 601202 次
- 性别:
- 来自: 杭州
社区版块
- ( 0)
- ( 0)
- ( 0)
最新评论
-
ssydxa219:
vim /etc/security/limits.confvi ...
ekl -
gamehu520:
table中无数据
hbase 出现的问题 -
xleer0102:
为什么都是只有问没有答,哭晕在厕所
hbase 出现的问题 -
jiajiao_5413:
-
coderdream:
不完整,缺com.tcs.org.demostic.pub.u ...
struts2.3.1.1 hibernate3.6.9final spring3.1.0 proxool maven annotation
文章列表
第一步,查看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包。
方法一:通过rp ...
安装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[wait for logrotate service socket] action run
当前的的窗口不要关闭不要退出,另外开启一个终端启动如下命令
sudo /op ...
调大 idea 编译内存大小,file -> settings -> build, execution, deployment -> compiler -> shared build process heap size
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 ...
gitlab是项目管理和代码托管平台,可通过web界面进行访问公开的或者私人项目,常用于源代码版本控制,但是也可以用于保存各类文件。gitlab能够浏览源代码,管理缺陷和注释。gitlab可以管理团队对仓库的访问,非常易于浏览提交过的版本并提供一个文件历史库。gitlab提供一个代码片段收集功能,可以轻松实现代码复用,便于日后有需要的时候进行查找。
当前使用的是私服gitlab,搭建在内部服务器上,只有管理员授予账号才可以访问。
gitlab环境部署
环境要求:内存不低于2g
第一步,查看linux版本信息。
# 查看linux系统的版本信息
命令:cat /proc/version
...
解决方式
1、先升级npm版本:npm install -g npm
2、npm cache clean --force
3、npm install --registry=https://registry.npm.taobao.org --loglevel=silly:执行上面三条命令
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.credentialspr ...
配置
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 dist ...
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 t ...
alternatives --config java
alternatives --config javac
alternatives --remove
alternatives --auto
alternatives --config
alternatives --display
alternatives --set
看当前java版本
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 nu ...
一、redis单实例搭建
1. 下载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/b ...
###### 服务器信息
### 生产环境
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-a ...
error starting applicationcontext. to display the conditions report re-run your application with 'debug' enabled.
yyokay-- 2020-12-07 17:03:52 [main] error o.s.boot.springapplication - application run failed
org.springframework.beans.factory.unsatisfieddependencyexception: error creating bean with na ...