- 博客(6)
- 资源 (2)
- 收藏
- 关注
原创 lnmp脚本部分
自己写的shell脚本,下载地址:https://download.csdn.net/download/qq_40476230/10896709 附上部分shell代码: function nginx_install(){ #编译nginx groupadd -r www useradd -r -g www www cd /usr/local/src tar -zxvf nginx-1.14...
2019-01-05 12:52:44
239
原创 Centos7搭建redis一主多从启用哨兵
准备工作 需要准备4台配置一样的Centos7,其中作为master的IP为192.168.1.154 作为slave的IP为: 192.168.1.151 192.168.1.152 192.168.1.153 将下载的redis-4.0.6.tar.gz文件移动到/usr/local/src/目录下 编译安装redis cd /usr/local/src tar -zxvf re...
2019-01-05 12:46:16
371
原创 nginx实现目录索引
vim /data/server/nginx/conf/nginx.config location ~ ^/Installation package(/.*) { autoindex on; #开启 autoindex_localtime on; #开启显示功能 } 需要在/data/server/nginx/html目录下创建Installation pac...
2019-01-04 22:01:36
805
原创 Ntp服务
配置一个ntp客户端一个ntp服务器 安装ntp:yum –y install ntp 配置ntp配置文件 vim /etc/ntp.conf 在# the administrative functions.这句话下添加 restrict 192.168.10.134 nomodify notrap nopeer noquery 在#restrict 192.168.1.0 mask ...
2019-01-04 21:58:41
219
转载 Centos7搭建NFS挂载服务
原文地址:https://blog.csdn.net/qq389674856/article/details/83216240 服务端: 1.安装并检查nfs服务 yum install nfs-utils 2.配置共享目录 vim /etc/exports /data/opt/ 192.168.248.0/24(rw,sync,fsid=0) ...
2019-01-04 21:52:11
603
原创 FastDFS和nginx实现动态缩略
一、安装前准备 配置环境为CentOS Linux release 7.6.1810,内核为Linux version 3.10.0-957.1.3.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) group1的IP为192.168.10...
2019-01-04 21:47:27
295
自动化安装lnmp
2019-01-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人