(1)17347083 -rw-r--r--. 1 root root 384 Sep 1 2020 /etc/hosts (2)17347083 inode号 (3) - 文件类型 (4) rw-r--r-- 文件权限 (5) . .与selinux有关 (6) 1 文件硬链接数量 (7)root ...
分类:
其他好文 时间:
2021-03-17 14:17:18
阅读次数:
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
一、前言 作为一名合格的程序员,github打开速度太慢怎么能容忍。但是可以通过修改hosts文件信息来解决这个问题。 二、macOS解决方法 打开hosts文件.终端输入sudo vim /private/etc/hosts 在 vim 编辑中,输入i可以编辑hosts文件(如果按了没效果再按一下 ...
分类:
其他好文 时间:
2021-03-15 11:10:07
阅读次数:
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
安装 首先打开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
需要修改host文件 以管理员身份运行cmd(windows) 使用vscode打开host文件: code C:\Windows\System32\drivers\etc\hosts 进入ipaddress.com 分别查找如下几个网址的IP: github.com assets-cdn.gith ...
分类:
其他好文 时间:
2021-03-01 13:43:05
阅读次数:
0
国内安装(可用): /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" ...
分类:
系统相关 时间:
2021-03-01 13:01:27
阅读次数:
0
ansible when条件语句用法 参考 基本用法 - hosts: all tasks: - include: Ubuntu.yml when: ansible_os_family == "Ubuntu" - include: RHEL.yml when: ansible_os_family = ...
分类:
其他好文 时间:
2021-02-27 13:41:18
阅读次数:
0
protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0