准备 LAMP 环境 1.安装 Apache2 安装好后,您可以通过访问服务器IP地址 x.x.x.x 查看到 “it works” 界面,说明 apache2 安装成功。 2 .安装 PHP 组件 3 . 安装 php 相关组件: 4 . 安装 MySQL 服务 安装 MySQL 过程中,控制台会 ...
分类:
系统相关 时间:
2018-07-20 14:04:14
阅读次数:
186
Ubuntu 12.04 之 虚拟主机的配置 (1)打开etc/hosts文件 增加: 127.0.0.1 study.ubuntu.com 127.0.0.1 hello.ubuntu.com 127.0.0.1 test.ubuntu.com (2)建立三个项目目录 sudo mkdir -p ...
分类:
系统相关 时间:
2018-07-19 17:24:45
阅读次数:
163
Whatisdocker?Docker最初是由dotCloud公司,发起的一个公司内部项目,它是基于dotCloud公司多年云服务技术的一次革新,并于2013年3月以Apache2.0授权协议开源,全部开源代码均在https://github.com/docker/docker上进行维护。现在主流的linux系统都已经支持docker。例如:redhatRHEL6.5/Centos6.5以上的操作
分类:
其他好文 时间:
2018-07-19 13:45:40
阅读次数:
194
requests Python标准库中提供了:urllib、urllib2、httplib等模块以供Http请求,但是,它的 API 太渣了。它是为另一个时代、另一个互联网所创建的。它需要巨量的工作,甚至包括各种方法覆盖,来完成最简单的任务。 Requests 是使用 Apache2 License ...
分类:
其他好文 时间:
2018-07-18 23:20:02
阅读次数:
133
安装 index.html curl http://127.0.0.1/ 可以访问 index.html 配置Apache环境 修改apache2.conf 省略部分代码 curl http://127.0.0.1/ 可以本地访问 curl http://公网IP/ 可以公网访问 此处需要注意 阿里 ...
分类:
Web程序 时间:
2018-07-18 01:13:54
阅读次数:
336
配置虚拟主机 1.配置httpd.conf D:\wamp\bin\apache\apache2.4.17\conf 1).开启重写模块 LoadModule rewrite_module modules/mod_rewrite.so 2). 访问权限 允许所有访问 AllowOverride al ...
分类:
其他好文 时间:
2018-07-17 18:03:45
阅读次数:
168
一、SaltStack 原理: 1、SaltStack 也是基于CS模式的主控master和client被控端 minion 结构;也是一个异构平台基础设置管理工具;遵守Apache2协议,完全开源。 2、通过ZeroMQ消息队列通信、用Python写成的批量管理工具,远程执行命令。 3、Minio ...
分类:
其他好文 时间:
2018-07-14 16:26:08
阅读次数:
133
在apache的httpd.conf文件中第283行位置<IfModuledir_module>DirectoryIndexindex.html</IfModule>写入index.php即为:<IfModuledir_module>DirectoryIndexindex.htmlindex.php</IfModule>
分类:
Web程序 时间:
2018-07-08 23:41:04
阅读次数:
303
apache2.4Youdon‘thavepermissiontoaccess/onthisserver.在配置完apache2.4conf/extra/httpd-vhosts.conf添加完虚拟主机后以及本地windows/system32/drivers/etc/host.conf进行域名解析后去到Apacheconf/httpd.conf大概是231行的位置修改<Direct
分类:
数据库 时间:
2018-07-08 20:37:58
阅读次数:
213
准备 LAMP 环境 LAMP 是 Linux、Apache、MySQL 和 PHP 的缩写,是 Discuz 论坛系统依赖的基础运行环境。我们先来准备 LAMP 环境: 安装 Apache2 ubuntu 需要安装 Apache2 ,使用 apt-get 安装 Apache2: sudo apt- ...
分类:
Web程序 时间:
2018-07-08 01:06:34
阅读次数:
200