Difficulty: 2Time: 15 minutes Want to host websites on your server? Using Apache? Great. This article will show you how to do exactly that using Apache’s “virtual hosts.” In Apache, you can use virtual hosts to direct http traffic for a given domain…
About Virtual Hosts 虚拟主机,用于在一个单一IP地址上,运行多个域.这对那些想在一个VPS上,运行多个网站的人,尤其有用.基于用户访问的不同网站,给访问者显示不同的信息.没有限制能VPS中,添加的虚拟主机的个数. Set Up 教程中的这些步骤,需要你有root权限.你可以查看Initial Server Setup ,来学习如何设置初始化服务器.这里使用www.作为root的名字,你可以使用你想用的. 另外,你需要在你的VPS上安装并运行apache. 如果没有安装,你可以…
0. Introduction Usually, we want to build two or more websites on a web server, but we have only one IP and do not want to use ports (eg. www.abc.com:8081) to visit webpages. So, how to make www.a.com and www.b.com both point to server X.X.X.X ? 1. E…
This document describes how to install and configure Wordpress 4.0 on CentOS 7.0. WordPress started in 2003 with a single bit of code to enhance the typography of everyday writing and with fewer users than you can count on your fingers and toes. Sinc…
Getting started: A skeleton application In order to build our application, we will start with theZendSkeletonApplication available on github. Use Composer to create a new project from scratch: $ composer create-project -s dev zendframework/skeleton-a…
states tutorial, part 2 - more complex states, requisites 本教程建立在第1部分涵盖的主题上.建议您从此处开始. 在Salt States教程的最后一部分,我们简单的介绍了基本的安装一个软件包,我们现在将修改我们的webserver.sls文件以满足要求,并使用更多的Salt States call multiple states(调用多状态) You can specify multiple State declaration under…