#创建httpd仓库步骤1.配置本地yum源此步骤略2.搭建http启动服务[root@linfan~]#yuminstall-yhttpd[root@linfan~]#systemctlstarthttpd[root@linfan~]#ps-ef|grephttpdroot22321018:53?00:00:00/usr/sbin/httpd-DFOREGROUNDapache223322320
分类:
Web程序 时间:
2018-07-13 19:39:23
阅读次数:
186
一:linux网络相关ifconfig命令,如果没有,用下列命令安装一下yuminstall-ynet-tools如果想禁用一个网卡:ifdownens33启用网卡ifupens33重启网卡ifdownens33&&ifupens33设定虚拟网卡ens33:0cd/etc/sysconfig/network-scripts/cpifcfg-ens33ifcfg-ens33\:0vi
分类:
Web程序 时间:
2018-07-13 01:26:24
阅读次数:
227
Centos6.9中将openssh升级到到7.5一.安装编译工具包和telnet服务:安装telnet服务的目的是防止后期ssh服务连不上,跑机房。#yuminstall-ygccgcc-c++perlzlib-develpampam-develtcp_wrappers-devel#yum-yinstalltelnet-server*telnet编辑/etc/xinetd.d/telnet文件,
分类:
其他好文 时间:
2018-07-12 16:31:24
阅读次数:
192
LVS-master:192.168.254.134LVS-backup:192.168.254.135LVS-VIP:192.168.254.88nginx+tomcat:192.168.254.131nginx+tomcat:192.168.254.132nginx+tomcat:192.168.254.133(根据需求可以添加多个)安装基础包yuminstall-ygcc-c++pcrepc
分类:
Web程序 时间:
2018-07-07 20:35:04
阅读次数:
258
实验环境rhel6.5:注意配置yum源server6172.25.35.7LoadBalanceserver8172.25.35.8Realserver1server9172.25.35.9Realserver2[root@server6~]#yuminstall-yipcsadm[root@server6~]#ipvsadm-LIPVirtualServerversion1.2.1(size=
分类:
其他好文 时间:
2018-07-05 23:42:01
阅读次数:
279
编译安装ApacheHTTPServer2.4.23以及配置HTTP/HTTPS反向代理一,依赖软件:1.1GCC和C++编译器GCCC++Compiler1.1.1如果没有安装以上依赖包请执行以下命令安装:[root@xxx~]#yuminstall-ygccgcc-c++1.1.2如果已经安装其中一个,可以单独执行以下命令安装其中一个:[root@xxx~]#yuminstall-ygcc[r
分类:
Web程序 时间:
2018-07-05 11:03:04
阅读次数:
379
1、下载源码包#wgethttps://cdn.mysql.com//Downloads/MySQL-5.7/mysql-boost-5.7.17.tar.gz2、进入解压目录cdmysql-5.7.173、安装相关依赖[root@safehourse69mysql-5.7.17]#yuminstall-ycmakegcc-c++*makencurses-devel2、4、创建mysql运行用户[
分类:
数据库 时间:
2018-07-05 11:02:40
阅读次数:
878
CentOS下安装nagios详细攻略一、安装环境1.CentOS6.564位2.nagios-4.3.23.nagios-plugins-2.2.1二、安装步骤1.suroot#切换到root用户2.yuminstall-ygccglibcglibc-commongdgd-develxinetdopenssl-develhttpdphpunzipperlvim/etc/selinux/confi
分类:
移动开发 时间:
2018-07-05 11:02:28
阅读次数:
225
构建PHP运行环境在搭建PHP的前提把Apache,MySQL搭建完成。安装PHP软件包(手工编译安装)1:安装GD库和GD库关联程序//用来处理和生成图片//[root@localhostlamp]#yuminstall\>libjpeg-devel\>libpng-devel\>freetype-devel\>zlib-devel\>gettext-devel\&
分类:
Web程序 时间:
2018-07-05 10:59:29
阅读次数:
194
负载均衡器:nginx/haproxy/lvs/F5代理:正向代理:帮助客户端缓存服务器上的数据反向代理:帮助服务器缓存数据HAProxy:1、安装[root@vh04bin]#yuminstall-yhaproxy2、修改配置文件[root@vh04bin]#vim/etc/haproxy/haproxy.cfg把#mainfrontendwhichproxystothebackends后面部分
分类:
其他好文 时间:
2018-06-28 17:34:03
阅读次数:
186