![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CentOS
小羊ccc
https://github.com/billmi
80后码农,呵呵.谢谢大家支持
展开
-
Shell打印控制台加颜色
Shell打印控制台加颜色#!/bin/bash# Colorefull printfunction green_print(){ local text=$@ echo "" echo -e "\033[1m\033[32m[$text]\033[0m" # 绿色加粗, 并复原 # echo ""}function blue_print(){ local text=$@ # echo "" echo -e "\033[1m\03原创 2021-06-01 12:06:58 · 181 阅读 · 0 评论 -
SSH服务器证书登录制作[linux],记录帖
1.证书创建,创建完后记得下载密钥文件【这里是root_rsa】##在服务端创建公钥和私钥使用root用户登录系统,并处于当前root用户默认的目录下。[root@iZ28snxdn5mZ ~]# whoroot pts/0 2019-12-03 14:06 (xxx.xxx.xxx.xxx)[root@iZ28snxdn5mZ ~]# pwd/root[...转载 2019-12-09 01:14:42 · 298 阅读 · 0 评论 -
CentOs 替换yum源为阿里云
阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/第一步:备份原镜像文件mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak第二步:下载CentOS-Base.repo 到/etc/yum.repos.d/CentOS 5wget -转载 2017-07-21 15:31:57 · 236 阅读 · 0 评论 -
[方便查看] centos7安裝谷歌瀏覽器
chrome默认不支持CentOS,需要经过配置.1、修改yum源在/etc/yum.repos.d/目录下新建文件google-chrome.repo,向其中添加如下内容: [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable...转载 2017-08-30 13:26:06 · 365 阅读 · 0 评论