环境:192.168.1.128? mini2Lepus安装需要Lamp环境安装LAMP:关闭selinux[root@mini2 ~]# vim /etc/selinux/config?SELINUX=disabled[root@mini2 ~]# setenforce 0[root@mini2 ~]# yum install -y httpd php mariadb mar
分类:
数据库 时间:
2018-08-13 23:46:47
阅读次数:
331
环境说明: 操作系统:CentOS Linux release 7.5.1804 (Core) LDAP:2.4.44 前提条件: 关闭防火墙、selinux,同时进行时钟同步。 其中XXX需要用域名进行替换,例如example.com,则需要将xxx修改为example. 1、安装软件。 2、生成 ...
分类:
其他好文 时间:
2018-08-13 20:51:19
阅读次数:
202
一、简介1、mkdir用来创建目录。语法:mkdir[选项][参数]2、touch用来创建文件。语法:touch[选项][参数]二、常用选项1、mkdir-Z:设置安全上下文,用SELinux时有效;-m<目标属性>:建立目录的同时设置目录的权限;-p:连同父目录一起建立;-v:显示创建过程详细信息;--version显示版本信息;--help查看帮助选项;2、touch-a:更改文件
分类:
系统相关 时间:
2018-08-13 12:13:47
阅读次数:
275
简单优化 关闭firewalld: 临时关闭防火墙:systemctl stop firewalld 修改配置文件设置开机不启动:systemctl disable firewalld selinux : 临时关闭:setenforec 0 永久关闭:vi /etc/selinux/config 修 ...
分类:
系统相关 时间:
2018-08-12 20:13:58
阅读次数:
272
一.准备工作OS:centos7.4Zabbix version:3.4.6(2018/1/15日上线的新版本)Database:MariaDB关闭防火墙:systemctl stop firewalld防火墙开机不自启:systemctl disable firewalld关闭selinux:临时 ...
分类:
其他好文 时间:
2018-08-12 17:30:02
阅读次数:
202
部署服务的一般步骤: 1.准备环境 关闭防火墙: service iptables stop(chkconfig iptables off) 关闭selinux: setenforce 0(/etc/sysconfig/selinux -> selinux=disabled) 配置IP地址 2.安装 ...
分类:
Web程序 时间:
2018-08-12 15:36:49
阅读次数:
240
暂时关闭 iptables 防火墙 暂时关闭 firewall 防火墙 暂时关闭 selinux 安装软件包 查看配置文件 ServerRoot 为配置文件根目录 Listen 为 apache 服务监听的端口 Include 为包含的配置文件 DocumentRoot 为网站根目录 Errorlo ...
分类:
Web程序 时间:
2018-08-12 15:36:04
阅读次数:
163
因为公司业务需求,可能涉及到更改ssh远程的端口号,用下面方法轻松解决,废话不多说! 1.打开ssh端口配置文件:vim /etc/ssh/sshd_config,找到如下图所示的端口,改为自己想改的端口,也可以同时打开多个端口: 2.需要关闭SELinux,打开配置文件:vim /etc/seli ...
分类:
系统相关 时间:
2018-08-10 15:57:51
阅读次数:
174
编译安装httpd-2.4‘准备环境,将防火墙和selinux‘[root@yaoxiaorong~]#setenforce0[root@yaoxiaorong~]#systemctlstopfirewalld‘安装开发环境‘[root@yaoxiaorong~]#yumgroupsmarkinstall"DevelopmentTools"Loadedplugins:fastestmirrorRe
分类:
Web程序 时间:
2018-08-10 01:22:31
阅读次数:
218
环境:VMware下centos7 使用软件包:eclipse-jee-neon-1a-linux-gtk-x86_64.tar.gz 和 Python-3.6.1.tar.xz 如有需要的朋友可以从网盘中下载软件包 链接:https://pan.baidu.com/s/1hm7nYKWThCydZ ...
分类:
编程语言 时间:
2018-08-09 21:11:28
阅读次数:
200