This "How-To" will walk you through the simple process of getting your Suse Linux server (OpenSuse or SLES) up and running as a LAMP (Linux, Apache, Mysql, PHP/Perl). For the purposes of this article, we will be starting with a fresh install of Suse Linux Enterprise Server (SLES), and going from there. You may accomplish the tasks in this tutorial as part of the installation process, however we will not be covering that here.
So, let's get started! You've just finished installing a shiny new copy of Suse Linux, and you'd like to be able to do something with it. As I mentioned, we're going to walk through setting yourself up with a simple web and database server, so you can start publishing content onto the world wide web.
In Suse Linux, most of the common administrative tasks can be performed through our "YaST" tool. YaST is one of those acronymns for which Linux and open-source software are so famous. In this case it stands for "Yet Another Setup Tool". Nice, eh? YaST can be accessed by clicking on the "Computer" button in the lower left-hand corner of the desktop.
You'll see "YaST" as one of the options in the "System" section on the right-hand side of the popup menu, but don't click on it quite yet! Since the software installation process is one that is often done, we've added a link to that portion of YaST directly to the menu here. So, for now, go ahead and click on the "Install Software" link, but feel free to click on the "YaST" one later on and explore away. We'll be spending lots of time there in future tutorials. For future reference, you can find the software installation in YaST by going to the "Software" section and clicking on the "Software Management" button.
This will bring up the tool, which should look like this:
Figure 1:Software Management
Once you're in the "Software Management" application, click the dropdown box labeled "Filter:" and select "Patterns". Scroll down to the "Primary Functions" heading and select the "Web and LAMP Server".
Figure 2: Selecting the Web and LAMP Server
When you click the checkbox, you will see the packages that make up this particular pattern. You have the option to include or remove packages individually, or check the box next to the pattern name and select the whole list. As you can see, this will give you the following packages:
Unless you're constrained by space, just go ahead and install all of the packages. You can start the installation process by clicking the "Accept" button in the lower right-hand corner.
And, it's as simple as that! You are now setup with the Apache web server, which can serve out both PHP and Python scripted pages and we've installed the MySQL database as our default place to store data. At this point, you can download and follow the instructions for installing your favorite web application. Some popular open-source projects built on this LAMP stack are Wordpress, Mambo, Drupal, and thousands more.
Article ID: SLN311409
Last Date Modified: 08/14/2018 02:57 AM
Thank you for your feedback.