会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
dancing_cat
博客园
首页
新随笔
联系
订阅
管理
2023年4月17日
安装wordpress
摘要: wget https://wordpress.org/latest.tar.gz tar -xzvf latest.tar.gz mv wordpress/* /var/www/html/ systemctl restart httpd
阅读全文
posted @ 2023-04-17 00:00 na1ve
阅读(34)
评论(0)
推荐(0)
2023年4月16日
安装mysql
摘要: 卸载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
阅读全文
posted @ 2023-04-16 23:24 na1ve
阅读(27)
评论(0)
推荐(0)
remi源安装php
摘要: 安装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
阅读全文
posted @ 2023-04-16 21:52 na1ve
阅读(231)
评论(0)
推荐(0)
修改apache默认界面
摘要: 备份welcome.conf mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.conf.bak 重启apache systemctl restart httpd
阅读全文
posted @ 2023-04-16 21:15 na1ve
阅读(89)
评论(0)
推荐(0)
apache 安装及配置 firewall
摘要: 安装firewall yum install -y firewalld 启动 systemctl start firewalld.service 设置默认启动 systemctl enable firewalld.service 开放80端口 firewall-cmd --zone=public -
阅读全文
posted @ 2023-04-16 21:10 na1ve
阅读(26)
评论(0)
推荐(0)
安装apache
摘要: 检查是否有旧版本的apache rpm -qa | grep httpd 安装apache安装apache yum install -y httpd 检查apache是否安装成功 rpm -qa | grep httpd 启动apache systemctl start httpd 设置为默认启动
阅读全文
posted @ 2023-04-16 20:57 na1ve
阅读(17)
评论(0)
推荐(0)
2023年4月8日
查找已安装软件
摘要: rpm -qa | grep httpd rpm –qa –a选项是查询所有已经安装的软件包。 -q是查询一个包是否安装 grep linux系统命令中最重要的命令之一,功能是从文本文件,或者管道数据流中筛选出匹配到的行或数据,如果再配合正则表达式,功能将十分强大
阅读全文
posted @ 2023-04-08 01:42 na1ve
阅读(250)
评论(0)
推荐(0)
查看centos系统版本
摘要: cat /etc/centos-release
阅读全文
posted @ 2023-04-08 01:00 na1ve
阅读(22)
评论(0)
推荐(0)
公告