【linux】虚拟机安装centos后ping ip地址出现错误:Network is unreac
方案一:进入/etc/sysconfig/network-scripts/ 查看这下面的文件每个人的这个文件有所不一样,但前辍是一样的,vi ifcfg-ens33将ONBOOT=no 改成ONBOOT= yes重启
2021-12-07 14:19
128 
CentOS 7 的防火墙开启 http 80 端口
接下来通过以下命令开放 http 80 端口:firewall-cmd --add-service=http --permanentfirewall-cmd --add-port=80/tcp --permanent
2021-12-07 14:19
109 
centOS系统时间查看与设置
1、查看当前日期,使用date命令回车即可查看当前时间:2、使用%F格式化查看系统时间3、手动设置系统日期,设置日期如下:4、手动设置系统时间,设置时间如下:5、格式化查看系统日期:6、格式化查看系统时间:
2021-12-07 14:19
143 
Centos 7 开启端口
CentOS 7 默认没有使用iptables,所以通过编辑iptables的配置文件来开启80端口是不可以的CentOS 7 采用了 firewalld 防火墙如要查询是否开启80端口则:[root@joe-pc~
2021-12-07 14:18
160 
Linux源码包安装卸载教程 以apache httpd源码包安装为教程(APR not found
Linux源码包安装过程我们这里以安装apache httpd源码包为例1、安装准备安装c语言编辑器gcc使用yum -y install gcc即可安装下载源码包httpd源码包下载地址,我这里选择的版本是http
2021-12-07 14:18
110 
Centos7搭建Git及安装使用
一、Centos7.2 下 Git的安装1、查看是否安装了gitrpm-qa|grepgit若已经安装,需要先卸载。卸载命令如下:rpm-e--nodepsgit或者rpm-egit2、安装Gityuminstall
2021-12-07 14:18
148 
[Linux] Git: push 出错的解决 master -> master (branc
在使用Git Push代码到数据仓库时,提示如下错误:[remoterejected]master->master(branchiscurrentlycheckedout) remote:error:refusing
2021-12-07 14:18
111 
git在push的时候出现insufficient permission for adding an
错误信息:Countingobjects:9,done. Deltacompressionusingupto2threads. Compressingobjects:100%(5/5),done. Writingob
2021-12-07 14:18
112 
返回顶部 留言