Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

How to install and Configure XAMPP on Ubuntu?

Steps to install XAMPP on Ubuntu Server:

1. Login to Ubuntu machine using any ssh client (like putty) or it’s great if you have a direct access to the Ubuntu machine
2. Run the below given command:
wget https://www.apachefriends.org/xampp-files/7.4.1/xampp-linux-x64-7.4.1-1-installer.run
3. Run: sudo -s
4. Run: chmod 755 xampp-linux-x64-7.4.1-1-installer.run (This will give the executable permission to the installer file that you downloaded in step 2)
5. Run: sudo ./xampp-linux-x64-7.4.1-1-installer.run (This will start the installation)

Screen captured at the time of installation:

6. Run/ Start XAMPP server
sudo /opt/lampp/lampp start
7. Now you can access the server from the browser of any machine if the IP of the Ubuntu machine is static

Screen captured while accessing the XAMPP dashboard using it’s IP addess

8. Let’s check the phpmyadmin console:

9. Let’s solve the phpmyadmin access forbidden problem now
Run vi /opt/lampp/etc/extra/httpd-xampp.conf

10. Restart XAMPP: sudo /opt/lampp/lampp restart
11. Now reload the phpmyadmin screen in the browser

12. Run: sudo /opt/lampp/xampp security

13. Restart XAMPP: sudo /opt/lampp/lampp restart
14. Let’s access phpmyadmin again and see if it is asking for the password:

Thanks for reading, I hope you enjoyed this article.



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

Top 10 AI Animation Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI animation tools are revolutionizing how creators, businesses, and educators bring stories to life, making animation accessible to all skill levels. These tools leverage…

Read More

What to choose: front-end or backend development?

Regarding web development, two main areas play a crucial role in creating a functional and visually appealing website: frontend and backend development. Frontend development focuses on the…

Read More

Top 10 Construction Management Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction Construction Management Software (CMS) has become indispensable in 2026 for efficiently handling various aspects of construction projects, ranging from budgeting, scheduling, resource allocation, project tracking, to…

Read More

Top 10 Personal Finance Software Tools in 2026: Features, Pros, Cons & Comparison

Introduction In the fast-paced world of 2026, managing personal finances efficiently is more crucial than ever. With rising inflation, economic uncertainties, and the complexity of multiple financial…

Read More

Top 10 AI Pricing Optimization Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, AI pricing optimization tools have become indispensable for businesses navigating the complexities of dynamic markets. These tools leverage artificial intelligence, machine learning, and real-time…

Read More

Top 10 On-premise Backup Tools in 2026: Features, Pros, Cons & Comparison

Introduction In 2026, on-premise backup tools are still essential for businesses that need complete control over their data security and disaster recovery plans. Unlike cloud-based solutions, on-premise…

Read More