摘要: find folder/ -type f -exec rm {} \; 阅读全文
posted @ 2024-03-27 09:23 施凯sky 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 1、安装dos2unix工具 sudo apt-get install dos2unix 2、替换文件的换行符 find ./ -type f -exec dos2unix {} + 阅读全文
posted @ 2024-03-27 09:04 施凯sky 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 安装git sudo yum install git -y 下载shadow-libev git clone https://github.com/shadow/shadow-libev.git 安装shadow cd shadow-libev git submodule update --init 阅读全文
posted @ 2024-02-15 13:16 施凯sky 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 一、创建 1. 查看当前分区情况 free -m 2. 增加 swap 大小, 2G 左右 dd if=/dev/zero of=/var/swap bs=1024 count=2048000 3. 设置交换文件 mkswap /var/swap 4. 立即激活启用交换分区 swapon /var/ 阅读全文
posted @ 2023-02-03 09:14 施凯sky 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1.当前gcc版本 gcc -v 2.下载gcc https://mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-12.2.0/ 3.解压gcc tar -vxf gcc-12.2.0.tar.gz cd gcc-12.2.0 阅读全文
posted @ 2023-02-02 10:51 施凯sky 阅读(174) 评论(0) 推荐(0) 编辑
摘要: 背景由于测试服务器有限,只有一个台服务器,但是ZooKeeper集群最少要三个节点,所以打算在单机搭建三个节点的ZooKeeper集群 安装zookeeper 版本3.4.14 安装步骤下载 zookeeper wget http://archive.apache.org/dist/zookeepe 阅读全文
posted @ 2022-05-20 08:36 施凯sky 阅读(324) 评论(0) 推荐(0) 编辑
摘要: 1、root用户下操作:vim /etc/profile在此文件中添加export LANG=zh_CN.UTF-8 2、root用户下操作vim /etc/sysconfig/i18n在此文件中设置:LANG="zh_CN.UTF-8" 3、普通用户下操作:vim .bash_profile在此文 阅读全文
posted @ 2021-11-11 08:50 施凯sky 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 1、下载sonarqube https://www.sonarqube.org/downloads/ 选择SonarQube 6.7.7版本 2、解压文件,配置数据库连接 # MySQL 5.6 or greater # Only InnoDB storage engine is supported 阅读全文
posted @ 2021-01-20 10:57 施凯sky 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 1、到rabbitmq安装路径下的sbin文件夹下 RABBITMQ_HOME/rabbmqserver/sbin 2、启用rabbitmq_tracing rabbitmq-plugins enable rabbitmq_tracing 3、启动Trace插件 rabbitmqctl trace_ 阅读全文
posted @ 2020-11-25 10:33 施凯sky 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 1、下载python3版本 $ cd opt/ $ wget https://www.python.org/ftp/python/3.7.1/Python-3.7.1.tgz 2、创建python安装路径 $ mkdir -p /software/python3 3、解压python $ cd /o 阅读全文
posted @ 2020-11-21 11:15 施凯sky 阅读(119) 评论(0) 推荐(0) 编辑