04 2023 档案
摘要:wget https://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz mv wordpress/* /var/www/html/ systemctl restart httpd
阅读全文
摘要:卸载MariaDB rpm -qa | grep -i mariadb rpm -e --nodeps mariadb-libs-5.5.64-1.el7.x86_64 安装wget yum install -y wget 安装mysql wget https://repo.mysql.com//m
阅读全文
摘要:安装epel源 yum install epel-release -y 安装remi源 yum install https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/remi-release-7.rpm -y 安装yum-config-manage
阅读全文
摘要:备份welcome.conf mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.bak 重启apache systemctl restart httpd
阅读全文
摘要:安装firewall yum install -y firewalld 启动 systemctl start firewalld.service 设置默认启动 systemctl enable firewalld.service 开放80端口 firewall-cmd --zone=public -
阅读全文
摘要:检查是否有旧版本的apache rpm -qa | grep httpd 安装apache安装apache yum install -y httpd 检查apache是否安装成功 rpm -qa | grep httpd 启动apache systemctl start httpd 设置为默认启动
阅读全文
摘要:rpm -qa | grep httpd rpm –qa –a选项是查询所有已经安装的软件包。 -q是查询一个包是否安装 grep linux系统命令中最重要的命令之一,功能是从文本文件,或者管道数据流中筛选出匹配到的行或数据,如果再配合正则表达式,功能将十分强大
阅读全文