码迷,mamicode.com
首页 >  
搜索关键字:centos7 rhel7    ( 15465个结果
CentOS7 firewall-cmd 防火墙 命令备忘 批量开放端口
Centos6 使用的是iptables,Centos7 使用的是filewall(-cmd)iptables 用于过滤数据包,属于网络层防火墙。firewall 能够允许哪些服务可用,那些端口可用...属于更高一层的防火墙。 1.firewalld的基本使用启动: systemctl start ...
分类:其他好文   时间:2021-04-26 13:32:00    阅读次数:0
centos7国内镜像安装最新版mysql
说明: a.此种方式安装可以利用国内镜像,下载速度快。 b.适合最新版安装 1.获取yum安装地址 [root@bigdata-senior02 mysql]# wget https://mirrors.tuna.tsinghua.edu.cn/mysql/yum/mysql80-community ...
分类:数据库   时间:2021-04-26 13:12:57    阅读次数:0
Centos7 yum命令异常报错Could not retrieve mirrorlist http://mirrorlist.centos.org
Loaded plugins: fastestmirror, langpacks Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock error w ...
分类:Web程序   时间:2021-04-24 13:53:03    阅读次数:0
linux系统中awk命令 正则匹配
1、测试数据 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e g x g e w 2、打印匹配w的行 [root@centos7 test3]# cat b.txt e t s e s g m x w d g i d t e ...
分类:系统相关   时间:2021-04-24 13:18:10    阅读次数:0
linux shell while循环
1、测试1 [root@centos7 test2]# i=0 [root@centos7 test2]# max=5 [root@centos7 test2]# while((i<max));do echo $i;((i++));done 0 1 2 3 4 ...
分类:系统相关   时间:2021-04-23 12:03:54    阅读次数:0
linux shell if语句
1、测试1 [root@centos7 test2]# ls a.txt [root@centos7 test2]# if [ -e a.txt ]; then echo "exist";else echo "no nxist"; fi exist [root@centos7 test2]# if ...
分类:系统相关   时间:2021-04-23 11:53:02    阅读次数:0
linux shell脚本中流程控制语句 if 、for、while、case
linux shell脚本中流程控制语句 if、for、while、case 1、if语句 [root@centos7 test2]# ls test.sh [root@centos7 test2]# pwd /home/test2 [root@centos7 test2]# cat test.sh ...
分类:系统相关   时间:2021-04-22 16:20:40    阅读次数:0
rhel | centos7上配置python3环境和pip
这个东西折腾了一天,在rhel7上死活pip不能用,网上找了各种方法,基本都是垃圾文章,在无数次试验后,终于这篇文章成功装上了 rhel红帽时面对企业的,centos是基于redhat重新编译后的开源免费版,网上找不到适用rhel的很多东西和操作,以后还是用centos吧,两个差不多 centos7 ...
分类:编程语言   时间:2021-04-22 16:07:34    阅读次数:0
linux 系统中read命令
1、read从键盘读入 [root@centos7 test]# echo $a [root@centos7 test]# read a 123456 [root@centos7 test]# echo $a 123456 2、-p 参数 加入提示 [root@centos7 test]# unse ...
分类:系统相关   时间:2021-04-22 15:41:37    阅读次数:0
Centos7重新分配分区
Centos7重新分配分区 新装的系统安装时没有自定义分区,导致home的空间太大,但是home使用的并不多,所以打算重新规划分区: 1、查看分区 # df -h 2、卸载/home分区 # umount /home 如果出现 home 存在进程,使用 fuser -m -v -i -k /home ...
分类:其他好文   时间:2021-04-22 15:32:12    阅读次数:0
15465条   上一页 1 ... 10 11 12 13 14 ... 1547 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!