Life in code, apps and OS's

Archive for December 2006

Well I managed to post on Christmas Day and thought that I would write my last post of the year 2006 with only 10 mins to go until the new year! ๐Ÿ™‚

ย Happy new year all! – All the best for 2007! ๐Ÿ™‚

Advertisements

ย While looking for a great way of Creating a ChangeLog automatically from CVS I found this on a Debian Administration site, Its awesome, This tool enables you to quickly create a ChangeLog via the UNIX command shell.

Check this out ๐Ÿ™‚

This is how it can be done!

http://www.debian-administration.org/articles/194

This infomation was obtained from this page: http://www.debian-administration.org/articles/186ย – I intend to take NO credit for this infomation im just making it more widely avaliable ๐Ÿ™‚

Once you have the CVS server up and running you need to add a new system account with no shell for the anonymous user.

The following command will do that:

useradd -s /bin/false anonymous

The next step is to configure the anonymous user to be a valid user with no password for CVS logins. This involves adding a line to a file passwd beneath your CVSROOT directory.

My CVS repository is located in /home/cvs, so for me the command is:

echo “anonymous:” >> /home/cvs/CVSROOT/passwd

Then to make sure this is only used for read-only access add the anonymous user to the file readers in the same directory

echo “anonymous” >> /home/cvs/CVSROOT/readers

This should be sufficient to allow the anonymous user to login and checkout code without being able to modify anything.

The syntax for the client would be:

skx@mystery:/tmp$ cvs -d :pserver:anonymous@hostname:/home/cvs login
Logging in to :pserver:anonymous@hostname:2401/home/cvs
CVS password:ย  [Enter here = blank password]
skx@mystery:/tmp$ cvs -d :pserver:anonymous@hostname:/home/cvs co module

The anonymous client will now be able to keep up to date with the codebase and not be able to modify anything upon the server. Attempting to commit a local change will result in the following error message:

cvs [server aborted]: “commit” requires write access to the repository
cvs commit: saving log message in /tmp/cvsXXX

Below is ONLY for reference purposes!

The code which runs this site is available online, and can now be checked out anonymously if you wish:

cvs -d :pserver:anonymous@cvsrepository.org:/home/cvs login
cvs -d :pserver:anonymous@cvsrepository.org:/home/cvs co yawns

Please remember that I did not write this tutorial or responsable for any errors etc. The original documentation can be found here: http://www.debian-administration.org/articles/186

A month or so back I wrote a tutorial on how to install a CVS Server on Ubuntu Linux Server. The tutorial can be found here: https://bobbyallen.wordpress.com/2006/11/06/building-a-cvs-server-on-ubuntu-606-server/

ย I have now succesfully installed my CVS Server onto my Project Webserver ‘uk.homeunix.org’, The CVS Server is now fully operational and is working like a dream.

A few things you may want to know…

CVS Server uses port# 2401 (TCP & UDP)

A good Windows CVS Client is TortiseCVS and can be found here: http://www.tortoisecvs.org/

Im using CVS nicely now, Im very happy with it. My next step is to install a PHP CVS Viewer for Apache so that I can enable uses of Iguana Server Stats to browse the CVS tree.

The new site look is awesome, Our site ‘iguana.org.uk’ uses CMSimple for its CMS system. Yesterday I created an awesome template which is to replace the old style. I have posted some screenshots of before and after the new site design.

The old design:-
Free Image Hosting at www.ImageShack.us Free Image Hosting at www.ImageShack.us
The new design:-
Free Image Hosting at www.ImageShack.us Free Image Hosting at www.ImageShack.us

I hope you all love the new design as much as I do ๐Ÿ™‚

Today I have been working on the new site design for my Linux/UNIX Server Stats project ‘Iguana Server Stats’ and am now pleased to annouce the ‘go live’, The site now poses a richer more liquid style to the site. I am very happy with the new design, All feel free to go and take a look!…

ย http://iguana.org.uk

I would like to wish everyone a very merry christmas and a happy new year. I have already opened all my presents (well a few more to come ๐Ÿ™‚ ) I got a load of Bench(tm) cloths from my girlfriend, Some Lonsdale boxser shorts and cheque from my mum, A YSL jumper from my brother, Clarkson’s – The big, the fat and the ugly DVD from my nanna. ๐Ÿ™‚ย  – Was really happy with all my presents so thanks to all! ๐Ÿ™‚

Now getting ready to go round to Nikki’s mum and dads for the day and get some nice food and hopefully have an awesome day. To all… Hope you all enjoy your day.

Happy Christmas!



  • How To Dyndns Ubuntu | Order Goods: […] DynDNS Client Setup on Ubuntu | Life in code, apps and OS’s โ€“ May 18, 2008  · 7 Responses to "DynDNS Client Setu
  • lizrandolph10886: Wonderful article! We are linking to this particularly great post on our website.nKeep up the great writing. Click
  • waseem Ahmad: Dear. i have a separate application server and a separate mysql database server. when i want to access the application server to login from the local