1. 备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2. 下载新的 CentOS-Base.repo 到 /etc/yum.repos.d/ CentOS 6 wget -O /etc ...
                            
                            
                                分类:
其他好文   时间:
2021-01-01 12:02:48   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                #yum -y install httpd apache安装完成后,默认为stop状态 httpd服务状态的查看、停止、启动、重启、开机启动 #systemctl status|start|stop|restart|enable httpd.service 浏览器-localhost可以查看是否安装 ...
                            
                            
                                分类:
Web程序   时间:
2021-01-01 12:02:31   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                centos linux 对ntfs的支持,需要第三方软件源epel 使用阿里源 ,根据help进行配置 #wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo #yum install ntfs- ...
                            
                            
                                分类:
Web程序   时间:
2021-01-01 11:44:57   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    恢复内容开始 kickstart 通过网络安装系统 pxe kickstart,cobbler pex 预启动执行环境 通过网络接口启动计算机,不依赖于本地存储设备,硬盘 c/s ip,udp,dhcp,tftp pxelinux.0文件 kickstart作 ks.cfg 主机名 root密码 网 ...
                            
                            
                                分类:
其他好文   时间:
2020-12-31 12:35:50   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    # 一、下载CentOS镜像1. https://www.centos.org/ 注意是org结尾,不是com结尾2. 选择iso镜像![image.png](http://192.168.75.137:8090/upload/2020/12/image-2bae7d7c12e0490cb32972 ...
                            
                            
                                分类:
系统相关   时间:
2020-12-31 12:28:14   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    1、安装ntpdate,执行以下命令 # 安装utpdate命令 yum install ntpdate -y 2、手工同步网络时间,执行以下命令,将从time.nist.gov同步时间 ntpdate 0.asia.pool.ntp.org 若上面的时间服务器不可用,也可以选择以下服务器同步时间  ...
                            
                            
                                分类:
系统相关   时间:
2020-12-31 12:13:31   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    记录redhat服务器yum和wget不能使用的解决办法 1.先检查以下我们的linux系统环境,看看是不是Redhat7的版本 cat /etc/redhat-release 检查系统中是否安装了yum以及安装了哪些包。 rpm -qa |grep yum 3.删除redhat系统中自带的yum包 ...
                            
                            
                                分类:
其他好文   时间:
2020-12-31 11:49:01   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    crontab命令与配置 防止忘记,这里记录一下定时任务crontab的一些命令 crontab基本操作 1.安装crontabs服务 yum install crontabs 2.设置开机自启 systemctl enable crond 3.运行服务 systemctl start crond  ...
                            
                            
                                分类:
系统相关   时间:
2020-12-30 11:31:39   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                
                    1、有一个阿里云服务器 2、安装宝塔linux: yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh 3、下载wordpress:官网下载https:/ ...
                            
                            
                                分类:
其他好文   时间:
2020-12-30 11:30:02   
                                阅读次数:
0
                             
                         
                    
                        
                            
                            
                                状态管理-salt安装apache 编辑主配置文件,定义几个环境。 vim /etc/salt/master file_roots: base: - /srv/salt/base dev: - /srv/salt/dev test: - /srv/salt/test prod: - /srv/sal ...
                            
                            
                                分类:
其他好文   时间:
2020-12-30 11:27:09   
                                阅读次数:
0