NFS shares (Samba alternative)

June 27, 2007

Situation
Basics
yum install portmap nfslock nfs

Setup of the Server Machine
Create a mount point for the directory to be mounted somewhere convenient :mkdir /s_drive
and into /etc/fstab :/mnt/seagate250/server /s_drive none bind [...]

Comments Off

DNSmasq – quick and dirty DNS for LAN

June 27, 2007
Tags: , ,

The Situation
Simple network within the company :

Fortinet NAT/router
Windows XP clients around room
Linux server (serving via Samba, potentially NFS)

I just want to name a few machines, to avoid typing in IPs all the time.
On the Server machine
# yum remove caching-nameserver# yum install dnsmasqEdit /etc/dnsmasq.conf, enable :domain-neededbogus-privlocal=/fscapital/ # For LAN addresses like server.fscapitalcache-size=1500resolv-file=/etc/resolv-tw.conf # [...]

Comments Off

Fedora Core 7 Upgrade Problems

June 17, 2007
Tags: , ,

Upgrading FC6 -> F7 is not painless at all (whereas FC5 -> FC6 was a breeze). The things that needed sorting out were :

Samba shares no longer work – not sure why. Quickest to rebuild /etc/samba/smb.conf rather than sort it out properly.
xorg.conf file fails (causing even greeter login to fail). Probably due [...]

Comments Off

Samba on Fedora Core 7

June 16, 2007
Tags: , , ,

Somehow, configuration files on FC6 no longer work on F7.
Seems best to scrap it all and use the
system-config-samba
tool to build it all again.
This sucks.

Comments Off

phpMyAdmin Fedora layout fix

June 13, 2007
Tags: , ,

Because Fedora expects Apache to be running as
root:apache
, the default session information directory for php has the wrong permissions if it’s running as (say)
someone:nobody
. This disturbs the layout of the phpMyAdmin.
The fix :
# chown :nobody /var/lib/php/session/

Comments Off

Fedora 7 Upgrade for Dell Dimension 2400

June 10, 2007

Situation
This machine previously had FC6 (upgraded FC1 -> FC2 -> FC3 -> FC4 -> FC5 -> FC6).However, the machine can’t boot from USB.
Solution suggested elsewhere :

Download ISO (F-7-i386-DVD.iso) via bittorrent
Copy ISO into /root/Fedora7/
mount the ISO via loopback :

cp the isolinux/vmlinuz and isolinux/initrd.img file from the iso to the /boot partition
update the grub.conf so that [...]

Comments Off