简体   繁体   English

我应该在Windows Server 2012 R2上使用wampserver还是在服务器上安装apache,mysql等

[英]Should I use wampserver on Windows Server 2012 R2 or install apache, mysql etc. on the server

I am setting up a server for the first time ever (no prior experience) and got the static IP setup for it no problem. 我是第一次设置服务器(没有任何经验),并为此设置了静态IP。 The next step is to setup the server to have a mysql database so other local machines can connect to it. 下一步是将服务器设置为具有mysql数据库,以便其他本地计算机可以连接到该数据库。 Is it best to achieve this by installing PHP, MySQL, Apache etc. separately or to use something like wampserver? 最好是通过分别安装PHP,MySQL,Apache等或使用wampserver之类来实现此目的?

I figured wampserver would be the straightforward approach but doesn't using a virtual server on a server defeat the purpose of it? 我认为wampserver是直接的方法,但是在服务器上使用虚拟服务器不会破坏它的目的吗? Basically looking for some direction or a link here as I am completely clueless 基本上是在这里寻找方向或链接,因为我完全不知道

WAMP server basically packages those different programs together and gives you things like a program icon, a system tray icon to control servers, readymade links to say phpMyAdmin. WAMP服务器基本上将那些不同的程序打包在一起,并为您提供了诸如程序图标,用于控制服务器的系统托盘图标之类的东西,还有表示phpMyAdmin的现成链接。 The underlying servers are the same as the 'original' ones. 基础服务器与“原始”服务器相同。 As such you may find WAMP server easier to install AND easier to administer. 因此,您可能会发现WAMP服务器更易于安装且更易于管理。

Downside - the WAMP server does NOT includes latest 'originals'. 缺点-WAMP服务器不包含最新的“原件”。 They latest originals make it to WAMP server distribution with some lag. 他们最新的原件使它在WAMP服务器分发中有些滞后。 If you need latest say PHP, then better off installing them on your own. 如果您需要最新版本的PHP,最好自行安装。

WAMP server is a collection of Apache, Mysql and PHP modules. WAMP服务器是Apache,Mysql和PHP模块的集合。

WAMP server is same as having each component installed separately, WAMP服务器与单独安装每个组件相同,
however WAMP server gives you a package that is very user friendly in terms of quick shortcuts like (starting/stopping server, activating modules ans so on) which you would have to do manually (by editing config files if installed separately) 但是,WAMP服务器为您提供了一个非常用户友好的软件包,例如(启动/停止服务器,激活模块之类的)快速快捷方式,您必须手动执行(通过编辑配置文件(如果单独安装))

Pros of WAMP WAMP的优点

  • Userfriendly 方便使用的
  • Easy to activate/ desactivate modules 易于激活/取消激活模块
  • Additional features (phpmyadmin,sqlbuddy etc..) 附加功能(phpmyadmin,sqlbuddy等。)

Cons 缺点

  • Difficult to upgrade 升级困难
  • Securitiy issues 证券问题
  • Performance issues 性能问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM