Gentoo

Latest Article:

Configuring MySQL server on Gentoo

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.

Configuring your Gentoo Slice is a breeze with these easy to follow articles

The Gentoo tutorials take you from a 'barebones' Slice to a secure, up to date and steamingly quick server in very little time.

Gentoo 10.1 Setup:

Gentoo 10.1 setup - part 1: Your AGentoo 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.

Gentoo 10.1 setup - part 2: 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.


Original Gentoo Setup Articles:

Gentoo setup - page 1: Your Gentoo Slice will be a bare-bones install. We need to connect via SSH and secure it as soon as possible.

Gentoo setup - page 2: Now the Slice has been secured, we can move on to configuring the emerge package manager.


Log rotation:

Understanding logrotate on Gentoo - 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 Gentoo - 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.


Advanced Portage Management:

Portage trouble shooting - masked packages: So you want to emerge (install) a package but it is masked. Let's take a look at what a masked package means and how to deal with it.

Portage Cleanup : Emerging (installing) packages can soon use a lot of disk space. Let's look at some ways we can remove unwanted files and recover some disk space.

Portage - dealing with blockers: Portage is a powerful and useful tool but it can, on occasion, throw a spanner in the works when it won't emerge a package due to 'blockers'. Let's take a look at how to deal with that.

Gentoo System Upgrade: Let's take a look at completing a system upgrade. This look at all installed packages and even checks to see if any 'USE' flags have changed.


Gentoo and Apache (newer series):

Installing apache on Gentoo: Installing the apache web server on an Gentoo server is as simple as using "emerge"".

Installing PHP on Gentoo: Now that apache is running on your Gentoo server you might want to add PHP support to it. Here's how.

Apache configuration files on Gentoo: Let's take a look at where apache's config files wind up when installed with the Gentoo package manager.


Configuring the Apache MPM on Gentoo: 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.


Apache configuration on Gentoo - part 1: Your Gentoo web server continues to take shape as we delve into the depths of apache's configuration options.

Apache configuration on Gentoo - part 2: We continue to look at apache configuration options for your Gentoo server.


Apache Virtual Hosts on Gentoo - part 1: Now that apache is running and configured on your Gentoo server we can add virtual hosts to let it serve more than one domain.

Apache Virtual Hosts on Gentoo - part 2: 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.


Barebones apache install for Gentoo: How to set up a basic, no-frills apache server. Recommended for experienced admins only.


Enabling and using apache's mod_status on Gentoo: 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.


Gentoo and Apache (original series):

Gentoo - Apache install: Installing Apache on a Gentoo Slice is simple using the 'emerge' command. Let's take a look at the basics.

Gentoo - Installing PHP : Now we have Apache installed, let's look at how simple it is to install PHP using the 'emerge' command.

Gentoo - Installing PHP Modules: So what happens if we need to extend PHP and want to install certain PHP modules? Let's take a look.


Gentoo - Apache Config Layout: Now Apache has been installed, let's take a quick look at the configuration layout for Apache on our Gentoo Slice.


Gentoo - Apache Layout #1: Once Apache has been installed, we need to understand the layout and see what the basic settings are in the main configuration file.

Gentoo - Apache Layout #2: Let's conclude our journey into Apache and take a look other items relating to the layout and see what the basic settings are in the main configuration file.


Gentoo - Apache Virtual Hosts #1: Now that we have familiarized ourselves with the Apache configuration, we can proceed with configuring the hosting of multiple sites through the use of virtual hosts.

Gentoo - Apache Virtual Hosts #2: Continuing from the previous article, we'll look in detail at some of the additional settings available to us in Apache's virtual host configuration files.


Nginx Specific:

Gentoo - Nginx Install: Using the 'Portage' package manager to install Nginx is very simple as it takes care of any dependencies and init scripts.


MySQL

Installing MySQL server on Gentoo: We look at installing MySQL on Gentoo and getting it running with a database and a user to access it.

Configuring MySQL server on Gentoo: 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.

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 Gentoo: Keeping your Gentoo system's date and time accurate is easy to do using NTP.


The Kernel

Downloading and using kernel source code (2.6.32.12 and newer) on Gentoo: If you know you need to get your kernel source (or at least its headers) for a kernel version 2.6.32.12 and newer, you can find instructions to do so on Gentoo here.


Using pv-grub to run custom kernels on Gentoo - preparing the slice: 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.

Using pv-grub to run custom kernels on Gentoo - enabling and troubleshooting: Make the final changes to enable pv-grub for your Gentoo Linux VPS, then check the results.

Please feel free to request articles or comment with any suggestions or ideas of your own.

PickledOnion