Join Scott Simpson for an in-depth discussion in this video What you should know, part of Linux: Web Services.
- [Instructor] In this course I expect that you're familiar with basic internet terminology and concepts like sever, browser, URL and so on. If you're not familiar with these concepts take a look at Computer Science Principles: The Internet. This isn't a web design course, so I don't expect that you have any experience making or building websites. It may be helpful to be a little bit familiar with HTML though if you want to make some changes along the way. HTML Essential Training is a great place to start if you want to explore HTML and front end web topics.
We'll be installing software, copying files and modifying configuration files, so you should be somewhat familiar with using the command line. If you're new to that you may want to check out Learn the Linux Command Line: The Basics to get a more solid foundation if you're new to that sort of thing. This course covers configuring the Apache web server on CentOS. The way Apache works on Debian derived systems like Ubuntu is different and I'll note what you should see there as we come to differences. But because it's pretty customized we won't go into a lot of detail there.
Throughout the course I'll be using a CentOS server with a public IP address on DigitalOcean, a cloud provider. If you want to setup a cloud server on a service like DigitalOcean, you only need the smallest offering, which, when I'm recording this is about five dollars a month. There are other providers, too, like SoftLayer or Linode. For a little more money and with a little bit more setup. I wouldn't recommend following along with a cloud platform like Amazon Web Services, Azure or Google Cloud Platform unless you're familiar with how to get shell access on an instance there.
That's definitely outside the scope of this course. Here I want to focus on the fundamentals that will apply to a basic environment. You can follow along on a virtual machine as well or a desktop or a laptop running CentOS. But of course, the parts where you need a domain name won't work the same way. If you want to get up and running at no cost I'd recommend installing CentOS and Virtual Box with a bridge network connection. Or a NAT connection if you're familiar with how to forward ports from the virtual machine to the host machine. I can't go through all the platform specific setup for all of these services in this course, so be sure to check out our courses about them if you need more information.
In particular, take a look at Up and Running with CentOS Linux. As with any learning situation, make sure you're not effecting production systems as you make changes. And be sure to consider security implications of working outside a dedicated learning environment or sandbox.
- Starting up and shutting down a web service
- Configuring logging on Apache
- Adding modules to extend Apache
- Using virtual hosts
- Securing access with SSL
- Adding an SSL certificate to your site
- Protecting a site with .htaccess files