ChoGall server

Information on my custom desktop/server, ChoGall

Hardware Model
Notes
Motherboard Asus A8N32-SLI Deluxe nForce4 SLI Athlon 64(FX)/Athlon 64 X2/Sempron Skt939 DDR ATX Motherboard w/Audio, Dual Gigabit LAN, RAID/Serial ATA  
Processor AMD Athlon 64 X2 4400+ Socket 939  
Memory Corsair TWINX2048-3500LLPRO 2GB Kit DDR433 XMS3500 ProSeries  
Graphics EVGA E-GeForce 7900 GT 256-P2-N560-AX Upgraded though the Step-Up program from a 7800 GT
Hard Drive Western Digital Caviar SE16 WD4000KD 400GB Serial ATA 7200RPM Hard Drive w/16MB Buffer  
Hard Drive Western Digital Caviar SE16 WD4000KD 400GB Serial ATA 7200RPM Hard Drive w/16MB Buffer  
Keyboard Logitech Cordless Desktop MX 3100  
Mouse Logitech Cordless Desktop MX 3100  
Case Antec P180
 
Power Supply Antec Neo Power 500 Replacement from an Antec Phantom 500
CD/DVD Drive NONE  

Below is a table of linux information for the server (kernel modules, etc).

NIC 1 Marvell Yukon 2 / SysKonnect - SKY2
NIC 2 Nvidia
USB OHCI HCD (USB1)
Sound Nvidia/AMD AC97
SATA 1 Nvidia SATA support
SATA 2  

In order to install OSes without a CD/DVD drive, I use unetbootin.  An external USB DVD drive was originally used to install Linux.

  • The iso had to be installed to the local harddrive (I could not get a usb key to work, possibly due to incorrect bootloader configuration settings).  Also, it should be installed to a partition separate from the future root install partition (you can't formart and reinstall to a partition that the iso is on).
  • The following changes were made to the grub.conf file so that unetbootin would boot correctly.
    • Change the path for root.  It was 14,19 but needed to be 0,0.
    • The kernel image path was incorrect.  It needed to be /gentoo.efimg.mountPoint/gentoo.
    • The root path needed to be /dev/sda? (not sda1)

The first harddrive is split up for a root (/) partition and a swap partition.  The rest of the space on this drive is an LVM2 partition for /home/samba.  The second harddrive is also part of this LVM2 partition. 

  • This LVM partition (samba) is auto detected when reinstalling Gentoo (execute vgs or vgdisplay).
  • In order to mount the LVM partition, the mount path must exist (/home/samba must already exist).

/etc/make.conf
/etc/make.profile
/etc/locale.gen
/etc/localtime
/etc/fstab
/etc/conf.d/hostname
rc-update
/etc/hosts
/etc/rc.conf
/etc/conf.d/keymaps
/etc/conf.d/clock
/boot/grub/grub.conf
system logger
cron

Kernel Options

Samba - Information on configuring samba

  • Set USE flags (/etc/portage/package.keywords)

-ads -async -cups -doc -ldap -oav -quotas (-selinux) -swat -windbin
ads = Active directory support, I don't use (and don't need as far as I know).
async = could improve network speed (but increases cpu usage possibly), must update smb.conf to take advantage (aio read/write)
ldap = LDAP (Lightweight Directory Access Protocol, I don't use
oav = OpenAntiVirus, I don't need this
quotas = user quotas, I don't use quotas
swat = GUI smb.conf configuration tool, not needed, write it by hand
winbind = helps integrate samba into existing NT architectures, which I don't need

 

  • Emerge samba
  • Execute - rc-update add samba default
  • Update /etc/samba/smb.conf
  • Try to start samba - /etc/init.d/samba start
  • Check logs for errors (/var/log/samba/* and /var/log/samba3/*)
  • If needed, make dirs
  • If needed, add users to /etc/passwd (copy "nobody" and change to guest)
  • If needed, add users to samba - smbpasswd -a jake , smbpasswd -a guest
  • Run - testparm