Categories: Linux

Install apache server with php and mysql support on openSUSE12.1

We will use the easiest no frills method to do this. The inbuilt server environment of openSUSE is also very good and robust. But that requires time to properly set up and requires installation of various dependencies and php modules. To make things easier we will use the XAMPP package (xampp-linux-1.7.7.tar.gz to be precise, the latest stable version). For this we will need the XAMPP for Linux package which can be downloaded from http://www.apachefriends.org/en/xampp-linux.html. This is a standalone package which can be easily removed afterwards without harming the system.

First, download the latest stable version of XAMPP for Linux from the above website. I am using openSUSE12.1 KDE. Go to the directory using the Dolphin File Manger where the package is downloaded and then open the terminal by right clicking on an empty space in that directory, then choosing actions>open terminal here. The terminal window will open.

Type: su

Press ENTER

and then enter your root password at the prompt.

Then type: tar xvfz xampp-linux-1.7.7.tar.gz -C /opt

Press ENTER.

The above command will extract the contents of the package to the /opt directory.

Do not use any GUI tools to extract the contents of the XAMPP package. That will not be a successful install.

To Start the server, type : /opt/lampp/lampp start and Press ENTER.

Lampp will start within a few moments by starting Apache and MySQL. To stop the server; type: /opt/lampp/lampp stop

Check the working of the server by going to http://localhost in your browser. The newly installed XAMPP server has some security weaknesses. These can be fixed as follows.

 Type:/opt/lampp/lampp security and HIT ENTER.

 Follow the prompts in the terminal window (which are quite self explanatory) to fix security issues.

 Now, XAMPP is installed successfully and secured!

To remove the XAMPP simply type: rm -rf /opt/lampp and Press ENTER. XAMPP will be removed completely from the openSUSE box. 

This tutorial is made from the Guides available at http://www.apachefriends.org.

The video shows these steps in action!

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

Neel K

Neel Kalita is a hobbyist blogger with interests in technology, science and photography. He is very enthusiastic tech user and finds deep interest in tinkering with software products. He likes to take macro shots of flowers. NK designs websites as a hobby. He also finds interest in creating digital graphic designs. Professionally, he is an Analytical Chemist (involved in analysis of food and food products for quality and adulterations), in the capacity of Assistant Food Analyst, Govt. of Assam, India. His field of expertise is Milk and Milk products analysis and responsibility of Laboratory QMS as per ISO/IEC 170 25 : 2017. He holds a PhD in Chemistry and a Qualified Food Analyst (FSSAI All India Qualification). His professional involvements are analyis of foods, statistical evaluations such as calculations of Measurement Uncertainty etc.

Share
Published by
Neel K

Recent Posts

How to Install Stable Diffusion UI on Your Mac: A Simple Step-by-Step Guide

How to Install Stable Diffusion UI on Your Mac Artificial intelligence (AI) is playing a…

2 months ago

How to Summarize a PDF article using Anthropic Claude for Free

Learn how to efficiently summarize PDFs with Claude AI, the leading AI-powered PDF summarization tool…

3 months ago

Gamma AI: The Ultimate AI-Powered Presentation Tool you should Use TODAY

Making beautiful and engaging presentations is sometimes not easy. But with Gamma, a web app…

5 months ago

Rode NT-USB Mini: Compact Size, Big Studio Sound

Are you looking for a compact, versatile, and surprisingly powerful microphone to enhance your podcasts,…

9 months ago

Revolutionizing Live Production: Blackmagic ATEM Mini Pro

In today's fast paced digital age, content creators and live streamers are constantly seeking innovative…

1 year ago

GoPro Hero 12 Black launched Globally

GoPro Hero Availability GoPro has launched its latest action camera, the Hero 12 Black, Globally…

1 year ago

This website uses cookies.