Join Chaim Krause for an in-depth discussion in this video Apache, part of SUSE Linux Enterprise Server Essential Training.
- [Instructor] Let's take a look at setting up a network service. This time, I'm going to set up an HTTP server. Now I'm going to do this from the perspective of an administrator setting this up, at it's bare minimum, for another administrator to take over and handle the specifics. So let's get started. By default, the HTTP server, that SUSE Linux Enterprise Server uses, is the apache2. So let's install that package. And let's make this bigger, so we got more screen to work with.
Okay, we've downloaded the package and installed it. What it's asking us now is, these are the various IP addresses that are on the interfaces, which ones do we want to listen on? So we may want to listen on just local host, and let's say, on 192. The default is Port 80. And we're going to say, next. Now, it asks us which of these scripting modules do we want to add? This could be left up to your administrator.
But you may know ahead of time and you may enable, say for example, PHP5 and Perl. What we're seeing now, are the defaults that Apache comes with, in terms of providing directories for storing your documents, which is your Document Root and other pieces of configuration information that are necessary to get the server up and running. We'll go with those, if you want to, if you know you've got something you need to add, it's as simple as clicking on the Add button, choosing what you want to add, out of the big list, and you can add it that way.
Now Virtual Hosts. I would leave this up to your web administrator, because they can make these Virtual Hosts just as easy as you can and set them up. But to step you through, you simply fill out a form, filling out a server name, the root directory, and the administrator email. And then you click on Next. So we're going to back out of this. And move to the next. So this is a Summary of what we have, we're going to be listening on the various different interfaces at port 80 which is the default.
And we can choose to have Apache start, when we boot. Instead of manually. Let's go ahead and click on Finish. Because we chose to add PHP scripting support and Perl scripting support it is now going to install those modules. And we should have the server up and running. So now that we've installed it, let's check on it and make sure it's running. I've opened up the terminal here, and let's check on the status. So system control, status, and we see that Apache web server is loaded and active.
Now we can't test it with a browser now because there are no pages installed to test with. We will leave that up to our web administrator.
- What is SUSE Linux Enterprise?
- Installing SLES
- Linux file types
- Working at the command line
- Managing processes
- Working with background processes
- Managing users and groups
- Changing file permissions
- Configuring network interfaces
- Displaying hardware information
- Managing drivers