PDA

View Full Version : How to configure Lamp Server?



HosTechS
03-06-2018, 01:19 AM
How to configure Lamp Server on CentOS and RHEL?

What's your experience?

paullimo
03-06-2018, 04:00 AM
The acronym usually refers to a Linux-based operating system, the Apache web server, the MySQL database server, and the PHP programming language.

smmexpertss
03-17-2018, 04:31 AM
LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the virtual private server is already running Ubuntu, the linux part is taken care of. Here is how to install the rest.Set Up
The steps in this tutorial require the user to have root privileges on your VPS. You can see how to set that up in the Initial Server Setup in steps 3 and 4.

Step 1: Install Apache
Apache is a free open source software which runs over 50% of the world’s web servers.

To install apache, open terminal and type in these commands:

sudo apt-get update
sudo apt-get install apache2
That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. http://12.34.56.789). The page should display the words “It works!" like this.

How to Find your Server’s IP address
You can run the following command to reveal your server’s IP address.

ifconfig eth0 | grep inet | awk '{ print $2 }'