chromiumer.com

CentOS7 openssh8.4 build

1.环境准备 安装基础包 yum install gcc gcc-c++ glibc glibc-devel openssl-devel openssl prce pcre-devel zlib zlib-devel make wget krb5-devel pam-devel libX11-devel xmkmf libXt-devel initscripts libXt-devel imake gtk2-devel rpm-build.......

CentOS7 添加微软雅黑字体支持

1.文件列表(来自于windows) C:\Windows\Fonts\微软雅黑\msyhbd.ttf C:\Windows\Fonts\微软雅黑\msyh.ttf 2.安装基础包 yum -y install fontconfig ttmkfdir 3.上传字体文件 mkdir /usr/share/fonts/chinese 上传文件(msyhbd.ttf、msyh.ttf)到/usr/share/fonts/chinese目录下 /usr/share/fonts/chinese/msyh.......

NAS分区挂载

1.主机安装nfs客户端: yum -y install nfs-utils modprobe sunrpc lsmod|grep sunrpc 2.查看nfs请求数量: cat /proc/sys/sunrpc/tcp_slot_table_entries 3.修改限制数量: echo "options sunrpc tcp_slot_table_entries=128" >> /etc/modprobe.......

Gitlab集成阿里p3c插件实现代码检测

1.说明 使用阿里开源的项目 p3c 对gitlab上项目进行代码(java)检测,新版gitlab改动较大,相关文档较少,本文整理官档和网友脚本希望对大家有个引导作用,避免踩坑。 2.p3c编译及文件准备 2.1 jar包 编译过程省略,我们得到jar包: p3c-pmd/target/p3c-pmd-2.0.1-jar-with-dependencies.jar 2.2 xml规则文件 [root@localhost p3c]# ll p3c-pmd/target/classes/rulesets/java/ 总用量 68 -rw-r--r-- 1 root root 4492 6月 23 14:25 ali-comment.......

MySQL5.7安装初始化

MySQL5.7安装初始化(二进制安装包) 1.add user useradd -M -s /sbin/nologin mysql 2.init base tar -zxvf mysql-5.7.29-linux-glibc2.12-x86_64.tar.gz -C /data/mysql mkdir /data/mysql/data mv /etc/my.......

CentOS 7内核参数优化

CentOS 7内核参数优化 1.写文件 cat <<EOF>> /etc/sysctl.conf vm.swappiness = 0 kernel.sysrq = 1 net.ipv4.neigh.default.gc_stale_time = 120 net.......