Gentoo Virtual Dedicated Servers

I am going to use this wiki to document the process I used to set-up a Host Virtual server runnung Gentoo Linux.

Gentoo Image

Virtual Server Provisioning

rc-update show

rc-update show

             apache2 |      default                  
            bootmisc | boot                          
             checkfs | boot                          
           checkroot | boot                          
               clock | boot                          
         consolefont | boot                          
     courier-authlib |      default                  
       courier-imapd |      default                  
            hostname | boot                          
            iptables |      default                  
             keymaps | boot                          
               local |      default nonetwork        
          localmount | boot                          
             modules | boot                          
               mysql |      default                  
            net.eth0 |      default                  
              net.lo | boot                          
            netmount |      default                  
             postfix |      default                  
           rmnologin | boot                          
               spamd |      default                  
                sshd |      default                  
           syslog-ng |      default                  
             urandom | boot                          
          vixie-cron |      default         

Apache2

[ebuild   R   ] www-servers/apache-2.2.14-r1  USE="ldap ssl -debug -doc (-selinux) -static 
-suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm 
authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner 
authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter 
file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation 
rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest 
-authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy 
-proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" 
APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB

PHP

/etc/conf.d/apache2

APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5"

MySQL

Gentoo MySQL Guide

DokuWiki

I followed their install guide. I install any dependencies with portage.

DokuWiki

iptables

postfix

main.cf

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = //usr/lib64/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = nooone.info
$myorigin = $myhostname
$myorigin = $mydomain
inet_interfaces = all
mydestination = /etc/postfix/mydestination
unknown_local_recipient_reject_code = 550
mynetworks_style = host
home_mailbox = .maildir/
mail_spool_directory = /var/mail
debug_peer_level = 2
debug_peer_list = 127.0.0.1
debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
setgid_group = postdrop
html_directory = /usr/share/doc/postfix-2.6.5/html
manpage_directory = /usr/share/man
sample_directory = /etc/postfix
readme_directory = /usr/share/doc/postfix-2.6.5/readme

mutt

Spamassassin

/etc/postfix/master.cf

spamassassin unix - n n - - pipe user=nobody argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
 
start.txt · Last modified: 2010/02/21 16:53 by dabbott
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki