LAMP installations (Linux + Apache + MySQL + PHP/Perl/Python) are a popular setup for Ubuntu servers. There is a plethora of Open Source applications written using the LAMP application stack. Some popular LAMP applications are Wiki’s, Content Management Systems, and Management Software such as phpMyAdmin.
One advantage of LAMP is the substantial flexibility for different database, web server, and scripting languages. Popular substitutes for MySQL include PostgreSQL and SQLite. Python, Perl, and Ruby are also frequently used instead of PHP. While Nginx, Cherokee and Lighttpd can replace Apache.
- Nov 06, 2018 MAMP is a free, downloadable web development application that can be installed on a macOS or Windows operating system. The program gives you local access to an Apache server, which is a web server software that bridges the gap between PHP and web browsers. MAMP is free and simple to download.
- Mar 26, 2014 LAMP stands for Linux Apache MariaDB/MySQL/MongoDB and PHP/perl/Python. And it's a stack of open source solutions, suitable for building websites, that can be installed on any linux distro. Perhaps someone has built a distro only for that purpose, but the concept is for any linux distribution.
The fastest way to get started is to install LAMP using tasksel. Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system. To install a LAMP server:
At a terminal prompt enter the following command:
After installing it you’ll be able to install most LAMP applications in this way:
Download an archive containing the application source files.
Unpack the archive, usually in a directory accessible to a web server.
Depending on where the source was extracted, configure a web server to serve the files.
Configure the application to connect to the database.
Run a script, or browse to a page of the application, to install the database needed by the application.
Once the steps above, or similar steps, are completed you are ready to begin using the application.
MAMP is a free, local server environment that can be installed under macOS and Windows with just a few clicks. MAMP provides them with all the tools they need to run WordPress on their desktop PC for testing or development purposes, for example. You can even easily test your projects on mobile devices.
A disadvantage of using this approach is that the application files are not placed in the file system in a standard way, which can cause confusion as to where the application is installed. Another larger disadvantage is updating the application. When a new version is released, the same process used to install the application is needed to apply updates.
Fortunately, a number of LAMP applications are already packaged for Ubuntu, and are available for installation in the same way as non-LAMP applications. Depending on the application some extra configuration and setup steps may be needed, however.
This section covers how to install some LAMP applications.
phpMyAdmin is a LAMP application specifically written for administering MySQL servers. Written in PHP, and accessed through a web browser, phpMyAdmin provides a graphical interface for database administration tasks.
Installation
Before installing phpMyAdmin you will need access to a MySQL database either on the same host as that phpMyAdmin is installed on, or on a host accessible over the network. For more information see MySQL documentation. From a terminal prompt enter:
At the prompt choose which web server to be configured for phpMyAdmin. The rest of this section will use Apache2 for the web server.
In a browser go to http://servername/phpmyadmin
, replacing servername with the server’s actual hostname. At the login, page enter root for the username, or another MySQL user, if you have any setup, and enter the MySQL user’s password.
Once logged in you can reset the root password if needed, create users, create/destroy databases and tables, etc.
Configuration
The configuration files for phpMyAdmin are located in /etc/phpmyadmin
. The main configuration file is /etc/phpmyadmin/config.inc.php
. This file contains configuration options that apply globally to phpMyAdmin.
To use phpMyAdmin to administer a MySQL database hosted on another server, adjust the following in /etc/phpmyadmin/config.inc.php
:
Note
Replace db_server with the actual remote database server name or IP address. Also, be sure that the phpMyAdmin host has permissions to access the remote database.
Once configured, log out of phpMyAdmin and back in, and you should be accessing the new server.
The config.header.inc.php
and config.footer.inc.php
files in /etc/phpmyadmin
directory are used to add a HTML header and footer to phpMyAdmin.
Another important configuration file is /etc/phpmyadmin/apache.conf
, this file is symlinked to /etc/apache2/conf-available/phpmyadmin.conf
, and, once enabled, is used to configure Apache2 to serve the phpMyAdmin site. The file contains directives for loading PHP, directory permissions, etc. From a terminal type:
For more information on configuring Apache2 see this documentation.
References
The phpMyAdmin documentation comes installed with the package and can be accessed from the phpMyAdmin Documentation link (a question mark with a box around it) under the phpMyAdmin logo. The official docs can also be access on the phpMyAdmin site.
Another resource is the phpMyAdmin Ubuntu Wiki page.
Wordpress is a blog tool, publishing platform and CMS implemented in PHP and licensed under the GNU GPLv2.
Installation
To install WordPress, run the following comand in the command prompt:
You should also install apache2 web server and mysql server. For installing apache2 web server, please refer to Apache2 documentation. For installing mysql server, please refer to MySQL documentation.
Configuration
For configuring your first WordPress application, configure an apache site. Open /etc/apache2/sites-available/wordpress.conf
and write the following lines:
Enable this new WordPress site
Once you configure the apache2 web server and make it ready for your WordPress application, you should restart it. You can run the following command to restart the apache2 web server:
To facilitate multiple WordPress installations, the name of this configuration file is based on the Host header of the HTTP request. This means that you can have a configuration per VirtualHost by simply matching the hostname portion of this configuration with your Apache Virtual Host. e.g. /etc/wordpress/config-10.211.55.50.php, /etc/wordpress/config-hostalias1.php, etc. These instructions assume you can access Apache via the localhost hostname (perhaps by using an ssh tunnel) if not, replace /etc/wordpress/config-localhost.php with /etc/wordpress/config-NAME_OF_YOUR_VIRTUAL_HOST.php.
Once the configuration file is written, it is up to you to choose a convention for username and password to mysql for each WordPress database instance. This documentation shows only one, localhost, example.
Now configure WordPress to use a mysql database. Open /etc/wordpress/config-localhost.php
file and write the following lines:
Now create this mysql database. Open a temporary file with mysql commands wordpress.sql
and write the following lines:
Execute these commands.
Your new WordPress can now be configured by visiting http://localhost/blog/wp-admin/install.php. (Or http://NAME_OF_YOUR_VIRTUAL_HOST/blog/wp-admin/install.php if your server has no GUI and you are completing WordPress configuration via a web browser running on another computer.) Fill out the Site Title, username, password, and E-mail and click Install WordPress.
Note the generated password (if applicable) and click the login password. Your WordPress is now ready for use.
References
Last updated 1 year, 20 days ago. Help improve this document in the forum.
A web server that includes Apache and MySQL distributions, providing developers with a reliable testing tool they can count on anytime
Note: You can also install MAMP Pro by checking the corresponding box during setup.
MAMP is an open-source web server that includes Apache and MySQL distributions, providing developers with basic tools for creating, testing and managing web apps or webpages.
Apache, PHP and MySQL in a single package
Similar to other applications in its category, it enables you to install Apache, PHP and MySQL without a lot of effort. These three major components that are at the heart of a website are deployed without having to go through tedious setup and configuration processes for each. MAMP takes care of it all, enabling even beginner developers to have their web server up and running in no time.
Its interface consists of a simple window where the status of the Apache and MySQL servers is displayed, alongside options to access the localhost and stop the servers.
Open-source Apache distribution with MySQL support
Thanks to its intuitive options, it's easy to start and stop the servers, change the used ports, choose the PHP distribution version and cache, or manage the web server. In other words, MAMP is, in itself, a comfortable way to test webpages and web apps locally, without actually accessing the Internet.
You can manage MySQL databases and run SQL statements via PHPMyAdmin while the PHP distribution make it possible for web developers to create their websites.
Unlike its open-source competitors, MAMP is rather poor as far as the range of installed components is concerned. It only offers basic web server components (Apache, PHP, PHPMyAdmin) using MySQL as the main database system. There is no support for other types of databases (such as SQLite) and no support for XCache, Python, Perl, Xdebug, XDC, SQLBuddy, or Apache Tomcat. Nevertheless, some of these components are included in MAMP Pro.
Basic website testing and server managing tools
MAMP deploys a basic toolset for required in website maintenance and testing. While installing each component individually would take a considerable amount of time, deploying them all at once in the MAMP package is quick and easy. However, the lack of support for more advanced components places it far behind its direct competitors, even though some are available in the Pro edition.
Filed under
MAMP was reviewed by Mihaela Teodorovici- MAMP can be used at no cost
- MAMP PRO: 14 days trial
- 2GB RAM
- Available HDD space for installation: 2GB
Mamp For Ubuntu Free
- Components
- Apache: 2.2.31
- Nginx 1.13.1
MAMP 4.2.0
add to watchlistsend us an updateMamp For Ubuntu Usb
Mamp For Ubuntu Mac
- runs on:
- Windows 10
Windows 8
Windows 7 - file size:
- 458 MB
- filename:
- MAMP_MAMP_PRO_4.2.0.exe
- main category:
- Internet
- developer:
- visit homepage
Mamp For Ubuntu Free
top alternatives FREE
Mamp For Ubuntu Mac
top alternatives PAID