apt install的过程中会出现一些错误,加入--only-upgrade 在安装就可以了 第1步:安装Apache httpd服务器 首先更新系统,然后运行以下命令安装apache2软件包: sudo apt update sudo apt -y upgrade sudo apt instal ...
分类:
其他好文 时间:
2021-03-01 12:57:53
阅读次数:
0
1:使用命令安装openssh-server sudo apt-get install openssh-server openssh-client 2:这是因为没有更新apt-get,更新命令 sudo apt-get update 3:更新完之后执行 sudo apt-get install op ...
分类:
系统相关 时间:
2021-03-01 12:57:39
阅读次数:
0
######cut -d 指定分隔符 -f 指定列数 1,2,3 [root@rongbiz002 26]# awk '{print $1}' /www/wwwlogs/c2p.rongbiz.com-access_log|head -n5 |cut -d '.' -f 1,2,3 112.64.5 ...
分类:
系统相关 时间:
2021-02-27 13:40:48
阅读次数:
0
linux crontab报以下错误解决 [root@china ~]# crontab -l 拒绝权限You (root) are not allowed to access to (crontab) because of pam configuration. 解决: 1.查看定时任务的日志/va ...
分类:
数据库 时间:
2021-02-27 13:40:22
阅读次数:
0
git记录 初始化: git version //查看git版本 git init //初始化仓库 cd 路径 //改变路径,windows命令 touch 文件名 //创建文件,windows命令 配置用户: git config --global user.name '用户名' git conf ...
分类:
其他好文 时间:
2021-02-27 13:31:46
阅读次数:
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
1、docker 框架 Docker采用的是C/S架构,客户端向服务端发送请求,服务器负责构建、运行和分发容器。这里最常用的Docker客户端就是docker命令。服务端即是Docker daemon,其运行在宿主机上,负责创建、运行、监控容器和构建存储镜像。我们经常改完Docker的配置之后,会执 ...
分类:
其他好文 时间:
2021-02-27 13:23:36
阅读次数:
0
一、流程控制 while循环:只要条件满足一直循环 read -p "请输入一个数字:" white_data while [ ${white_data} -lt 20 ] do echo ${white_data} white_data=$((white_data + 1)) done until ...
分类:
系统相关 时间:
2021-02-27 13:22:57
阅读次数:
0
CentOS7 的防火墙配置跟以前版本有很大区别,CentOS7这个版本的防火墙默认使用的是firewall,与之前的版本Centos 6.x使用iptables不一样 一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 停止防火墙 servic ...
分类:
系统相关 时间:
2021-02-27 13:22:40
阅读次数:
0
? | 导语 本文主要是讲Linux的调度系统, 由于全部内容太多,分三部分来讲,调度可以说是操作系统的灵魂,为了让CPU资源利用最大化,Linux设计了一套非常精细的调度系统,对大多数场景都进行了很多优化,系统扩展性强,我们可以根据业务模型和业务场景的特点,有针对性的去进行性能优化,在保证客户网络 ...
分类:
系统相关 时间:
2021-02-27 13:18:28
阅读次数:
0