看下下面的apache的一个配置,具体代码如下: <Directory /> Order allow,deny #1 Allow from all #2 deny from 192.9.200.69 #3 </Directory> Allow和Deny哟关于apache的conf文件或者htacce ...
分类:
数据库 时间:
2020-07-04 15:18:53
阅读次数:
76
https://www.jianshu.com/p/dbc585a35061 系统版本:CentOS7.6; 基于LAMP环境安装 一、环境配置 1、安装环境 [root@jiahao ~]# yum install -y httpd mariadb-server mariadb php php-m ...
分类:
其他好文 时间:
2020-07-04 15:07:12
阅读次数:
75
一、基本操作 1、开启防火墙 service firewalld start 2、关闭防火墙 service firewalld stop 3、重启防火墙 service firewalld restart 二、查看: 1、查看防火墙状态 systemctl status firewalld 2、查 ...
分类:
其他好文 时间:
2020-07-04 13:40:47
阅读次数:
55
1.centos7永久修改主机名命令:hostnamectl set-hostname mylinuxops.com centos6永久修改主机名第一步:vi /etc/sysconfig/network NETWORKING=yes HOSTNAME=mylinuxops.com 第二步:vi / ...
分类:
其他好文 时间:
2020-07-04 13:12:56
阅读次数:
69
系统版本为:Linux localhost.localdomain 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux 一,准备篇 1、配置防火墙,开启80端口、3306端口 ...
分类:
数据库 时间:
2020-07-04 01:42:36
阅读次数:
113
CentOS7中把之前默认的数据库MySQL替换成了Mariadb,而Mariadb仅仅是MySQL的一个分支,但对于需要使用MySQL的开发人员来说,这是时就需要在系统中安装MySQL数据库,话不多说,直接开整。一、MySQL的下载①、先下载mysql源安装包(Yum Repository)wge... ...
分类:
数据库 时间:
2020-07-03 19:43:40
阅读次数:
69
一、安装过程 1、下载源码包 下载地址:https://www.python.org/downloads/source/ 或:https://www.python.org/ftp/python/ 2、解压安装包,以python 3.7.8为例 [root@localhost ~]# ll Pytho ...
分类:
编程语言 时间:
2020-07-03 17:06:22
阅读次数:
66
1官网下载: https://www.mongodb.com/download-center/community 2上传至目录 /opt/mongoDb 下 3解压 tar zxvf mongodb-linux-x86_64-4.0.5.tgz 4添加配置文件 vim /opt/mongoDB/mo ...
分类:
数据库 时间:
2020-07-03 15:45:40
阅读次数:
56
常用命令介绍 firewall-cmd --state ##查看防火墙状态,是否是running firewall-cmd --reload ##重新载入配置,比如添加规则之后,需要执行此命令 firewall-cmd --get-zones ##列出支持的zone firewall-cmd --g ...
分类:
其他好文 时间:
2020-07-03 12:56:53
阅读次数:
68
源码安装 php # yum install epel-release # rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm # 先安装下依赖 yum install -y wget gcc gcc-c++ autoc ...
分类:
Web程序 时间:
2020-07-03 12:25:34
阅读次数:
56