We continue our MySQL server setup for CentOS by looking at configuration options to try and ensure the server doesn’t just run, but runs smoothly.
Red Hat Enterprise Linux is a subscription based distribution aimed at commercial users. Slicehost offers RHEL as one of its distributions.
These RHEL tutorials take you from a 'barebones' Slice to a secure, up to date and steamingly quick Slice in very little time.
RHEL 5.4 Setup - Part 1: Your RHEL 5.4 Slice will be a bare-bones install when it's created. We need to connect via SSH and secure it as soon as possible.
RHEL 5.4 Setup - Part 2: Now that we've secured access to our RHEL 5.4 slice we can update it and get it ready for the rest of the server install.
RHEL 5.3 Setup - Part 1: Your RHEL 5.3 Slice will be a bare-bones install when it's created. We need to connect via SSH and secure it as soon as possible.
RHEL 5.3 Setup - Part 2: Now that we've secured access to our RHEL 5.3 slice we can update it and get it ready for the rest of the server install.
RHEL 5.1 Setup - Page 1: Your RHEL 5.1 Slice will be a bare-bones install. We need to connect via SSH and secure it as soon as possible.
RHEL 5.1 Setup - Page 2: Now that we have configured the Slice to be more secure with SSH keys and a basic iptables firewall, we can carry on and update the Slice to get ready for the rest of the server install.
Understanding logrotate on RHEL - part 1: 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.
Understanding logrotate on RHEL - part 2: 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.
RHEL- Shorewall installation : Although we looked at iptables in the RHEL setup articles, let's take a look at Shorewall which may make things a lot easier.
RHEL- Shorewall configuration : Now we have Shorewall installed, let's see how we can configure it t help protect our Slice.
RHEL- working with Shorewall default macros: We're ready to take a look at Shorewall's default macros - this means is looking at the rules Shorewall uses. It's easier than it sounds.
RHEL- Shorewall and custom macros: Although we have installed and configured Shorewall to use its default macros, let's take a look at opening custom ports by creating our own macros.
RHEL- Shorewall basic troubleshooting : Let's take a look at troubleshooting our shorewall installation. Although things rarely go wrong when setting up a server, you never know!
RHEL and Email:
Barebones Postfix install for RHEL: A barebones set of instructions for installing Postfix. Aimed at experienced admins who just want to set up a basic postfix install to send email from a slice.
RHEL and Apache:
Installing apache on RHEL: Installing the apache web server on an RHEL server is as simple as using the "yum" package manager.
Installing PHP on RHEL: Now that apache is running on your RHEL server you might want to add PHP support to it. Here's how.
Apache configuration files on RHEL: Let's take a look at where apache's config files wind up when installed with the RHEL package manager.
Configuring the Apache MPM on RHEL: Now that you know where the files are, let's look at how to tell apache to stay within the memory available to your RHEL server.
Apache configuration on RHEL - part 1: Your RHEL web server continues to take shape as we delve into the depths of apache's configuration options.
Apache configuration on RHEL - part 2: We continue to look at apache configuration options for your RHEL server.
Apache Virtual Hosts on RHEL - part 1: Now that apache is running and configured on your RHEL server we can add virtual hosts to let it serve more than one domain.
Apache Virtual Hosts on RHEL - part 2: With the base apache virtual host configs in place on your RHEL server, let's look at other settings you may want to apply to them.
Barebones apache install for RHEL: How to set up a basic, no-frills apache server. Recommended for experienced admins only.
Enabling and using apache's mod_status on RHEL: 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.
Installing MySQL server on RHEL: We look at installing MySQL on RHEL and getting it running with a database and a user to access it.
Configuring MySQL server on RHEL: We continue our MySQL server setup for RHEL by looking at configuration options to try and ensure the server doesn’t just run, but runs smoothly.
Basic MySQL server tasks: Even the most basic MySQL server installation for Linux will have you performing basic administrative tasks like creating users and granting permissions. We look at some of those tasks here.
Network Time Protocol
Using NTP to sync time on RHEL: Keeping your RHEL system's date and time accurate is easy to do using NTP.
RHEL and Munin:
Installing munin on RHEL: Anticipating problems and resource shortages on a slice can be more valuable than fixing them after they've happened. A monitoring tool like munin lets you watch your slice's resource use over time. The graphs will highlight issues before they cause downtime or bandwidth quota overages.
Munin configuration and testing on RHEL: This article continues the installation and setup of munin on a single slice. It explains how to determine or change the URL used to access munin's reports and then check to make sure those reports are viewable and being updated.
Installing additional munin nodes on RHEL: Following up on the article about installing a munin master slice, if you want to monitor additional slices you'll need to install a munin node service on each.
Enabling munin node plug-ins on RHEL: Munin uses plug-ins to determine what data is gathered and reported. It includes several plug-ins for the types of data most people would be interested in, but not all of those plug-ins are enabled on a fresh installation.
Using pv-grub to run custom kernels on RHEL - preparing the slice: The pv-grub kernel option allows your RHEL 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.
Using pv-grub to run custom kernels on RHEL - enabling and troubleshooting: Make the final changes to enable pv-grub for your RHEL VPS, then check the results.
Please feel free to request articles or comment with any suggestions or ideas of your own.