We continue our MySQL server setup for Gentoo by looking at configuration options to try and ensure the server doesn’t just run, but runs smoothly.
We look at installing MySQL on Gentoo and getting it running with a database and a user to access it.
Apache's mod_status module allows it to display a web page containing statistics about the web server's current state, including worker processes and active connections.
This article describes how to install an apache web server on Gentoo with no extras. It's intended only for users who are experienced administrators or who just want a basic web server install with no details on including modules like PHP or customizing apache for their site.
With the base apache virtual host configs in place on your Gentoo server, let's look at other settings you may want to apply to them.
Now that apache is running and configured on your Gentoo server we can add virtual hosts to let it serve more than one domain.
We continue to look at apache configuration options for your Gentoo server.
Your Gentoo web server continues to take shape as we delve into the depths of apache's configuration options.
Now that you know where the files are, let's look at how to tell apache to stay within the memory available to your Gentoo server.
Let's take a look at where apache's config files wind up when installed with the Gentoo package manager.
Now that apache is running on your Gentoo server you might want to add PHP support to it. Here's how.
Installing the apache web server on a Gentoo server is as simple as using "emerge".
Now that we've secured access to your Gentoo 10.1 slice we can update it and get it ready for the rest of the server install.
Your Gentoo 10.1 Slice will be a bare-bones install when it's created. We need to connect via SSH and secure it as soon as possible.
Keeping your Gentoo system's date and time accurate is easy to do using NTP.
Make the final changes to enable pv-grub for your Gentoo Linux VPS, then check the results.
The pv-grub kernel option allows your Gentoo slice to boot from your own kernel instead of one of ours. Before you can try it out you need to prepare the slice with some config changes.
In this second part of the logrotate series we look at how to set up rotation for virtual host logs, as well as some troubleshooting techniques.
It's no fun when log files grow out of control. In this two-part series, learn how to use logrotate to keep those logs in check.
If you know you need to get your kernel source (or at least its headers) for a kernel version 184.108.40.206 and newer, you can find instructions to do so on Gentoo here.
Nginx is a lightweight web server, popular with those who don't need the extra services that Apache offers and are looking for less bulky alternatives.
This article will look at installing Nginx on a Gentoo slice.
Continuing from Gentoo - Apache Virtual Hosts #1, we'll look in detail at some of the additional settings available to us in Apache's virtual host configuration files.
Familiarity with these settings will allow us to exercise better control over the domains we're serving.
Now that we have Apache installed and running, we can configure it to serve multiple domains using Virtual Hosts.
Do note the layout used in these articles is explained here — feel free to use the directories of your choice.
Gentoo uses a different configuration layout for Apache than other systems. It also provides some great tools for editing your configuration.
In this article we’ll get an overview of how Gentoo organises Apache’s configuration files; this will help later with knowing where to look when we want to change certain settings.
Continuing from the first Gentoo Apache configuration article, we’ll now look at some of the other settings in the main configuration files and what they can do.
Concentrating on efficiency and security, this will end our Apache configuration journey (for now).
As we know from the previous article, Gentoo uses a different layout from other systems - let's move on and take a look at the principal files.
We're not actually going to change a lot at this point, just look at the main settings and see what they mean and what a change will actually do.
In this article we'll look at using Gentoo's powerful package system to install external PHP modules, which are required by most modern PHP applications.
In this article we’ll cover installing PHP and give an example set of USE flags to get started with.
Now that our slice is set up the way we want it, we can start installing our web server software.
In this article we'll, prepare the system for installing Apache, install it, and see how to make it start automatically every time the Slice is rebooted.
Gentoo’s update system is more flowing than a lot of other Linux distros. It’s up to you how often you’d like to do system maintenance; personally I like to do weekly or monthly updates so it doesn’t become too big of a job in the future.
We discussed a basic system upgrade in page two of the slice set up articles. The deep upgrade looks at all packages on the system and can re-emerge packages affected by changes to global USE flags.
The portage software management system is an extremely powerful program.
Because of the complexity of its job, sometimes it doesn’t work quite how we’d expect.
One particular problem is packages blocking other packages from installing.
This article gives some tips on saving disk space and keeping your emerge system tidy.
When a package is masked, it means you have to explicitly alter some configuration files to emerge it.
Usually packages are masked because they’re not considered stable enough for the standard Gentoo environment. This can be because they just need more testing, or they’re incompatible with another package, or there may be something seriously wrong with the package itself.
In this article we’ll see how we can access these packages.
In page 1 of the Gentoo Slice setup article we completed the ssh configuration along with a basic iptables install.
Now we’ll configure the gentoo ebuild system and get our Slice up to date.
These Gentoo articles will take you from a ‘barebones’ Gentoo Slice to a secured and up to date Slice ready for your server software (or whatever you use the Slice for).
Securing your Slice as soon as possible is a great way of starting your Slice administration.