Search the web and do something for my favouritest local charity.

Life Tribe Kidz Klub Coventry!

Powered by Everyclick

Thanks!

I had to enable quota support to my hard disk mounts on one of my new Plesk boxes today. This lets Plesk manage how much space is given to whomever… very necessary for a virtual hosting box.

I found these instructions on the Plesk forum, but not all in one place, hence…

Add ‘usrquota’ to the options in fstab. Mine looked like this before and after…
before
/dev/md0 / ext3 defaults 1 1

after
/dev/md0 / ext3 defaults,usrquota 1 1

Then run these to get quotas working…
# mount -o remount /
# quotaoff -av
# quotacheck -avum
# quotaon -av

..and that should be you good to go.

These are some notes on the path I’m walking from Windows to Linux.

I’m trying to replace my development environment which to date has mostly been in Dreamweaver. Eclipse is a strong contender for usurping it.. even though I have Dreamweaver 8 working on Fedora using Wine. You can mostly blame this on CakePHP and the desire to see code completion relevant to the object orientated approach of development I now follow.

Some useful links:

http://download.eclipse.org/dsdp/tm/updates/

http://bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake

http://alexle.net/archives/138

http://www.howtoforge.com/apache_subversion_repository_p2

http://subclipse.tigris.org/install.html

In the event that Linux has a rare turn and decides to crash on you, you might want the machine to reboot if at all possible. The following will give you that ability. It should probably be paired with dumping any crash info out to a network server (hence the long pause - 300 secs), but very useful in any event for remote webservers.

Add the following entries to your sysctl.conf…

# vi /etc/sysctl.conf

kernel.panic_on_oops = 1
kernel.panic = 300

Then run these commands as root to enable these changes without needing to reboot:
# sysctl -w kernel.panic_on_oops=1
# sysctl -w kernel.panic=300

I’m more seriously investigating the feasability of moving my main desktop environment to Linux.
I’ve just found a package of fonts vital for the web that has brought me one step closer.

It contains Verdana, Tahoma, Times New Roman, Arial, Trebuchet, Comic Sans, Impact and others

http://avi.alkalay.net/software/webcore-fonts/

Reference:
http://www.linux.com/base/ldp/howto/Font-HOWTO/fonts.html

Next Page »