#!/bin/bash mkdir /etc/yum.repos.d/repo mv /etc/yum.repos.d/*.repo /etc/yum.repos.d/repo curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.ali ...
分类:
其他好文 时间:
2021-03-18 14:42:38
阅读次数:
0
问题原因在于官方在2020年12月2日正式将CentOS 6相关的软件源移出了官方源,随之而来逐级镜像也会陆续将其删除。 解决方案: curl -o /etc/yum.repos.d/CentOS-Base.repo https://www.xmpan.com/Centos-6-Vault-Aliy ...
分类:
Web程序 时间:
2021-03-17 14:13:50
阅读次数:
0
常用的dos命令(cmd) 1. 盘符切换 盘: 2.查看当前目录下的所有文件 dir 3.切换目录 cd/d盘 change directory 4.返回上一级cd.. 5.清理屏幕cls clear screen 6.退出终端exit 7.查看ip ipconfig 8.打开应用 calc no ...
分类:
其他好文 时间:
2021-03-16 14:07:05
阅读次数:
0
1 mvn compile 编译源代码 2 mvn clean 清理maven项目 3 mvn install -Dmaven.test.skip=true 发布项目到本地仓库,后面参数表示跳过单元测试 4 mvn install -Dmaven.test.skip=true 发布项目到远程仓库。 ...
分类:
其他好文 时间:
2021-03-16 13:59:00
阅读次数:
0
常用命令 基础命令 alias alias name='command1;command2;...' #添加别名 unalias name #删除别名 重定向 标注输入(stdin,默认为键盘输入)/标准输出(stdout,默认为屏幕输出)和标准错误(stderr) IO重定向是改变了输入来源和输出 ...
分类:
系统相关 时间:
2021-03-11 20:36:13
阅读次数:
0
GitLab官方搭建教程地址: https://about.gitlab.com/install/#ubuntu 1. 依赖包安装 sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates ...
分类:
其他好文 时间:
2021-03-05 13:25:21
阅读次数:
0
一、底层知识背景 1.1 GPU和CPU的区别? 主流 CPU(Central Processing Unit,中央处理器)芯片上有四级缓存,消耗了大量晶体管,在运行时需要大量电力;主流 GPU(Graphics Processing Unit,图形处理器)芯片最多有两层缓存,且 GPU 可以利用晶 ...
分类:
其他好文 时间:
2021-03-05 13:14:06
阅读次数:
0
安装 首先打开brew.sh网站,把首页一条命令复制到终端里,执行,输入电脑登录密码,开始下载安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 换源 安 ...
分类:
系统相关 时间:
2021-03-05 13:12:52
阅读次数:
0
1.查看端口 netstat -anp|grep port netstat -antup 2.文件传输 wget [-options] args curl [-options] args lftp [-options] args 3.远程登录 telnet host_name port ssh [- ...
分类:
其他好文 时间:
2021-03-01 14:17:05
阅读次数:
0
国内安装(可用): /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" ...
分类:
系统相关 时间:
2021-03-01 13:01:27
阅读次数:
0