Questions tagged [lamp]

Acronym for a development stack originally made up of Linux, Apache, MySQL and Perl/PHP/Python

LAMP is an acronym that refers to a stack of open source software used in development. The initial letters come from the following components:

  • Linux (operating system)
  • Apache HTTP Server (web server)
  • MySQL (database software)
  • Perl/PHP/Python (programming language)

Similar terms are used when on other operating systems while keeping the software suite:

  • Microsoft Windows (WAMP)
  • Mac OS (MAMP)
  • Solaris (SAMP)
  • OpenBSD (OAMP)
668 questions
5
votes
6 answers

smallest possible linux installation with apache

I want to setup a linux vm with apache and php and mysql support, which version of linux should I pick up. I dont have a good bandwidth, preferably a smaller ISO of the installer is also appreciated.
John G
  • 151
  • 1
  • 3
5
votes
3 answers

High availability MariaDB only two servers

I'm not worried about split brain since the connection between the two servers is solid (and because I don't have a third machine) I want to have some MariaDB replication with automatic failover so even if one database dies, it continues working.…
forkwasher
  • 75
  • 1
  • 4
5
votes
6 answers

What are some essential concepts I need to know as an inexperienced server administrator?

I (as this title implies) am very new to this server configuration stuff. I have recently been pushed to learn how to configure developing/production environments. My history with actual server/network configuration is limited to programming. I…
Derek Adair
  • 136
  • 1
  • 10
4
votes
2 answers

Best Practices for setting up multi-server LAMP environment

I'm looking for resources that will help me design an optimum multi-user multi-server LAMP environment. We currently have 7 servers (2 load-balanced webservers, 2 redundant clustered web-content servers, 2 redundant clustered MySQL servers, 1…
Brent
  • 22,857
  • 19
  • 70
  • 102
4
votes
1 answer

Docker: FTP/SFTP to /var/www/ in Docker Container?

I'm trying to run Docker on my VPS, to maximise the use of my server. My server mainly run LAMP stack, but I wanted to have other Docker-image based apps too. So, I did make a Docker Container with LAMP running. The question is, how do I manage to…
srakrn
  • 143
  • 1
  • 1
  • 5
4
votes
1 answer

TKLBAM backup stalling causing MySQL issues

I'm having a strange issue that I've never encountered before. I'm running a Turnkey Linux LAMP server (Debian) and it seems that my MySQL server becomes inaccessible at least once a day. I'm not sure what's causing it at all. My last few logs…
anguiac7
  • 141
  • 2
4
votes
0 answers

Three separate VMs for webserver, database, and data crunching. Good idea?

I'm writing some quantitative marketing research software, and have a bit of a "blind leading blind" situation at work. I'm not really used to writing web apps or configuring servers; most of the code I write is intended to be executed by me only,…
Escher
  • 151
  • 6
4
votes
4 answers

How hard is it to host from home?

I have always payed a company to host on dedicated servers which is really expensive, 1 of my sites has 2 servers right now, a web/http server and a seperate mysql server. What would it take for me to do this from home? I would need a LAMP setup. …
JasonDavis
  • 2,658
  • 6
  • 25
  • 32
4
votes
4 answers

Setting up dev environments with big databases

This is my first time here. I recently joined as a system admin at a company and my recent assignment is to make friendlier dev environments for our devs. Until now our devs connect to our remote box, copy the production code, do a restore of the…
Prakhar
  • 145
  • 1
  • 7
4
votes
4 answers

Linux Web Server Permissions - Best Practices

On a privately owned server with one website, is there any reason the files/directories within /var/www can't be group owned by www-data? My understanding is that security risks with www-data having write access only arise if you have multiple…
Trent Scott
  • 959
  • 1
  • 12
  • 28
4
votes
5 answers

PHP broken after upgrading to php 5.4

on an ubuntu 12.04 i have upgraded to PHP 5.4 according to this tutorial http://www.upubuntu.com/2012/03/how-to-upgrade-install-php-540-under.html But when i call php5 -v i get PHP Warning: PHP Startup: Unable to load dynamic library…
Confidence
4
votes
3 answers

Local and remote servers with different Linux distros?

I'm running a remote web server on Red Hat Enterprise Linux and want to host a local server with a copy of my LAMP web applications for in-house development. Is there any reason that I would need to run Red Hat Enterprise Linux on the local server,…
bspwjh
  • 41
  • 1
4
votes
1 answer

Apache: require basic auth, except for specific POST requests

(RHEL 6.2, Apache 2.2.1) I'm trying to get a LAMP site running behind basic auth to prevent general access (it's a testing environment for a site still in production) and I've hit a problem where the multiple file upload feature fails because it is…
DrStalker
  • 6,946
  • 24
  • 79
  • 107
4
votes
7 answers

Should databases containing customer information go in a DMZ?

We're deploying a simple newsletter webapp on a stand-alone LAMP platform in the company DMZ. There is some discussion as to whether the MySQL server should be removed from the DMZ and put in the internal network. The server is behind a firewall…
paul
  • 181
  • 1
  • 7
4
votes
2 answers

Keep LAMP server up to date and secure

As a webdeveloper I have, like many, my own VPS. However, I am a webdeveloper, not a system manager. For me it's quite challenging to install a VPS and to keep it up to date and secure. It takes me days, if not weeks, to get a server up and running.…
Tiddo
  • 1,019
  • 1
  • 9
  • 16