MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Preparing steps for LAMP Installation

  • Apache install on Centos 7
  • MYSQL(MariaDB) install on Centos 7
  • PHP install on Centos 7

Apache install on Centos 7

  • Check OS version

# cat /etc/*release

  • Install apache

# yum install httpd httpd-devel

  • Start Service

# systemctl start httpd
# systemctl status httpd

  • Test URL

Browse for http://ip-address from web client system and same system

  • Add firewall rules

# Firewall-cmd –add-port=80/tcp –permanent
# Firewall-cmd –add-port=80/udp –permanent

MYSQL(MariaDB) install on Centos 7

  • Install MYSQL(MariaDB)

# yum install mariadb-server mariadb
# systemctl start mariadb

  • Make you MYSQL secure

# mysql_secure_installation
# systemctl restart mariadb

Connect to your MYSQL and set remote access to Remote IP

# mysql -u root -p
Enter password:
mysql>GRANT ALL ON . to root@’ip-addr’ IDENTIFIED BY ‘root’;
mysql>FLUSH PRIVILEGES; mysql>exit

PHP install on Centos 7

  • Install PHP

# yum install php php-mysql

  • Create test PHP file and restart Apache

# vi /var/www/html/info.php

<?php
phpinfo();
?>Code language: HTML, XML (xml)

# systemctl restart httpd

Verify config changes in Apache

  • Change 1: New file “php.conf” in /etc/httpd/conf.d/
  • Change 2: New file “10-php.conf” in /etc/httpd/conf.modules.d/
  • Change 3: New file “libphp5.so” in /etc/httpd/modules

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
MotoShare.in is your go-to platform for adventure and exploration. Rent premium bikes for epic journeys or simple scooters for your daily errands—all with the MotoShare.in advantage of affordability and ease.

Related Posts

Install and Configure Gerrit on CentOS and Ubuntu (MySQL + Apache Reverse Proxy)

A practical, step-by-step guide to installing Gerrit for code review on CentOS/RHEL and Ubuntu/Debian. Includes package command comparisons, setup workflow, Apache proxy configuration, and verification checks.

Read More

Icinga: How to Install Icinga 2 on Ubuntu

Prerequisites Step 1. Update the System Before we start to install the software, we need to update the system packages to the latest versions available. $ sudo…

Read More

List of Compreshive Checklist to do Security Audit in XAMPP server

Conducting a security audit on a XAMPP server is crucial, especially if you’re considering moving a local development environment to a production setting. XAMPP is primarily designed…

Read More

How to install MySql and MaridaDb in Centos/RHEL?

Rajesh Kumar I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have…

Read More

How to install & configure Apache HTTPD server in Linux?

Install & configure Apache HTTPD server in Ubuntu? Install & configure Apache HTTPD server in Centos/Redhat 7? Rajesh Kumar I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud,…

Read More

Installation Of Apache HTTP Web Server

How many ways you can install Apache? Installation Types1.Yum Based2.RPM Based3.Source code/ Tar ball Based Apache install on Centos 7 (Yum Base) 1.Check OS version # cat…

Read More