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

How to Install & configure Xampp and WordPress in Linux?

How to setup WAMP server in Linux?

$ sudo -s
$ cd /opt/
$ yum install wget -y

# URL for right package - https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/7.4.29/

$ wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/7.4.29/xampp-linux-x64-7.4.29-1-installer.run/download

$ mv download xampp-linux-x64-7.4.29-1-installer.run

$ chmod 755 xampp-linux-x64-7.4.29-1-installer.run
$ ./xampp-linux-x64-7.4.29-1-installer.run

$ /opt/lampp/lampp status
$ /opt/lampp/lampp start
$ /opt/lampp/lampp status
$ /opt/lampp/lampp stop
$ /opt/lampp/lampp start
$ curl http://13.233.196.197/dashboard/
$ sudo -s
$ cd /opt/
$ yum install wget -y
$ wget https://www.apachefriends.org/xampp-files/8.0.0/xampp-linux-x64-8.0.0-2-installer.run
$ chmod 755 xampp-linux-x64-8.0.0-2-installer.run
$ ./xampp-linux-x64-8.0.0-2-installer.run

$ /opt/lampp/lampp status
$ /opt/lampp/lampp start
$ /opt/lampp/lampp status
$ /opt/lampp/lampp stop
$ /opt/lampp/lampp start
$ curl http://13.233.196.197/dashboard/Code language: PHP (php)

Referece:

  • https://www.apachefriends.org/index.html

How to create mysql user, database and grant a permission to a database in mysql?

$ /opt/lampp/bin/mysql -u root
CREATE DATABASE wordpress;
show databases;
CREATE USER 'wp-user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'wp-user'@'localhost';
FLUSH PRIVILEGES;
SHOW GRANTS FOR 'wp-user'@'localhost';	Code language: JavaScript (javascript)

Reference

  • https://www.digitalocean.com/community/tutorials/how-to-create-a-new-user-and-grant-permissions-in-mysql

How to setup WordPress in Xampp in Linux?

cd /opt/lampp/htdocs/
wget https://wordpress.org/latest.tar.gz
tar -zxvf latest.tar.gz
ls -la
chown -R daemon:daemon wordpress
ls -la
Reference:
- https://wordpress.org/download/#download-install

# ACCESS your Web server @ http://13.233.196.197/wordpressCode language: PHP (php)

Find Trusted Cardiac Hospitals

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

Explore Hospitals
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 worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms. I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.

Related Posts

How to Install WordPress in Windows using XAMPP?

In this article, I’m going to describe how to Install WordPress on your Local PC.  Follow this some easy step, and learn how to install WordPress on…

Read More

How to install WordPress on Windows using XAMPP? Part-1

How to install WordPress on localhost XAMPP? What is the WordPress? WordPress is a free and open-source (Content Management System) which is based on PHP and MySql….

Read More

How to Move a Live WordPress Site to Local Server

Why we are discussing on this topic because we are here to tell you when any developer of WordPress wants to test new themes, plugins, or another…

Read More

What is WordPress and How to Install it?

What is WordPress? WordPress is one of the simplest, most popular way to create your own website or blog. It is a free and open-source content management…

Read More

How to Reset or Recover Forgotten mySql root Password

To reset a forgotten MySQL or MariaDB root password, stop the server, restart it with grant checks turned off (skip-grant-tables), set a new password with ALTER USER,…

Read More

WordPress Typography Patterns: Styled Lists, Notice Boxes, and Code Blocks with Reusable CSS

This guide modernizes a legacy WordPress typography post into practical, reusable patterns for custom list markers, callout boxes, and code styling. It focuses on maintainable CSS and editor-friendly markup you can reuse across posts and documentation pages.

Read More