摘要:
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 设置为默认启动 阅读全文