- ALL
- java33
- linux32
- 工具17
- 其他15
- 数据库7
- ai5
- git5
- vue5
- nas5
- 前端5
- 脚本3
- 漫画3
- framework3
- windows3
- hexo2
- 智能家居2
- maven2
- 小程序2
- app2
- docker2
- spring2
- api1
- 资源1
- markdown1
- 安全1
- python1
- mysql1
- question1
- 运维1
- 数据结构1
- 数据传输1
- nginx1
CenterOS下安装jenkins
1.安装 jenkins 通过下载镜像安装 123456789101112sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat/jenkins.reposudo rpm --import https://pkg.jenkins.io/redhat/jenkins.io.keyyum --disablerepo=pgdg94 install epel-release # repository that provides 'daemonize' yum --disablerepo=pgdg94 install java-11-openjdk-devel# 在线安装yum --disablerepo=pgdg94 install -y jenkins# 或 离线rpm安装https://github.com/jenkinsci/jenkins/releasesrpm -ivh jenkins-2.313-1.1.noarch.rpm 2....
搭建maven私库
前言 有三种比较流行的 Maven 仓库管理软件可以创建私服,Apache基金会的 Archiva,JFrog 的 Artifactory ,Sonatypec 的 Nexus 下载Nexus 下载 启动命令 1./nexus start 默认账号密码 帐号:admin,密码:位于登录页面提示文件夹 添加新的代理源 Cache统一设置为200天 288000 常用代理添加 12345678910111213141516171819201. aliyunhttp://maven.aliyun.com/nexus/content/groups/public2. apache_snapshothttps://repository.apache.org/content/repositories/snapshots/3. apache_releasehttps://repository.apache.org/content/repositories/releases/4....
在CenterOS中安装minio文件服务器
下载与启动 123wget https://dl.minio.io/server/minio/release/linux-amd64/miniochmod +x minio./minio server /home/data 启动后会打印出AccessKey和SecretKey等信息 后台运行 1nohup /usr/local/bin/minio server /home/minio/data > /home/minio/data/minio.log 2>&1 & 自定义MINIO_ACCESS_KEY和MINIO_SECRET_KEY 123export MINIO_ACCESS_KEY=miniouserexport MINIO_SECRET_KEY=123456789./minio server /home/data 自定义端口号 1234567891011121314151617# 启动./minio server --address IP:PORT /home/data# 文件夹路径export...
java8 lamdba使用示例
使用示例 首先将下方附录中json数据转换为List,使用的是hutool中的JSONUtil工具类 1List<Demo> personList = JSONUtil.toList(JSONUtil.parseArray(json), Demo.class); 主键 姓名 分数 课程名称 教师名称 1 张三 56 语文 语教一 2 张三 78 数学 数教一 3 李四 99 语文 语教一 4 李四 23 数学 数教二 5 王五 87 语文 语教一 6 王五 59 数学 数教一 7 王五 65 英语 英教一 条件过滤 12// 过滤分数大于60的学生List<Demo> filterPersonList = personList.stream().filter(a -> a.getScore() >...
使用mac制作linux启动盘
查看u盘 1diskutil list 解挂u盘 1diskutil unmountDisk /dev/disk3 写系统到u盘 1sudo dd if=/Users/chenqi/Downloads/CentOS-7-x86_64-DVD-2009.iso of=/dev/rdisk3 bs=32m
在CenterOS中安装java
下载JDK Java SE 8的官方网址 jdk下载路径 点击下载 解压文件 1tar -xvf jdk-8u65-linux-x64.tar.gz 添加环境变量 123456789echo " ">>/etc/profileecho "# Made for java env by chenqi on $(date +%F)">>/etc/profileecho 'export JAVA_HOME=/usr/local/java'>>/etc/profileecho 'export JRE_HOME=${JAVA_HOME}/jre'>>/etc/profileecho 'export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib'>>/etc/profileecho 'export...