centOS系统时间查看与设置
1、查看当前日期,使用date命令回车即可查看当前时间:2、使用%F格式化查看系统时间3、手动设置系统日期,设置日期如下:4、手动设置系统时间,设置时间如下:5、格式化查看系统日期:6、格式化查看系统时间:
2021-12-07 14:19
127 
Centos 7 开启端口
CentOS 7 默认没有使用iptables,所以通过编辑iptables的配置文件来开启80端口是不可以的CentOS 7 采用了 firewalld 防火墙如要查询是否开启80端口则:[root@joe-pc~
2021-12-07 14:18
142 
Linux源码包安装卸载教程 以apache httpd源码包安装为教程(APR not found
Linux源码包安装过程我们这里以安装apache httpd源码包为例1、安装准备安装c语言编辑器gcc使用yum -y install gcc即可安装下载源码包httpd源码包下载地址,我这里选择的版本是http
2021-12-07 14:18
96 
Centos7搭建Git及安装使用
一、Centos7.2 下 Git的安装1、查看是否安装了gitrpm-qa|grepgit若已经安装,需要先卸载。卸载命令如下:rpm-e--nodepsgit或者rpm-egit2、安装Gityuminstall
2021-12-07 14:18
116 
[Linux] Git: push 出错的解决 master -> master (branc
在使用Git Push代码到数据仓库时,提示如下错误:[remoterejected]master->master(branchiscurrentlycheckedout) remote:error:refusing
2021-12-07 14:18
97 
git在push的时候出现insufficient permission for adding an
错误信息:Countingobjects:9,done. Deltacompressionusingupto2threads. Compressingobjects:100%(5/5),done. Writingob
2021-12-07 14:18
96 
Linux中修改密码出现it is based on a dictionary word解决方法
用passwd修改用户密码,常常提示BAD PASSWORD: it is based on a dictionary word。实际上linux要求的密码验证机制是在/etc/login.defs中规定最小密码字符
2021-12-07 14:18
97 
Linux下查看用户列表
cat /etc/passwd 可以查看所有用户的列表w 可以查看当前活跃的用户列表cat /etc/group 查看用户组但是这样出来的结果一大堆,看起来嘿负责,于是继续google找到个简明的layout命令ca
2021-12-07 14:18
98 
T:0.008301s,M:380.79 KB
返回顶部 留言