#!bin/bash#功能:使用expect工具自动交互密码,远程到其它主机,安装httpd软件#作者:liusingbon#删除~/.ssh/known-hosts后,ssh远程任何主机,系统都会询问是否确认要连接到该主机rm -rf ~/ssh/known_hosts expect <<EOF ...
分类:
其他好文 时间:
2019-06-17 21:57:47
阅读次数:
177
# Virtual hosts Include etc/extra/httpd-vhosts.conf ...
分类:
Web程序 时间:
2019-06-17 18:59:42
阅读次数:
263
1.设置selinux和YUM源vim /etc/selinux/configenforcingyum-config-manage --add-repo=http://server.group8.example.com/yum 1.设置selinux和YUM源vim /etc/selinux/con ...
分类:
其他好文 时间:
2019-06-15 13:32:06
阅读次数:
100
vim httpd.sh#!/bin/bashcase $1 in"install")DIR=/app/httpd24echo "Start install httpd ..."rpm -q gcc &> /dev/null || yum install gcc -yyum groupinstall ...
分类:
移动开发 时间:
2019-06-15 13:15:35
阅读次数:
201
统计80端口的连接数据 netstat -nat | grep -i "80" | wc -l 统计httpd协议连接数 ps -ef | grep httpd | wc -l 统计已连接的,状态为establish的 netstat -na | greo ESTABLISH | wc -l 查出那 ...
分类:
Web程序 时间:
2019-06-14 14:49:05
阅读次数:
119
2 Apache服务的访问控制 1.开启基本认证(用户密码) 需求1:单个用户访问 需求2:允许多个用户访问 2.网络访问控制 HTTP通过状态码来标记返回信息,以下为常见的状态码: ...
分类:
Web程序 时间:
2019-06-14 12:31:10
阅读次数:
128
公司两台服务器都安装了tomcat,配置apache作为负载均衡,当一台服务器出现故障时还能保证业务正常运行。 Server1:192.168.1.100 Server2:192.168.1.200 1、查询是否已经安装了apache rpm -qa | grep httpd 2、使用yum安装ap ...
分类:
Web程序 时间:
2019-06-13 15:34:14
阅读次数:
125
使用 apache搭建httpd网页文件共享服务器步骤
分类:
Web程序 时间:
2019-06-13 10:27:41
阅读次数:
370
[TOC] 框架简介 Django是一个web开发框架,用来开发web应用,本质就是, web框架+socket服务端 MVC框架和MTV框架 Django的MTV模式 WSGI(Web Server Gateway Interface 规范 wsgiref模块 Python标准库提供的独立WSGI ...
分类:
其他好文 时间:
2019-06-12 09:17:20
阅读次数:
126
httpd httpd是apache超文本传输协议的主程序,它被设计成一个独立运行的守护进程。httpd会建立一个线程池来处理http请求。 此命令的适用范围:RedHat、RHEL、Ubuntu、CentOS、SUSE、openSUSE、Fedora。 1、语法 httpd [选项] 2、参数列表 ...
分类:
Web程序 时间:
2019-06-11 09:42:32
阅读次数:
212