Operating system | macOS, Windows |
---|---|
Type | Web server |
License | GNU General Public License 2.0 |
Website | www.mamp.info/en/ |
MAMP is a solution stack composed of free and open-source software running with proprietarycommercial software, to run dynamic web sites on computers running macOS or Windows. It can be used to develop web sites that use popular current technologies, on a stand-alone desktop or laptop computer without the need for a separate web server.[1]
Is there a way I can use winRM listeners to create multiple PS sessions simultaneously and then execute the same command across all of them? Popular Topics in PowerShell. Think you're an IT whiz? Try and ace our quiz! With 'invoke-command' you can just let it run on all the machines. Aug 30, 2014 Yes you can Install wamp and xampp on same machine. Basically the trick is to change the port for the wamp apache server and mysql, by default.
Specifications and uses[edit]
Operating system | Windows | macOS |
---|---|
Web server | Apache | Nginx |
Database management system | MySQL |
Web development | PHP | Perl | Python |
The name MAMP is an acronym representing the original components of the system: macOS, the operating system; Apache, the web server; MySQL, the database management system; and PHP, Perl, or Python, programming languages used for web development. The name is derived from LAMP, a similar stack of all open-source software widely used for web sites, but substituting proprietary macOS for open-source Linux. (Similar 'AMP' stacks exist for other operating systems.) MAMP is not limited to these choices of components, however; Nginx can be used in place of Apache, for example. The developers of MAMP have also ported the system to Windows (but still called MAMP).
Some of the software packages that comprise MAMP (particularly Apache and PHP) are pre-installed with macOS; compatible versions of the remainder are readily available for installation and use, which MAMP facilitates.
MAMP is commonly used with popular CMS programs such as WordPress and Drupal for setting up a local development environment.[2][3]
MAMP Pro is a commercial extension to the MAMP base package, which adds features to aid in managing the development of WordPress-based web sites, enabling simultaneous installations of multiple web sites on a single development machine, installation of other CMS packages such Joomla and MediaWiki, and other features.[4]
See also[edit]
- XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P) and works on Linux, Mac and Windows
- AMPPS stands for Apache, MySQL, MongoDB, PHP, Perl and Python and is available for Linux, Mac and Windows.
References[edit]
- ^'4 Free Local WordPress Development Environments - PCQuest'. PCQuest. 2016-04-19. Retrieved 2018-10-27.
- ^'Installing WordPress Locally on Your Mac With MAMP « WordPress Codex'. codex.wordpress.org. Retrieved 2018-10-27.
- ^'How to Develop Locally with MAMP - DrupalNerd Blog'. drupalnerd.com. Retrieved 23 September 2015.
- ^GmbH, appsolute. 'MAMP PRO'. MAMP & MAMP PRO - Your local web development solution. Retrieved 2018-10-27.
Retrieved from 'https://en.wikipedia.org/w/index.php?title=MAMP&oldid=886957603'
In this article, we will show how to run commands on multiple Linux servers at the same time. We will explain how to use some of the widely known tools designed to execute repetitive series of commands on multiple servers simultaneously. This guide is useful for system administrators who usually have to check the health of multiple Linux servers everyday.
For the purpose of this article, we assume that you already have SSH setup to access all your servers and secondly, when accessing multiple servers simultaneously, it is appropriate to set up key-based password-less SSH on all of your Linux servers. This above all enhances server security and also enables ease of access.
Read Also: How to Configure Custom SSH Connections to Simplify Remote Access
1. PSSH – Parallel SSH
Parallel-SSH is an open source, fast and easy-to-use command line based Python toolkit for executing ssh in parallel on a number of Linux systems. It contains a number of tools for various purposes such as parallel-ssh, parallel-scp, parallel-rsync, parallel-slurp and parallel-nuke (read the man page of a particular tool for more information).
To install parallel-ssh, you need to first install PIP on your Linux system.
Then install parallel-ssh using pip as follows.
Next, enter the hostnames or IP addresses of remote Linux server with SSH Port in a file called hosts (you can name it anything you want):
Save the file and close it.
Now run parallel-ssh, specify the hosts file using the
-h
option and a command(s) that will be executed on all the specified servers. The -i
flag means display std output and std error as execution of the command on each server completes.Pssh Run Commands on Multiple Linux Servers
You should also check out: How to Run Multiple Commands on Multiple Linux Servers
2. Pdsh – Parallel Remote Shell Utility
Pdsh is an open source, simple parallel remote shell tool for executing commands on multiple Linux servers at the same time. It employs a sliding window of threads to execute remote commands.
To install Pdsh on your Linux machines, run the appropriate command below.
To run commands on multiple servers, add the servers to a hosts file as explained before. Then run pdsh as shown; the flag
-w
is used to specify the hosts file, and -R
is used to specify the remote command module (available remote command modules include ssh, rsh, exec, the default is rsh).Take note of the
^
before the hosts file.In case you do not specify a remote command to be executed on the command line as shown above, pdsh runs interactively, prompting you for commands and running them when terminated with a carriage return. For more information, see the pdsh man page:
3. ClusterSSH
ClusterSSH is a command line tool for administering clusters of multiple servers at the same time. It launches an administration console and an xterm to all specified servers enabling you to run the same command on all of them.
To use clusterssh, start by installing it on your local Linux computer as shown.
Now that you have it installed, open an admin console and an xterm on remote servers at once, as follows. To run a command on all the servers, click in the xterm input bar, and type your command; to manage a single host, use its admin console.
Clusterssh – Administer Multiple SSH Sessions
For more information, see the clusterssh man page:
4. Ansible
Ansible is an open source and popular tool to automate IT processes. It is used for configuring and managing systems, deploying applications and so much more.
To install Ansible on Linux systems, run the appropriate command below:
Once you have installed ansible, you can add your server’s hostnames or IP addresses in the file /etc/anasible/hosts.
Specify them in groups, e.g webservers.
Save the file and close it.
Now to check the uptime and users connected to all the servers specified in the group webserver, in hosts config file above, simply run the ansible command line tool as follows.
The
-a
options is used to specify the arguments to pass to the module and -u
flag specifies the default username to connect to the remote servers via SSH.Note that the ansible CLI tool only allows you to execute at most only one command.
That’s all! In this article, we have explained how to run commands on multiple remote Linux servers at the same time using widely used tools. If you know of any tools out there for the same purpose, that we have not included in this article, let us know via the comment form below.