Up2Date – changing it so that it picks up from a local mirror site

Lots of people ask me how do I change the Up2date program on either redhat or Fedora?

So basically you edit the file called sources which is in /etc/sysconfig/rhn

There is a list of local sites for the UK which carry mirrors but the one I use is zeniiia

Just add the entries in the file above like so….

yum fedora-core-2

 http://zeniiia.linux.org.uk/pub/distributions/fedora/linux/core/2/i386/os/

 http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/

 http://mirrors.kernel.org/fedora/core/2/i386/os/

 

yum updates-released-fc2

 

 http://zeniiia.linux.org.uk/pub/distributions/fedora

/linux/core/updates/2/i386

 http://download.fedora.redhat.com/pub/fedora

/linux/core/updates/2/i386/

 http://mirrors.kernel.org/fedora/core/updates/2/i386

this will then look at the site in the uk first rather than trying to go to the main redhat site.

Hope that helps you out.

NB: without the line breaks, had to do that to fit the urls on the blog page.

Added About Me Static Page to the blog

Right have now added a static page called About Me on the site.

It was quite easy to do and just followed the instructions from the additional controls by Bill Nalen.

I will go through the steps below …. 

As Bill says there are three changes that need to be made.

  1. Create a new control, I called mine AboutMe.ascx.  This file goes in your skin controls directory.  The contents of the file should look like this (without the spaces in the tags):   < % @ Control Language="c#" AutoEventWireup="false" Inherits="Dottext.Web.UI.Controls.BaseControl" % > < P >All about me.< / P >
  2. Register your page name in the http handlers in the Web.Config file. This entry will look different depending on which defaul configuration you started with. The easiest way to make this change is to look for the Contact.aspx entry and copy it. Replace Contact.aspx with About.aspx and Contact.ascx with About.ascx. .Text will now know to put your about.ascx content into the main content section of the page.
  3. Add a link to your new page. This would usually be in the MyLink.ascx file in the skin controls directory. Again, just copy the entry for Contact and replace the contact info with the appropriate About entries.

Samba 3.0.6

Ran the up2date on one of my Fedora 2 hosting machines and saw that samba has a new release 3.0.6.

Upgraded without any problem and also the throughput from the windows machines to this little box seemed to be faster or it could just be me imagining it.

I did have an odd problem where from time to time the windows drives mounted on the linux boxes seemed to hang.  This appears at first look to have now gone away.  Also the memory seemed to clock up really fast on the older version of Samba 3.0.5 and this doesnt seem to be happening, the memory is going up like there is a leak but much slower.

My linux machine is a mini-itx v800.

 

background on Feedback and contact us

Right changed the background color on the contact and feedback boxes.

Light grey now, what do people think??  Better than the white.

Becoming quite a css wizz… 

One thing I would like is to limit the pictures in the post and gallerys to a width of 450 but if I set this via css all the images will be 450 and if they are smaller than that then they will be stretched.  Is there a trick out there to set the width if its above a certain size??

Any help is appreciated !!

My Wiki and Subtext

After much playing around I decided not use the Wiki at this point.  Its very good and I could see a use for it, if and when I start a new project it would be like a living notepad.

My initial thoughts were to have the Wiki as the main home page and the blog off of that but what I hadnt figured is the security point of view.  I noticed that Scott Water has a login page to change the stuff which doesnt seem to be there as standard in the flexwiki package, I guess once I have more time (which is never) I will investigate to see what I can do.

I also put this LuxInteriorDark skin on the site.  Looks quite nice, the links for the rss feeds werent quite right so had to sought that out, not sure if the author realises that problem or not.  That was the little xml images had the wrong links out of the install zip.

Would be interested to know what people think, perhaps some feedback on this please.

One thing I dont like is the white background’s in the contact/feedback control so will be addressing that shortly.

CodeSquared.com

Now a friend of mine has just changed his email to codesquared.com, now is there something I am missing here.  Is this a buzz word or something of the latest jargon and not being up with the latest trends dont realise the meaning of this.

If you know then let me know !!!

Time of the postings

Having just moved the blog from a subdirectory of myblog to the root of the site I have realised that I am on the wrong time zone again.

Just need to fix that up in the web.config

old config was -5 and just altered it to 0 for good old GMT.  This now means that this entry will be before the previous as the times have come back 5 hours.

times in good old GMT…

MyWiki

Got the wiki eventually up and running although I still cant amend the home page at this instance.

Basically I kept getting object reference not set then I realised that in my _ContentBaseDefinition.wiki file I still had ‘YourNameSpace’ in the file rather than replacing it with the actual namespace name ie. MyWiki

did that and it all came up.