Setting up NTPD on Gentoo

Add the use flags to /etc/portage/package.use:

# echo "net-misc/ntp caps" >> /etc/portage/package.use
# emerge -av net-misc/ntp

Find a time server that's closest to you, you can find a list of servers here. Once you find a server that you want to use, add it to your /etc/ntpd.conf file

To set the time server when the system shuts down, modify the /etc/conf.d/clock file:

Plesk open_basedir

PHP's open_basedir limits a script's ability to open files to specified directories.  This setting can only be modified within an httpd.conf file or in the php.ini.

When specifying more than one directory to be accessible by php scripts, use a semicolon for Windows, and a colon for all other systems. It's also important to note that directories within the open_basedir are actually prefixes and not a directory name. For example:

Plesk User Quota

In order to get quota's within Plesk working correctly, you will not only need to download the quota package, but you will need to modify the fstab and run quota.

Gnome Applications Menu Disappears

Not many people have this issues, but I've have had this happen to me 4 times already and each time I forget what file I need to restore from. This issue usually happens when I update gnome in Gentoo. 

When the applications menu becomes empty all you need to do is:

# cd /etc/xdg/menus
# cp cp


Then BAM! We're back in business. 

Plesk Postgresql Support

Installing Postgresql and having Plesk recognize it as a valid database option is almost as easy as installing it outside Plesk but with one additional step. You have to tell plesk postgresql is installed on the server.

# yum install postgresql postgresql-server 

After yum downloads and installs the server you have to start the service:

Apache Error Documents

Setting Error Documents:

ErrorDocument 400 /bad_request.html

ErrorDocument 401 /unauthorized.html

ErrorDocument 403 /forbidden.html

ErrorDocument 404 /not_found.html

ErrorDocument 405 /method_not_allowed.html

ErrorDocument 406 /not_acceptable.html

ErrorDocument 407 /proxy_authentication_required.html

ErrorDocument 408 /request_timeout.html

ErrorDocument 409 /conflict.html

ErrorDocument 410 /gone.html

ErrorDocument 411 /length_required.html

ErrorDocument 412 /precondition_failed.html